![]() ![]() $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. Step 1: Copy the following code and paste it into Notepad. NOTE: This method works in all recent versions of Windows, including Windows 7, Windows 8, and Windows 8.1. ![]() And if your PC is unbootable, follow our how to recover Windows 7/8/8/8.1 product key from unbootable PC guide. The only thing is that your PC must be bootable to recover the product key using this method. Out friend at WinAero has posted a helpful guide on recovering Windows product key without using third-party tools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |