![]() ![]() ' stdout. Set WshShell = WScript.CreateObject("WScript.Shell")Ĭmd = "cmd.exe /c echo " & keys & " | clip" There you have to choose the online mode. You have two options that display on your screen before processing the activation method. Keys = "Windows: " & winKey & " / " & "Office 2010 " & officeBit & ": " & officeKey Steps to Activate Microsoft Office 2010 using Product Key After you get your product key, you need to enter your key when the options display on your screen. ' Set fso = CreateObject ("Scripting.FileSystemObject") ' Wscript.Echo Err.Number & " - " & Err.Description OfficeKey = ConvertToKey(WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Registration\\DigitalProductId"), "Office2010") WinKey = ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"), "Windows") Set WshShell = CreateObject("WScript.Shell") ' Tested for Win 7 & 10, Office 2010 32bit & 64bit ' Double click in explorer or run in cmd with cscript MSProductKeys.vbs ' Windows 10 Product Keys from migration of Windows 7 are also shown ' Extract Windows 7 and Office 2010 Product Keys Im happy to talk about research, consulting, keynotes, teaching. The script works for 64-bit and 32-bit installations. I am a business and organizational social scientist, trained in anthropology, sociology, and organization and management studies. The following Visual Basic script extracts the information from your registry. How to get Microsoft Office 2010 and Windows 7 Product Keys from WindowsRegistry?Īssume: You are in a small company and you want to know which Office and which Windows license is installed on which computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |