In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.