虽然红伞自保护很鸡肋,不过还是开着安心点…如果真要删掉升级滑窗提示文件的话…
建议用 PendingFileRenameOperations 的方式去删吧…这样就不用关闭红伞自保护…
只是这个删文件以屏蔽升级提示的方法又能用多久呐?红伞公司真是让人不省心…
下边儿给出的是 V9 - Free 标准安装路径的 registry batch,V8 的同鞋就自己弄吧。- @echo off
- echo Windows Registry Editor Version 5.00>>tmp.reg
- echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]>>tmp.reg
- echo "PendingFileRenameOperations"=hex(7):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,\>>tmp.reg
- echo 50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,\>>tmp.reg
- echo 00,5c,00,41,00,76,00,69,00,72,00,61,00,5c,00,41,00,6e,00,74,00,69,00,56,00,\>>tmp.reg
- echo 69,00,72,00,20,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,5c,00,70,00,72,\>>tmp.reg
- echo 00,6f,00,64,00,69,00,6e,00,66,00,6f,00,2e,00,64,00,61,00,74,00,00,00,00,00,\>>tmp.reg
- echo 00,00>>tmp.reg
- regedit /s tmp.reg
- del tmp.reg /f /q
复制代码 |