http://www.sevenforums.com/general-disc ... 7-8-a.html
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy Restricted
Get-HotFix -id KB2952664,KB2990214,KB3021917,KB3022345,KB3035583,KB2976978,KB3044374
wusa.exe /norestart /uninstall /kb:2952664
wusa.exe /norestart /uninstall /kb:2990214
wusa.exe /norestart /uninstall /kb:3021917
wusa.exe /norestart /uninstall /kb:3022345
wusa.exe /norestart /uninstall /kb:3035583
wusa.exe /norestart /uninstall /kb:3173040
wusa.exe /norestart /uninstall /kb:2976978 (Windows 8.1)
wusa.exe /norestart /uninstall /kb:3044374 (Windows 8.1)
dism /online /get-packages | findstr "KB2952664 KB2990214 KB3021917 KB3022345 KB3035583 KB2976978 KB3044374"
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.1.3
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.2.1
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.9.8
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.10.5
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.13.2
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.14.2
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.16.5
dism /online /NoRestart /remove-package /PackageName:Package_for_KB2952664~31bf3856ad364e35~amd64~~6.1.17.5
dism /online /NoRestart /remove-package /PackageName:Package_for_KB3035583~31bf3856ad364e35~amd64~~6.1.1.13
dism /online /NoRestart /remove-package /PackageName:Package_for_KB3035583~31bf3856ad364e35~amd64~~6.1.3.4
dism /online /NoRestart /remove-package /PackageName:Package_for_KB3035583~31bf3856ad364e35~amd64~~6.3.1.29
dism /online /NoRestart /remove-package /PackageName:Package_for_KB3035583~31bf3856ad364e35~amd64~~6.3.1.45
Windows 7 : Remove Windows 10 Upgrade Notification
Re: Windows 7 : Remove Windows 10 Upgrade Notification
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Gwx]
"DisableGwx"=dword:00000001
Code: Select all
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx /v DisableGwx /t REG_DWORD /d 0x00000001 /f
Re: Windows 7 : Remove Windows 10 Upgrade Notification
ReserveWin10.cmd
Code: Select all
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"