Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

auto logon script for machien

Posted on 2006-10-30
6
Medium Priority
?
273 Views
Last Modified: 2008-02-01
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
Comment
Question by:bbcac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:CharliePete00
ID: 17835725
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
 

Author Comment

by:bbcac
ID: 17836572
good point... I should have mentioned that I have already tried this trick to no avail.
0
 
LVL 7

Expert Comment

by:CharliePete00
ID: 17836756
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Author Comment

by:bbcac
ID: 17836840
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
 
LVL 7

Accepted Solution

by:
CharliePete00 earned 1000 total points
ID: 17843089
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
 

Author Comment

by:bbcac
ID: 17851136
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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Learn about cloud computing and its benefits for small business owners.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question