Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP Script Login

Status
Not open for further replies.

pandazoo

Technical User
Jun 11, 2003
37
GB
Just to tidy things up I want to run my login scripts before windows loads

I have enabled the Run Logon Scripts Synchronously setting in GP - but because of the way Win XP loads its network by default - they run asynchronously (setting is applied from GPO)

I have to enable the following GP setting to enable the "slowing down" of the network - however there is one problem - this setting is not listed

Yes - logged in as local admin etc etc - its just not there - any ideas ?
----
Computer Configuration\Administrative Templates\System\Logon:
Always wait for the network at computer startup and logon
----

^^ this is the setting that is not there.


cheers,

P.
 
I am unclear as to your intention in the logon script. Any script commands requiring network access will fail prior to the logon. You will be running at this point under the System account, and it does not have permission to create or use a remote resouce.

I am also unclear about your policy object change. Open the MMC and add the group policy snap-in. Under Computer Configuration-->Administrative Templates-->System-->Logon, change "Always wait for the network at computer startup and logon" to ENABLED. Remove the synchronous processing policy objects, they are only necessary in very special circumstances in which a Service needs to be enabled for a network adapter prior to making the logon request.


 
Sorry maybe I was unclear.

PC's are in an OU with a GPO attached to it in AD. OU login script is implimented at this level - user security groups are given rights to the GPO to control access.

IT is a GUI login script created with kix forms that runs at user logon.

In win2k clients the script is called from the GP that sits on the OU that the computer account is in - the script runs synchronously - and the desktop does not load before the script has finished.

In XP pro - by default the system is set to fast logon as outlined in this article


I want to change the behaviour of XP pro so that my GUI script runs before the desktop / explorer loads.

Using cached credentials for a fast logon the user can logon and all of the desktop appear before the script begins to run. Not ideal because they start clicking and interupting the script.

I need to change this behaviour of XP back to 2k client logon behaviour as outlined at the bottom of the above article from microsoft.

However - this GPO setting on the local machine is not there :-

------------------------------------------------------------

"....Note that Windows XP clients support Fast Logon Optimization in any domain environment. To turn off Fast Logon Optimization, you can use the following policy setting:
Computer Configuration\Administrative Templates\System\Logon\ Always wait for the network at computer startup and logon

When this policy is enabled, a Windows XP client behaves in the same manner as a Windows 2000 client at both system startup and at user logon......."

------------------------------------------------------------
If it was I could enable it and my script would run synchronously again - like they do atm on all my 2k clients.

Any ideas why this setting is not on this particular XP machine ?

Hope this makes sense - Cheers, :)

P>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top