- Open Notepad
- Copy the following text and paste it into Notepad:
if "%errorlevel%" == "0" GOTO RunGWX
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Appraiser" /v UtcOnetimeSend /t REG_DWORD /d 1 /f
schtasks /run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
:CompatCheckRunning
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" | findstr Ready
if NOT "%errorlevel%" == "0" ping localhost >nul &goto :CompatCheckRunning
:RunGWX
schtasks /run /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig"
- Click File, and then Save As
- In the File name box, change the file name to ReserveWin10.cmd
- Then click the dropdown next to Save as type, and select All files (*.*)
- Select the folder you would like to save the file to. For this example, let’s choose to save the file to the C:/Temp folder. Then click Save.
- Open an elevated command prompt. (From the Start screen or Start menu, type Command Prompt in the search box, and then in the list of results, right-click Command Prompt, and select Run as administrator.)
- Finally, run the file from the location you saved to in Step 6. In this example, you would type the following in the Command Prompt window and hit Enter:C:/Temp/ReserveWin10.cmd
If the script is failing in an infinite loop, then you don’t have the necessary prerequisite Windows Updates. Besides requiring Windows 7 SP1 or Windows 8.1 Update, you must also have installed:
For Windows 7 SP1:
KB3035583
KB2952664
For Windows 8.1 Update:
KB3035583
KB2976978
You can manually check if you have these updates within your elevated command prompt by typing the command:
dism /online /get-packages | findstr 3035583
(Replace the KB number with whichever update you are looking for.) If you have the update installed, this command will show the package identity. For example, Windows 8.1 users should see this:
C:\>dism /online /get-packages | findstr 3035583
Package Identity : Package_for_KB3035583~31bf3856ad364e35~amd64~~6.3.1.29
Thanks,
Yaqub Khan - Microsoft Support Engineer
No comments:
Post a Comment