Windows 7 與 Windows 8 就是好用,但是一直出現 Windows 10 昇級通知就是很惱人

開啟小作家NOTEPAD,將以下文字貼過去,另存成:DisableUpgradeW10.CMD,散佈給親朋好友使用吧!!

====== 以下是 CMD檔案內容 ===================

 


 

C:
CD\
taskkill.exe /F /IM "gwx.exe"
takeown /f "%windir%\System32\GWX" /r /d y
ECHO Y| CACLS "C:\Windows\System32\GWX" /C /G Administrators:F
del "C:\Windows\System32\GWX\*.exe"
ECHO Y| CACLS "C:\Windows\System32\GWX" /C /G Administrators:R
icacls "C:\Windows\System32\GWX" /deny Everyone:(CI)(OI)F

wusa /uninstall /kb:3022345 /norestart /quiet
wusa /uninstall /kb:3068708 /norestart /quiet
wusa /uninstall /kb:3075249 /norestart /quiet
wusa /uninstall /kb:3080149 /norestart /quiet
wusa /uninstall /kb:2990214 /norestart /quiet
wusa /uninstall /kb:3012973 /norestart /quiet
wusa /uninstall /kb:2952664 /norestart /quiet
wusa /uninstall /kb:2976978 /norestart /quiet

REG DELETE HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v DisableOSUpgrade
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v DisableOSUpgrade /t REG_DWORD /d 1

REG DELETE HKLM\SOFTWARE\Policies\Microsoft\Windows\GWX /v DisableGWX
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\GWX /f /v DisableGWX /t REG_DWORD /d 1

REG DELETE HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade /v ReservationsAllowed
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v ReservationsAllowed /t REG_DWORD /d 0


schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\launchtrayprocess" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfigandcontent" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxcontent" /DISABLE

sc config DiagTrack start= disabled
net stop DiagTrack

 

HarlemHsu 發表在 痞客邦 PIXNET 留言(0) 人氣()