Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

auto logon script for machien

I have a machine that I setup via the registry to auto logon. It seems to work fine.

In active directory I configured that user to run a logon script.

THe computer automatically logs on fine, but it doesnt' run  the script.

I have the force auto logon value set as well so that if you logoff it automatically logs back on. If I do this then the script DOES run.

Why is that?
0
bbcac
Asked:
bbcac
  • 3
  • 3
1 Solution
 
CharliePete00Commented:
By default XP clients  do not wait to connect to the network before logging in to the computer.  A backround refresh of Group Policy is performed after network connection and some policies cannot be applied in the background (folder redirection, softing installation, roaming profiles, logon scripts, etc.).  To work around this apply the following policy to you autologon machines via GPO:

Computer Comfiguration > Administrative Templates > Syste, > Logon > Always Wait for the network before logon
0
 
bbcacAuthor Commented:
good point... I should have mentioned that I have already tried this trick to no avail.
0
 
CharliePete00Commented:
So you probable already have the following enabled also:

User Configuration > Administrative Templates > System > Scripts > Run Logon Scripts

Id so, other than running the scripts locally I'm out of ideas.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
bbcacAuthor Commented:
I dont' have that setting in my GP... besides, the script is running when i log off and log back on. Therefore it can run the script, just not on a reboot. Something else is funky I think. The problem is that for some reason on a restart its like the computer can't see the policy or the script. Any ideas?
0
 
CharliePete00Commented:
Sorry about they delayed response.  I had to clear a blowup on one of my own networks.

I apparently lost all ability to type yesterday.  That policy should have been "Run Logon Scripts Synchronously" in the same location.

What account are you using to autologon the machine?  Is it a domain or local account?

If it's a local account you may want to try enabling the machine loopback policy and setting it to merge:

User Configuration > Administrative Templates > System > Group Policy > User Group Policy Processing Mode

0
 
bbcacAuthor Commented:
It is not a local user... it is a domain user... the user is set to run the logon script in Active Directory. I'll try that local setting, just that this account/setup without that policy setting seems to work elsewhere.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now