Solved

logon script

Posted on 2011-02-23
6
675 Views
Last Modified: 2012-05-11
I have a windows XP laptop that is having issues with the logon script.  I have a windows server 2003 DC where the logon scripts reside.  Every other PC runs fine, so far no issues with the logon scripts, besides this one particular one.  
When I run the logon script manually:  start -> run and type the path of my logon script location, and run the script, it works fine, so I'm thinking that it's an issue with timing, the logon script runs before another file needs to run or a service starts up.  

So is there a way to delay the logon script from running, at least by 5 or 10 seconds after the user logs on to windows XP?
0
Comment
Question by:afacts
  • 2
  • 2
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
4runnerfun earned 250 total points
ID: 34962965
If there aren't any other problems, then you can delay your script by pinging local host. Ping 15times..

ping 127.0.0.1 -n 15
0
 

Author Comment

by:afacts
ID: 34962976
I'm lost, so do I enter that command somehwere in the script?  
0
 
LVL 12

Assisted Solution

by:Sommerblink
Sommerblink earned 250 total points
ID: 34962986
From the 2003 Resource Toolkit, there is an executable called sleep.exe. (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd)

You can pass this an integer and it will pause.

Otherwise, there is a timeout command in Windows Vista/7.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 3

Expert Comment

by:4runnerfun
ID: 34962993
Yes, wherever you want the pause, enter that command.
0
 
LVL 12

Expert Comment

by:Sommerblink
ID: 34962999
Afacts: You would enter in the command the line above the command that is failing, if you believe that there is some sort of timeout issue.
0
 

Author Closing Comment

by:afacts
ID: 34963341
Thanks guys for your help, but actually that wasn't the problem.   After I looked at the script, I looked where it was crashing on, and for some reason, it didn't like the network drive mapped letter, so I just changed it from I to Z, and it started working just fine.  Somehow, the system was creating the I drive as a "disconnected network drive", and it was just cuasing problems.

Thanks again for the quick response.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migration of AD user accounts from Server 2003 to 2012R2 5 83
2003 File Server upgrade 11 62
2003 Server DNS/FS errors 6 48
Creating An Intelligent Dropdown 8 14
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now