Solved

auto logon script for machien

Posted on 2006-10-30
6
269 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 250 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

763 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