Re: Login scripts

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Nos Sedai (NosSedai_at_discussions.microsoft.com)
Date: 11/05/04


Date: Fri, 5 Nov 2004 10:18:02 -0800

I first put the script in \sysvol\<domain>\scripts. When the script did not
run, tried it in \sysvol\<domain>\policies\{C9D6F3...}\User\Scripts\Logon.
The script still did not run. It was configured in a GPO for an OU that was
'3 deep', that is ou=A,ou=B,ou=C,dc=domain,dc=com. Only when I moved the GPO
login script configuration to the domain policy did the script run. Oh, and
put the script back in \sysvol\<domain>\scripts.

Further to this, I was not forcing synchronization of my DCs prior to
testing the script, although I did run gpupdate from my machine. Don't know
if this plays into whether or not a script runs, but there it is.

I had hoped to assign the scripts to certain users/computers based on the OU
the script was assigned to, but it didn't seem to work. So I employed
ifmember.exe into the script, and that does fine as well.

Sorry about the duplicate post earlier, but I got an error from
microsoft.com on the first post, and I never saw it appear in the community
yesterday.

So are login scripts pretty much limited to the domain policy GPO, and no
deeper in the tree?

Thanks!
nos



Relevant Pages

  • Re: Script is not working?
    ... think I should try the Comp Config Startup script? ... You should not adding the script to Comp config startup/shutdown script ... user configuration and not the computer configuration. ... you will come to know the exact error when script is executed using GPO. ...
    (microsoft.public.scripting.vbscript)
  • Re: WMI missing security settings
    ... the rsop shows the finally result view ... every effective GPO, it will be hidden in the rsop view. ... ffWhenHourExpire) are shown with the script is because they are configured ... if setting the "Computer Configuration -> Windows Settings ...
    (microsoft.public.platformsdk.security)
  • help with a home network jumpstart
    ... I have the blade running BIND 8 to serve DNS to the home network. ... Here's the output of the boot net - install: ... Using RPC Bootparams for network configuration information. ... Using begin script: install_begin ...
    (SunManagers)
  • Jumpstart: syntax error and trying to load from /cdrom media, which disk to use for Solaris 8 image
    ... I'm not sure if I need to use that disk or the Solaris 8 Installation ... Using RPC Bootparams for network configuration information. ... Using finish script: diag_drv.fin ... Executing JumpStart preinstall phase... ...
    (SunManagers)
  • Re: Some basic unix directory listing questions (long)
    ... I use this method extensively for perl "suites" which bring their ... own libraries, configuration files, etc with them. ... directory of your script. ... As for hard links - no chance. ...
    (comp.unix.shell)