So you can Backup Product Key of Windows 10, 8.1, and 8 using the above process in only 2 steps. Step 3 – Type Y on the PowerShell and press Enter key.Ĭheer up and view the Backup of Product Key of Windows 10, 8.1, and 8. Step 2 – Right click on windowsbackupproductkey.ps1 file and choose Run with PowerShell on the menu. Step 1 – Extract WindowsKeybackup.rar file, after you complete downloading. PowerShell Script to Backup Product Key of Windows 10, 8.1 and 8Īlternatively, download the PowerShell script for taking backup of Windows 10, 8 8.1 Product key from below. Step 6 – Go to your desktop and view the Backup Product Key of Windows 10, 8.1 and 8 saved in WindowsKeybackup.txt. Step 5 – Powershell will ask for your confirmation whether you will like to save a copy of product key on the desktop. Step 4 – Right-click on the file and select Run with PowerShell on the list of menus. Click Save to get the text file at your convenient location. For ex., If you write the name of the text file windowsbackupproductkey then its full name will be windowsbackupproductkey.ps1. Step 3 – Provide a preferable name to the file and write extension. $KeyOutput = $Keypart2.Insert($Keypart2.IndexOf($Keypart1) $Keypart1.length,"N") $Keypart2 = $KeyOutput.Substring(1,$KeyOutput.length-1) While($i -ge 0) $Keypart1 = $KeyOutput.SubString(1,$last) If($OSInfo -match "Microsoft Windows 8" -or $OSInfo -match "Microsoft Windows 10") $OSInfo = (Get-WmiObject "Win32_OperatingSystem" | select Caption).Caption $ProductID = (Get-itemproperty -Path "HKLM:Software\Microsoft\Windows NT\CurrentVersion" -Name "ProductId").ProductId $ProductName = (Get-itemproperty -Path "HKLM:Software\Microsoft\Windows NT\CurrentVersion" -Name "ProductName").ProductName $wmi = "\\$Target\root\default:stdRegProv" $regPath = "Software\Microsoft\Windows NT\CurrentVersion" Step 2– Once the notepad appears on the computer’s screen, copy the below bundle of scripts and paste into it – #Main function Step 1 – Press the shortcuts combination Win R, write notepad in the given space, and then click Enter. Backup Product Key of Windows 10, 8.1 and 8
0 Comments
Leave a Reply. |