Solved

auto logon script for machien

Posted on 2006-10-30
6
271 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

617 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