Re: Local GPO's logon/off scripts disappear!!!



Sorry for the delay in response. I was out of the office.

Yes, the bat files are no longer in the folders. I have never seen
anything like this before either. I have looked through the domain
policies and I didn't see anything that would be deleting them. And
we are using the gpedit.msc to select the logon and logoff scripts.
We did manually copy them to the appropriate directory through
explorer. We are trying a couple of other different things. I will
update you with results later this week. I really wanted to know if
anyone had encountered this before or if there was something I should
be checking.

Thanks!
Al


On Aug 16, 10:13 am, "Darren Mar-Elia" <dmanonym...@xxxxxxxxxxxxx>
wrote:
So you're saying that the bat files are no longer in those folders? That
seems strange. I know of no mechanism that would physically remove them. Are
you defining the logon and logoff scripts from within gpedit.msc or just
manually copying the batch files into those folders?

Darren

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy

Script Group Policy Settings with the GPExpert Scripting Toolkit for
PowerShell!
Find out more athttp://www.sdmsoftware.com/products2.php

Visit the GPOGUY:http://www.gpoguy.com-- The Windows Group Policy
Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related
---

"al" <a...@xxxxxxxxxxx> wrote in message

news:1187282303.344784.124890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



I have 5 computers in an OU that I would like to run logon and logoff
scripts through local GPO's. The logon and logoff scripts are *.BAT
files and they do not error out when run at the command prompt. The
user has the necessary permissions (they logon and run w/ admin
permissions). And they have the necessary permissions to the
directory where the scripts are located. Initially I put the logon/
logoff sripts in: C:\WINDOWS\system32\GroupPolicy\User\Scripts\logon
and /logoff. Well, initially the scripts work but a little while
later (an hour or so) the scripts are no longer in that directory!!
They have been deleted from the directory above! I've tested with
*.TXT and *.CMD files and they also get deleted. I am not seeing
anything in a higher level GPO that would prevent this - there aren't
any logon or logoff scripts running through higher GPOs. Is that the
only thing I should search? What else would be preventing this? I
don't want to have to do a domain GPO for 5 flipping machines! This
should work!! What am I missing?

TIA
Al- Hide quoted text -

- Show quoted text -


.



Relevant Pages

  • RE: Login scripts not executing
    ... We are using windows 2003 in bothe the forests. ... We are not using Group Policy for logon scripts, ... controller and given the path in the user properties-profiles-logon scripts. ...
    (microsoft.public.win2000.active_directory)
  • Local GPOs logon/off scripts disappear!!!
    ... I have 5 computers in an OU that I would like to run logon and logoff ... The logon and logoff scripts are *.BAT ... any logon or logoff scripts running through higher GPOs. ... don't want to have to do a domain GPO for 5 flipping machines! ...
    (microsoft.public.windows.server.active_directory)
  • Re: Local GPOs logon/off scripts disappear!!!
    ... Are you defining the logon and logoff scripts from within gpedit.msc or just manually copying the batch files into those folders? ...
    (microsoft.public.windows.server.active_directory)
  • RE: Adding Groups on the basis of text in a VBScript
    ... Firstly we need to read multiple text files, which are acting as logon ... If the Datalink string is present the filename of the file being read should ... > WScript.Echo " You are a member of Domain Admins " ... >> scripts which utilize vbscript. ...
    (microsoft.public.windows.server.scripting)
  • RE: Preventing multiple logins in 2003
    ... logic at the end of the logon script (we use .vbs scripts) to check whether ... or not that users home drive was mapped - if it was, ... you can accomplish a great deal with logon ... Preventing multiple logins in 2003 ...
    (Focus-Microsoft)