Re: GPO - User Logon Script



In my experience, it depends. I find a profile script and GPO script applied
to the domain run almost simultaneously. Usually the GPO script runs first,
but sometimes the profile script is first. A GPO applied to an OU seems to
run later. I'm sure it depends on the policy. If there is a lot to be
applied, I would expect the profile script to run first. I think a lot is
happening simultaneously. I have not seen documentation on this.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--

"thrillerIT (joe)" <thrillerITjoe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:90BFF82A-4607-49AB-86CE-1B70347A8AD2@xxxxxxxxxxxxxxxx
Richard,

Thanks for the info!

Follow-up question: Which script will be executed first? Why?

Thanks,
thrillerIT

"Richard Mueller [MVP]" wrote:

thrillerIT (joe) wrote:

Currently we are executing logon scripts via the User properties in AD.
We
are manually entering the script file name within the User
Profile\Logon
script section. We are planning to create a logon script and deploy it
via
GPO (User Config\Windows Settings\Scripts\Logon).

(Million $) Question:
- If we are to run "Logon Script A" (via file name within the User
Properties in AD) and "Logon Script B" (via GPO - User Config\Windows
Settings\Scripts\Logon) parallel to each other, which logon script
takes
precedence? And why?


Both scripts will run.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--





.



Relevant Pages

  • Re: Disabling a GPO logon Script
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... you can easily jump out of the script by ... But a GPO would be nicer. ... disable it by not specifying a logon script? ...
    (microsoft.public.windows.terminal_services)
  • Re: Disabling a GPO logon Script
    ... you can easily jump out of the script by ... MCSE, CCEA, Microsoft MVP - Terminal Server ... disable it by not specifying a logon script? ... GPO, and to which OU the GPO is linked. ...
    (microsoft.public.windows.terminal_services)
  • Re: Install Windows Patch via GPO
    ... I did gpresult on the PCs and the GPO is showing up now. ... Browse when you want to add a new script or put the ... only reply to Newsgroups ... Ethernet adapter Local Area Connection 1: ...
    (microsoft.public.windows.group_policy)
  • Re: Logon scripts cant access network home drive
    ... unless you are using Loopback Group Policy processing, settings under User ... Configuration node in the GPO are not relevant if you link it to the OU ... Is there a particular reason that you decided to use logon script ...
    (microsoft.public.windows.server.active_directory)
  • Re: would a GPO have been better?
    ... shortcut to everyone, and you only have to update it in one spot, and ... > file to all machines on the network with varying levels of success. ... > 2) The main operation I'm looking for the gpo to perform is just a file ... The login script is a WSH ...
    (microsoft.public.win2000.group_policy)