Re: Local Policy and logoff scripts
From: Darren Mar-Elia (dmanonymous_at_discussions.microsoft.com)
Date: 11/08/04
- Next message: Elvyn Gutierrez: "roll out SQL 7.0 SP4 client via GPO"
- Previous message: Drew: "Local Policy and logoff scripts"
- In reply to: Drew: "Local Policy and logoff scripts"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 11:37:48 -0800
Drew-
Since scripts policy is one of those that applies cumulatively rather than
"last writer wins", what I would do is delete the script from the local GPO
on all those machines. The easiest way to do that is to write a batch file
that can touch each machine and clear out the contents of
%windir%\system32\groupPolicy\User\Scripts\Logoff. You will still have a
reference to that logoff script in
C:\windows\system32\groupPolicy\User\Scripts\scripts.ini, but if the script
itself isn't found, it will just fail. I would say get rid of scripts.ini
too but if you have a logon script on that local GPO that is still needed,
then you would lose the reference to that by deleting scripts.ini. If you
don't, then just delete scripts.ini as well.
-- Darren Mar-Elia MS-MVP-Windows Server--Group Policy Check out http://www.gpoguy.com -- The Windows Group Policy Information Hub: FAQs, Whitepapers and Utilities for all things Group Policy-related "Drew" <Drew@discussions.microsoft.com> wrote in message news:985A4463-2872-4438-A257-BE758C2C6F06@microsoft.com... > Hello Microsoft, any suggestions would be greatly appreciated. > > I have a logoff script which I would like to run on all machines within an > OU using Group Policy Logoff Script. Before me, someone had gone around > and > added the same logoff script to the local policy. Now if I add the script > to > a GPO, the script runs twice. Once for the local Policy, then again with > the > Domain GPO. How can I prevent the local script from running?
- Next message: Elvyn Gutierrez: "roll out SQL 7.0 SP4 client via GPO"
- Previous message: Drew: "Local Policy and logoff scripts"
- In reply to: Drew: "Local Policy and logoff scripts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|