0% found this document useful (0 votes)
892 views1 page

ReserveWin10 CMD

This document contains a batch script that checks if a Windows registry key related to Windows 10 upgrade experience indicators exists. If it does, it adds a registry value, runs an appraiser task, and checks if it is ready before running another task to refresh upgrade configuration settings. The script enables and prepares the Windows 10 upgrade experience on the machine.

Uploaded by

Alexandru Iancu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
892 views1 page

ReserveWin10 CMD

This document contains a batch script that checks if a Windows registry key related to Windows 10 upgrade experience indicators exists. If it does, it adds a registry value, runs an appraiser task, and checks if it is ready before running another task to refresh upgrade configuration settings. The script enables and prepares the Windows 10 upgrade experience on the machine.

Uploaded by

Alexandru Iancu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Upgr

adeExperienceIndicators" /v UpgEx | findstr UpgEx


if "%errorlevel%" == "0" GOTO RunGWX
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Apprai
ser" /v UtcOnetimeSend /t REG_DWORD /d 1 /f
schtasks /run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibi
lity Appraiser"
:CompatCheckRunning
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compati
bility Appraiser"
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compati
bility Appraiser" | findstr Ready
if NOT "%errorlevel%" == "0" ping localhost >nul &goto :CompatCheckRunning
:RunGWX
schtasks /run /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig"

You might also like