Advertisement
aveyo

disable_asus_and_defender

Dec 20th, 2015
812
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.66 KB | None | 0 0
  1. <!-- : class="re0">disable asus and defender [dev.dota2 t=186389]
  2. @cscript.exe //nologo "%~f0?.wsf" &exit/b
  3. ----- embeded vbs by aveyo ---><job><script language="VBScript">sN=DateAdd("n", 1, Now):sH=Hour(sN):sM=Minute(sN):If sH<10 Then sH="0"&sH End If:If sM<10 Then sM="0"&sM End If:sK=sH&":"&sM&":00"
  4. CreateObject("Shell.Application").ShellExecute "SCHTASKS.EXE", "/Create /RU ""System"" /SC ONCE /TN tmp_devdota2_186389 /TR ""%COMSPEC% /C SCHTASKS.EXE /Delete /TN tmp_devdota2_186389 /F && for %a in (ascomsvc assysctrlservice ashmcomsvc Realtek11nCU VIAKaraokeService WinDefend) do (sc stop %a & sc config %a start= disabled)"" /ST " &sK& " /NP", "", "runas", 0
  5. </script></job>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement