Servernet.exe Removal Utility: How to clean and remove servernet.exe
The ServerNet removal Utility was something I wrote in my 2nd year of College. It was 2 batch files to get rid of an annoying "virus". It would copy itself onto root drives and various locations including 'Program Files\Common Files\MicrosoftShared\MSInfo'. It also creates a service for itself and as mspaint, dllhost, mqsvc and msdtc were all acting strangely in terms of computer usage I ended them before attempting to delete ServerNet. The original for this utility went through many other drives (e: f: z:) removing ServerNet off each. The Servernet.exe file can be found on many drives, as it copies.
For Removal:
AUTOMATIC SERVERNET REMOVAL/CLEANING: Download servernet-removal-tool
MANUAL SERVERNET REMOVAL/CLEANING:
Open notepad and copy paste this text:
sc.exe config Distributed start= disabled
sc.exe delete Distributed
taskkill /F /T /IM mspaint.exe
taskkill /F /T /IM dllhost.exe
taskkill /F /T /IM mqsvc.exe
taskkill /F /T /IM msdtc.exe
xcopy /y "ServerNetRemovalToolStep2.bat"
"C:\Documents and Settings\%userName%\Start Menu\Programs\Startup"
@echo COMPUTER WILL NOW RESTART...
shutdown -r -t 10 -c "Restarting to fully clean virus. Be Patient. Scott =)"
Click File>Save as. In the drop-down menu for files, change it to All Files.
Save this exactly as: ServerNetRemovalStep1.bat
Next repeat with this text and save this file exactly as: ServerNetRemovalStep2.bat
@echo on
taskkill /F /T /IM mspaint.exe
taskkill /F /T /IM dllhost.exe
taskkill /F /T /IM mqsvc.exe
taskkill /F /T /IM msdtc.exe
cd \
h:
attrib -h -s -r autorun.inf
attrib -h -s -r ServerNet.exe
del autorun.inf
del ServerNet.exe
c:
attrib -h -s -r autorun.inf
attrib -h -s -r ServerNet.exe
del autorun.inf
del ServerNet.exe
cd c:\windows\system32
attrib -s -h -r "_ServerNet.exe"
attrib -h -s -r autorun.inf
attrib -h -s -r ServerNet.exe
del autorun.inf
del ServerNet.exe
del _ServerNet.exe
cd ..
cd ..
cd Program Files\Common Files\Microsoft Shared\MSInfo
attrib -h -s -r ServerNet.exe
del ServerNet.exe
cd \
c:
cd Documents and Settings\%userName%\Start Menu\Programs\Startup
del ServerNetRemovalToolStep2.bat
@echo Hopefully your clean now ![]()
pause
Make sure these 2 files are in the same location, and make sure all your drives are targeted. In the above example, h: and c: are targeted. Just copy paste all the code from the drive letter to the next if you need to clean more than 2 drives. Double click ServerNetRemoval1.bat. You will see a black window, it will do some cleanup, and then will restart your computer. When your computer reboots, it will run a new file which will hopefully get rid of that annoying servernet!