Scott Adams Posted May 30, 2006 Share Posted May 30, 2006 I am doing an install script that has allot of reboots involved. It is designed for a specific PC build so the hardware and O/S load are always known at the start. The script is working fine generally but the harware target has a bit of a problem. Occasionally after a reboot the target pcs will come up running extremely slow. This can cause the normal 1/2 hour install scripts to take up to 4 hours. Anyone have any ideas on ways I might programmatically see if the PC is stuck in this slow mode. I plan to let it keep rebooting itself until the issue resolves. I just need a way to determine the mode and I haven't been able to come up with anything that works. Link to comment Share on other sites More sharing options...
jpm Posted May 30, 2006 Share Posted May 30, 2006 could that been related with some Ethernet communication card leading to TCP timeout? Did you look at some strnage event in the windows log event files? Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 30, 2006 Share Posted May 30, 2006 I am doing an install script that has allot of reboots involved. It is designed for a specific PC build so the hardware and O/S load are always known at the start.The script is working fine generally but the harware target has a bit of a problem. Occasionally after a reboot the target pcs will come up running extremely slow. This can cause the normal 1/2 hour install scripts to take up to 4 hours.Anyone have any ideas on ways I might programmatically see if the PC is stuck in this slow mode. I plan to let it keep rebooting itself until the issue resolves. I just need a way to determine the mode and I haven't been able to come up with anything that works.You're going to have to find out why it's slow first. Any chance you triggered a full virus scan with high priority, or something like that? What do you see Task manager and the event logs when it's running slow, etc.? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Scott Adams Posted May 30, 2006 Author Share Posted May 30, 2006 (edited) Ok I figured it out. I start outlook express and then wait for the first window. If I don't see it in 2 seconds I am in slowmo mode! Edited May 30, 2006 by Scott Adams Link to comment Share on other sites More sharing options...
Scott Adams Posted May 30, 2006 Author Share Posted May 30, 2006 It is odd as the machine is not connected to the internet at the time these installs are done. It only some time occurs. The event log has some information popups that are not real helpful. In anycase at this point a reboot and retry seems to be sufficient. Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 30, 2006 Share Posted May 30, 2006 Ok I figured it out. I start outlook express and then wait for the first window. If I don't see it in 2 seconds I am in slowmo mode! Well, OK... But WHY are you in "slowmo mode"? Wouldn't it be better to figure that out and fix/avoid it in the first place? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now