Windows XP Pro Hangs on Restarts

Wheeler_Helpdesk
Wheeler_Helpdesk used Ask the Experts™
on
I just dropped a Windows XP company image onto a HP laptop (Probook 4510s running Windows XP SP3); i wasn't sure this was going to work due to potential HAL problems (we are typically a Dell shop)...... but low and behold it worked!   Well........ at least until I tried rebooting the laptop.   If I attempt to restart the laptop, it will appear to be shutting down properly..... and after it goes through the "saving your settings", "Windows is shutting down" messages, the background disappears... then the screen turns blue and the mouse arrow just locks up.   It will just sit like this until I physically press the power button to shutdown.    The ironic thing is........ if I chose "shutdown" instead of "restart", the machine powers off normally.     I've just tried flashing the BIOS to the latest version, but same thing still happens.  What exactly is different about doing a shutdown vs. a restart?  Anyone have any ideas?  
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You need to start up in Safe Mode by pressing F8, then uninstall all the Dell drivers.  You should be able to reboot and then install the HP drivers.

Commented:
80% its due to incorrect drivers more than hardware fault.

Image re-ghost on different hardware will cause unexpected results.

I'm 100% sure, if you reinstalled from scratch with a Windows XP disc will solve your problems.

If you dont want to do that then try:

1, Windows Update to update all drivers and patches
2, If that doesn't work then download driver max (http://www.innovative-sol.com/drivermax/) to get the latest drivers.

Still, I would just reinstall from scratch to ensure it works.

Good luck

Author

Commented:
No Dell drivers were ever installed....... Image was created on a piece of hardware old enough to require no drivers be installed during install process.   I only install drivers as they are necessary.   Only HP drivers are installed on this laptop.

Just tried booting up in Safe Mode to see if the laptop would restart.   Same issue even in Safe Mode, so don't think it's a driver issue.
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

If it worked on the first boot, I'd redo the image, then before rebooting, uninstall all the Dell drivers.  

Author

Commented:
Thalarctos - As stated in earlier message, no Dell drivers were ever installed on this laptop.
This laptop never restarted right once....... even before any HP drivers were installed.
I may try to install a fresh copy of Windows from a CD on this laptop to see if it makes a difference......
Any idea why laptop will "Shutdown" normally, but hang on a "restart"?   Aren't you essentially doing the same thing but just relling the machine to turn back on?
Sorry, I think I understand now.  Check out this site:

http://www.theeldergeek.com/shutdown_issues_in_xp.htm

Commented:
"no Dell drivers were ever installed on this laptop"
If the image was created from a Dell it will likely already contain Dell drivers.
I would also go to Add/Remove Programs and remove any Dell specific software.
Top Expert 2013

Commented:
check the bios boot priority - it cna help
Most Valuable Expert 2011
Top Expert 2011

Commented:
Event Viewer, do you see anything related to User32/Win32K as the source? Maybe some errors relating to "Attempt top shutdown was denied by "BLAH"....
Most Valuable Expert 2011
Top Expert 2011

Commented:
Also, a few reg mods I use for shutdown problems.....REM App Recovery Settings/Process Shutdownreg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v AutoEndTasks /t reg_sz /d 1 /freg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v HungAppTimeout /t reg_sz /d 2000 /freg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WaitToKillAppTimeout /t reg_sz /d 2000 /freg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" /v WaitToKillServiceTimeout /d 2500 /fProbably not the resolution, but wanted to offer as a suggestion. Helps to end running tasks sooner, that prevent shutdown problems.....

Author

Commented:
edbedb - the image was created using a volume licensed copy of Windows XP........ not using any sort of Dell supplied media.

Johnb6767 - I will try your suggestions and let you know how I make out.   Don't see anything too abnormal in the Event Viewer.

I do see something referring in the Event Viewer about not being able to communicate on IRQ23.   After doing a little research, i get the feeling that the HAL loaded as part of the image might be the issue...... the original image was setup on an old Dell Dimension 4100, and this laptop has a duo core processor.   Not sure that there is any way to adjust the HAL in this situation.   Trying to load a fresh copy of the OS from CD to see how it is picked up this time around, and see if the shutdown problem still persists.......
Success!!!!  I was right in thinking that it was a HAL issue.   After reinstalling a fresh copy of Windows XP, it detected the HAL as a ACPI Multiprocessor........ unlike when I used the image which just came up as ACPI.   Even though Technet will tell you that you can't update your installation from a single core to a multicore ACPI HAL, i found a way to do it........ and it's even a Microsoft tool called DEVCON to boot.

I just followed the directions in this blog:
http://tecbites.blogspot.com/2009/09/single-to-dualmulti-core-with-windows.html

And VOILA!!!!  HAL now shows up as a ACPI Multiprocessor PC....... no more IRQ23 conflict.   And most importantly, the PC reboots as it should when I tell it to.

Thanks everyone for your contributions in helping me figure this out.

Commented:
I don't understand. Was the fix installing a fresh copy of Windows XP or changing the HAL from single to multi core?
 

Author

Commented:
I took an image of the laptop as it was having the restart problem............  I then installed a fresh copy of Windows to a) see if how the HAL would be detected on a fresh install and b) to eliminate a hardware issue itself.    After I realized that the HAL was being detected as a multicore and the laptop was now rebooting ok, I dumped the original problematic image back onto the PC using Ghost and used the DEVCON tool with the commands listed in the article to change the HAL.  Literally took a minute to make the change.  So......I could have gone about it either way, but changing the HAL on the original image solved my problem.

Author

Commented:
Sorry if i previous post was a little confusing...... guess I didn't explain all the steps I took along the way.

Commented:
Thanks for clearing that up for me.
 

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial