Re: Group Policy deployed logon scripts

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



What I was saying was:

- if i were to put the regedit.exe /s command into the login script,
changes wouldn't take effect until the next login.

- but if i were to put it in the adm template it would take effect
that login (as registry CSE's are processed before script CSE's)

Am I correct in saying that ADM templates would have immediate effect?


Mark Heitbrink [MVP] wrote:
Hi,

joshua.morgan@xxxxxxxxx schrieb:
That's what I was thinking [creating an ADM template]. Wouldn't this
command [adding the registry key as per tip 9890] execute

Yes it does absolutly the same.

[in the logon> script] after the error is displayed [meaning it has
no real effect until the next logon]?

No. Registry CSE processing happens prior to Script CSE.
So it will be activ at the next login.

Is there a relevant HKEY_LOCAL_MACHINE setting for this or does it only
exist in the user's hive?

I don´t think so, because the Command Processor is HKCU ... but never
tried.

Mark
--
Mark Heitbrink - MVP Windows Server
Homepage: www.gruppenrichtlinien.de
extend GPO: www.desktopstandard.com
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.

.



Relevant Pages

  • Re: Expect script to install sshkey
    ... you have mentioned that you are using "lynx" for the download, would it be possible you to use wget/any other file retrieval utility from www rather than a information browser. ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: problem with login
    ... login session" after I create their account. ... If your script is using the mkuser command, ...
    (comp.unix.aix)
  • Re: Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • defining a variable from the command prompt
    ... I have a script that sends emails out to my company, ... to be able to run it by saying (from the command prompt): ...
    (comp.lang.ruby)