Page 1 of 1

[Solved]Disable Windows Defender?

Posted: Sun Jun 17, 2012 4:03 am
by netmonk99
Is there a way to turn off / disable Windows Defender using a UVK script?

Thanks,
NM

Re: Disable Windows Defender?

Posted: Sun Jun 17, 2012 9:15 am
by Fred
Sure. You can do most anything with a UVK script.

All you have to do is stop the Windows defender service and then disable it:

Code: Select all

 <CmdScript>
@echo off
sc.exe stop WinDefend
sc.exe config WinDefend start= disabled
To re-enable it you just have to enable the service and start it:

Code: Select all

 <CmdScript>
@echo off
sc.exe config WinDefend start= delayed-auto
sc.exe start WinDefend
Have a nice sunday.

Re: Disable Windows Defender?

Posted: Sun Jul 15, 2012 11:01 pm
by netmonk99
Thanks, Fred. Works like a charm. You're the best!