Solved

logon script

Posted on 2011-02-23
6
683 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
[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
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2008 set profile 9 62
Run Access2013-32bit under WinXP? 4 133
using vb script 5 58
Copy Sheet to New Workbook based on Cell Value 6 60
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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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