nul 2>nul @goto Selection :XP @set UpdatePolicy=GPUpdate /Force>nul 2>nul @goto Selection :2003 @set UpdatePolicy=GPUpdate /Force>nul 2>nu。修改注冊表權(quán)限加強(qiáng)對木馬、病毒的防范( 二 )。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

修改注冊表權(quán)限加強(qiáng)對木馬、病毒的防范( 二 )


:2000
@set UpdatePolicy=secedit /refreshpolicy machine_policy>nul 2>nul
@goto Selection
:XP
@set UpdatePolicy=GPUpdate /Force>nul 2>nul
@goto Selection
:2003
@set UpdatePolicy=GPUpdate /Force>nul 2>nul
@goto Selection
:Selection
@rem User Choice
@echo.
@echo 請輸入以下選項(xiàng)前面的數(shù)字
@echo.
@echo 1: 安裝反特洛伊木馬保護(hù)
@echo 2: 刪除反特洛伊木馬保護(hù)(恢復(fù)默認(rèn)設(shè)置)
@echo 3: 查看技術(shù)信息
@echo 4: 退出
@echo.
@set /p UserSelection=輸入您的選擇(1、2、3、4)
@if "\userSelection%"=="1" goto install
@if "\userSelection%"=="2" goto uninstall
@if "\userSelection%"=="3" goto information
@if "\userSelection%"=="4" goto quit
@rem 輸入其他字符
@cls
@goto Selection
:information
@cls
@echo
============================================================
@echo #
@echo # 歡迎使用反特洛伊木馬程序
@echo #
@echo #功能:
@echo #
@echo #1、設(shè)置注冊表自啟動(dòng)項(xiàng)為只讀(Run、RunOnce、RunService),
@echo #;;;防止木馬、病毒通過自啟動(dòng)項(xiàng)目啟動(dòng)
@echo #2、設(shè)置.txt、.com、.exe、.inf、.ini、.bat等等文件關(guān)聯(lián)為只讀,
@echo #;;;防止木馬、病毒通過文件關(guān)聯(lián)啟動(dòng)
@echo #3、設(shè)置注冊表HKLMSYSTEMCurrentControlSetServices為只讀
@echo #;;;防止木馬、病毒以"服務(wù)"方式啟動(dòng)
@echo #;;;
@echo #注意事項(xiàng):;
@echo #;某些安裝程序也會(huì)用到以上注冊表鍵,請?jiān)诎惭b前運(yùn)行本程序,
@echo #;然后選擇2,恢復(fù)默認(rèn)設(shè)置 。安裝完成后,重新運(yùn)行本程序,
@echo #;然后選擇1,實(shí)施反特洛伊木馬保護(hù)
@echo ==============================================================
@echo.
@echo 按任意鍵,返回選擇
@pause>nul 2>nul
@cls
@goto Selection
:install
@set OP=/grant everyone /read; /p:no_dont_copy
@goto Doit
:uninstall
@set OP=/revoke everyone /read; /p:yes
@goto Doit
:Doit
@echo.
@echo 正在執(zhí)行操作...
@rem HKLM
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRun /registry %OP%>nul 2>nul
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRunOnce /registry %OP%>nul 2>nul
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRunServices /registry %OP%>nul 2>nul
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRunEX /registry %OP%>nul 2>nul
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRunOnceEX /registry %OP%>nul 2>nul
@setacl machineSOFTWAREMicrosoftWindowsCurrentVersionRunServicesEx /registry %OP%>nul 2>nul
@rem HKCU
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRun /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunOnce /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunServices /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunEX /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunOnceEX /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunServicesEx /registry %OP%>nul 2>nul
@setacl CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunServicesOnce /registry %OP%>nul 2>nul
@rem USERS
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRun /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunOnce /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunServices /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunEX /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunOnceEX /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunServicesEx /registry %OP%>nul 2>nul
@setacl USERSOFTWAREMicrosoftWindowsCurrentVersionRunServicesOnce /registry %OP%>nul 2>nul
@rem Services
@setacl MACHINESYSTEMCurrentControlSetServices /registry %OP%>nul 2>nul
@rem CLASSES_ROOT

推薦閱讀