移除Windows WGA防盗版补丁 批处理文件
Posted in Windows相关 on 二月 2nd, 2008 by Kang标签:WGA, windows
更新Windows后会有防盗版补丁, 检查到你的Windows是盗版就不让你用了…. -.- 用下面的这个.cmd可以解决
在记事本里把下面红字文本插入, 另存为 <你的文件名>.cmd 文件 双击运行, 问题解决
@echo off
TITLE WGA FIX…
cd %windir%\system32
if exist wgalogon.dll goto rmwga
if exist wgalogon.old goto delwga
goto nowga
:rmwga
regsvr32.exe /u /s LegitCheckControl.dll
ren wgalogon.dll *.old
ren wgatray.exe *.old
shutdown.exe -r -f -t 0
exit
:delwga
del wga*.old
del LegitCheckControl.dll
reg.exe delete “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon” /f
goto finish
:finish
cls
echo.
echo “Have completed of removing MS WGA”
echo.
pause
exit
:nowga
cls
echo.
echo “MS WGA is not installed on the System”
echo.
pause
exit
Development team的同志写的,我抄过来
Enjoy. lol