In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to use batch processing to delete dangerous components of the registry. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Save this as a bat file to run to ensure the most basic security of your server!
The code is as follows:
:: registry related settings
Reg delete HKEY_CLASSES_ROOT\ WScript.Shell / f
Reg delete HKEY_CLASSES_ROOT\ WScript.Shell.1 / f
Reg delete HKEY_CLASSES_ROOT\ Shell.application / f
Reg delete HKEY_CLASSES_ROOT\ Shell.application.1 / f
Reg delete HKEY_CLASSES_ROOT\ WSCRIPT.NETWORK / f
Reg delete HKEY_CLASSES_ROOT\ WSCRIPT.NETWORK.1 / f
Regsvr32 / s / u wshom.ocx
Regsvr32 / s / u wshext.dll
Regsvr32 / s / u shell32.dll
Echo registry dangerous components delete settings are complete!
PAUSE > nul
In addition, a good batch is attached. It is recommended that you can understand the operation of the code. If you use it, you can right-click to add permissions. The following code requires xcacls.vbs. Please make sure that this file exists on your system. XCACLS.vbs downloads http://xiazai.jb51.net/201008/tools/XCACLS.rar directly
Disk C security enhancement. bat
The code is as follows:
:: add Everyone deny permission to the system files often used by hackers, and beginners should use them with caution!
Regsvr32 / s wshom.ocx
Cscript.exe xcacls.vbs "% SystemRoot%/system32/cmd.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/net.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/net1.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/cacls.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/wscript.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/command.com" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/xcopy.exe" / D Everyone:F / E
Cscript.exe xcacls.vbs "% SystemRoot%/system32/cscript.exe" / D Everyone:F / E
Regsvr32 / s / u wshom.ocx
Cscript.exe xcacls.vbs "% SystemRoot%/system32/wshom.ocx" / D Everyone:F / E
The security of Echo C disk has been strengthened. Please press any key to exit!
PAUSE > nul
Goto exit
The above is all the contents of the article "how to use batch processing to delete dangerous components in the registry". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.