How to realize the bat file that can kill sxs.exe
This article will explain in detail for you how to achieve the bat file that can kill 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\ windows\ CurrentVersion\ explorer\ 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 This is the end of the article "File". 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.