[Solved]Disable Windows Defender?

You need help to start using UVK? You have a doubt on a UVK feature? Post here!
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
netmonk99
Posts: 13
Joined: Tue May 29, 2012 6:44 am

[Solved]Disable Windows Defender?

Post by netmonk99 »

Is there a way to turn off / disable Windows Defender using a UVK script?

Thanks,
NM
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: Disable Windows Defender?

Post 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.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
netmonk99
Posts: 13
Joined: Tue May 29, 2012 6:44 am

Re: Disable Windows Defender?

Post by netmonk99 »

Thanks, Fred. Works like a charm. You're the best!
Post Reply