blisswera.blogg.se

Product key recovery tool windows 7
Product key recovery tool windows 7





Step 3: In the PowerShell window, type the following code (or you can simply copy and paste) and press Enter key to change the execution policy for non-signed scripts.Ĭlick Enter key or ‘Y’ key when you see “Do you want to change the execution policy” message. To do this, you can type Windows PowerShell in the Start menu (Windows 7) or Start screen (Windows 8/8.1), and then simultaneously press Ctrl + Shift + Enter keys.Īlternatively, you can right-click on the Windows 8.1 Start button and then click Windows PowerShell (Admin) to launch PowerShell as administrator.Ĭlick on the Yes button when you see the User Account Control (UAC) dialog. Step 2: Open Windows PowerShell as administrator. $obj | Add-Member Noteproperty ProductKey -value $productkey $obj | Add-Member Noteproperty ProductID -value $win32os.SerialNumber $obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser $obj | Add-Member Noteproperty BuildNumber -value $win32os.BuildNumber $obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture $obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion $obj | Add-Member Noteproperty Caption -value $win32os.Caption $obj | Add-Member Noteproperty Computer -value $target $win32os = Get-WmiObject Win32_OperatingSystem -computer $target $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue) $wmi = ”\\$target\root\default:stdRegProv” $regPath = “Software\Microsoft\Windows NT\CurrentVersion” # function to retrieve the Windows Product Key from any PC Note that it’s important to save the file with. Save the file as RecoverKey.ps1 on your desktop.

product key recovery tool windows 7

Step 1: Copy the following code and paste it into Notepad.







Product key recovery tool windows 7