Tuesday, 21 July 2015

Create a Batch File to get Windows 10 Reserve Icon

If you don’t think any of these conditions apply to you, and you’re still not seeing the icon, you can also try running the solution below, which will verify your device meets all the prerequisites and then turn on the Get Windows 10 app:
  1. Open Notepad
  2. Copy the following text and paste it into Notepad:
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\UpgradeExperienceIndicators" /v UpgEx | findstr UpgEx
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"


  1. Click File, and then Save As
  2. In the File name box, change the file name to ReserveWin10.cmd
  3. Then click the dropdown next to Save as type, and select All files (*.*)
  4. 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. 
  5. 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.)
  6. 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
The Microsoft Compatibility Appraiser can take 10 – 30 minutes to run, during which the script will continuously provide status reports that it is running.  Please be patient.
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