Avatar of mbcasey
Flag for United States of America asked on

Windows Server 2008 R2 Group Policy

I have a batch file that uninstalls Lightspeed Security Suite.  I disabled the GPO for Lightspeed so that I doesn't automatically install at startup.

This is what I want to do:

I have a DelSec script that uninstalls Lightspeed Security Agent.  How do I place that script in the Default Domain Group Policy so that when individuals logon, Lightspeed automatically uninstalls.
Anti-Virus AppsWindows Server 2008

Avatar of undefined
Last Comment
Jaroslav Mraz

8/22/2022 - Mon
Jaroslav Mraz


go to Administrative Tools - Group Polociy manager - Default domain policy (click right mouse button -edit)

Now go to User Configuration - Polocies - Windows settings - Scripts (Logon/logof scripts) - Logon

in Logon specifie your .BAT or other file script. File must be in share place or before klick on show files button and copy bat there so it will be shared by domain controler.

officla microsoft KB


I want to run this script for the computer 1 time at shutdown.  How do I create a policy to do that?
Jaroslav Mraz

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck