Logoff script
Hi everyone,
i've a logoff script deployed with my domain gpos. (2003 domain)
I want he script to run even if the user is not physically connected to the network.
I configured the local policy, and copied the script on the computer.
It's working fine when the user is not connected.
The question : when the user is phiscally connected on the domain, will the script run twice ? one time because of the gpo, and a second time because of the local policy ?
Is there a way to bypass the local policy and to use only the gpo ?
September 2nd, 2011 6:51am
The result should be 1 time and domain group policy is applied if computer is connect network.
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2011 9:10am
1. GPO is executed mainly in the following order: LSDOU. Unless you do any measures that block it.
2. Logoff script is usually used in pair with logon script. If you need to do something when user is not logged, then consider using computer GPO.
3. GPO is saved (cached) and unless you change the GPO and force to execute it, it will remains untached.
4. It is not good idea to change default domain policy, unless you have a serious reason to do so. Apply GPO to objects in OU.
September 2nd, 2011 9:12am
If you have a script stored in a GPO and another script (even though they are the same script) in a local policy, they are both going to run in the scenario you described.
Visit anITKB.com, an IT Knowledge Base.
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2011 10:28am
Hi,
As Milos Puchta mentioned that the GPO applying order is Local, Site, Domain and OU, so the local Group Policy will be overridden by the GPO applied
to Site, Domain and OU. If local Group Policy settings are the same as the GPO applied to Site, Domain and OU, it is not necessary to link the GPO with the same Group Policy settings to Site, Domain and OU again.
Regards,
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
September 2nd, 2011 9:59pm


