功能,去掉系统提示为盗版,特别是OFFICE,想当的烦,每次用的时候都要面对你不是正版什么的提示,索性弄个批处理把把给去掉了,献给有用的人吧,好处就是你删除验证文件后,不会再提示你安装验证的补丁,有用的同志拿去用, 原理,因为WgaTray.exe和OGAVerify.exe不能在进程中结束,结束也会自己再开启,所以前2句是通过映像劫持让这2个进程不能运行,然后再删除此些验证文件,如果再提示安装此补丁也不影响,因为这几个验证程序已经根本不能运行了
代码如下,把以下代码保存为BAT文件后执行即可
@echo off
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\WgaTray.exe" /v "Debugger" /t "REG_SZ" /d "DisabledRun" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\OGAVerify.exe" /v "Debugger" /t "REG_SZ" /d "DisabledRun" /f
del %windir%\system32\OGAAddin.dll /f /q /a
del %windir%\system32\OGACheckControl.dll /f /q /a
del %windir%\system32\OGAVerify.exe /f /q /a
del %windir%\system32\WgaLogon.dll /f /q /a
del %windir%\system32\WgaTray.exe /f /q /a

启动并运行了,但是它背后黑色的cmd窗口却没有自动消失。
我想知道怎么在这个批处理运行完毕之后自动关闭。一下是我使用的批处理:
@echo off
rem
echo
rem
pause
rem
echo Windows Registry Editor Version 5.00>>ssm.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\tim.exe] >>ssm.reg
echo "Debugger"="debugfile.exe" >>ssm.reg
rem
regedit /s ssm.reg &del /q ssm.reg
不管能否解决我都先谢谢你咯~~~