How to realize the bat of killing sxs.exe
This article will give you a detailed explanation on how to achieve the bat of killing sxs.exe. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The code is as follows:
:: echo feature: automatically generate sxs.exe,autorun.inf files under each disk root directory, and some even generate SVOHOST.exe or sxs.exe under windows\ system32. The file attribute is an implicit attribute. Automatically disable antivirus software
Solution: create a batch file (content)
Echo off taskkill / f / im sxs.exe / t taskkill / f / im SVOHOST.exe / t c: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf d: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf e: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf f: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf g: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf h: attrib sxs.exe- A-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf I: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf j: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf k Attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf l: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf m: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf n: attrib sxs.exe-a-h-s del / s / Q / f sxs.exe attrib autorun.inf-a-h-s del / s / Q / f autorun.inf reg delete HKLM\ Software\ Microsoft\ CurrentVersion\ Advanced\ Folder\ Hidden\ SHOWALL / V CheckedValue / f reg add HKLM\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced\ Folder\ Hidden\ SHOWALL / v "CheckedValue" / t "REG_DWORD" / d "1" / f REG DELETE HKLM\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run / V sxs.exe / f REG DELETE HKLM\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run / V SVOHOST.exe / f exit on "how to implement bat for killing sxs.exe" is here. Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.