This is a read-only archive. No new posts or registrations. Privacy Page Still need help? Ask the volunteers at Geeks to Go, free.
Software

Slow Windows XP Prof. SP3 startup

14 min read

This thread's last reply is from . Advice, software, and links below may be out of date — treat specific steps and download links with caution.

Do you have the installation CD? If so put it in and see what happens. If it doesn't get better you can roll back the drive via Device Manager or reinstall the older version again.
OK, I could not get it to work and it looked to me that the new diver had not installed even though it seemed as if it had. There was a yellow question mark against it in Device Manager and I could not see that it was operational, which is why the default standard VGA was still running. I do not have any disks. I could not roll back in Device Manager as it said no previous drivers were backed up !! I decided to use System Restore to recover to previous working state and fortunately for me this was successful. I have never manually installed or updated drivers before and found myself a little out of my depth with knowledge on this when there was a problem. My thoughts were that I have been running with the old driver for years and this slow start up has only occured as a result of the virus, so would the virus damage the display driver. As starting with the default VGA driver is still slow in standard startup, I presume we can be satisfied that it is not the driver at fault. Anyway I am back running again, so where now?
Perhaps the hard drive is running in PIO mode instead of DMA mode:

Open Device Manager by right clicking on My Computer and selecting Properties. Click on the Hardware tab then click on the Device Manager button.
In Device Manager, expand IDE ATA/ATAPI controllers. Right click on the Primary IDE channel, click Properties, then the Advanced Settings tab.
Current Transfer Mode will be listed there for any device connected to the channel.
Repeat for Secondary IDE channel.
If any are running in PIO mode, select DMA if available from the Transfer Mode drop down selection box. Click OK then close out the remaining windows.

Reboot and see if that makes any difference.

If not you can use this Visual Basic script to force DMA mode.

On way is to run a Visual Basic Script to reset all available IDE components from PIO to DMA mode. This should give you a good performance improvement if you have been running in PIO mode.

Open a note pad window. Copy all the data from the following code box into it. Save as "ForceDMAMode.vbs" to your Desktop (enclose in double quotes so notepad won't tack .txt to the end).

' Visual Basic Script program to reset the DMA status of all ATA drives

' Copyright © 2006 Hans-Georg Michna

' Version 2007-04-04

' Works in Windows XP, probably also in Windows 2000 and NT.
' Does no harm if Windows version is incompatible.

If MsgBox("This program will now reset the DMA status of all ATA drives with Windows drivers." _
& vbNewline & "Windows will redetect the status after the next reboot, therefore this procedure" _
& vbNewline & "should be harmless.", _
vbOkCancel, "Program start message") _
= vbOk Then

RegPath = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\"
ValueName1Master = "MasterIdDataChecksum"
ValueName1Slave = "SlaveIdDataChecksum"
ValueName2Master = "UserMasterDeviceTimingModeAllowed"
ValueName2Slave = "UserSlaveDeviceTimingModeAllowed"
ValueName3 = "ResetErrorCountersOnSuccess"
MessageText = "The following ATA channels have been reset:"
MessageTextLen0 = Len(MessageText)
ConsecutiveMisses = 0
Set WshShell = WScript.CreateObject("WScript.Shell")

For i = 0 to 999
RegSubPath = Right("000" & i, 4) & "\"

' Master

Err.Clear
On Error Resume Next
WshShell.RegRead RegPath & RegSubPath & ValueName1Master
errMaster = Err.Number
On Error Goto 0
If errMaster = 0 Then
On Error Resume Next
WshShell.RegDelete RegPath & RegSubPath & ValueName1Master
WshShell.RegDelete RegPath & RegSubPath & ValueName2Master
On Error Goto 0
MessageText = MessageText & vbNewLine & "Master"
End If

' Slave

Err.Clear
On Error Resume Next
WshShell.RegRead RegPath & RegSubPath & ValueName1Slave
errSlave = Err.Number
On Error Goto 0
If errSlave = 0 Then
On Error Resume Next
WshShell.RegDelete RegPath & RegSubPath & ValueName1Slave
WshShell.RegDelete RegPath & RegSubPath & ValueName2Slave
On Error Goto 0
If errMaster = 0 Then
MessageText = MessageText & " and "
Else
MessageText = MessageText & vbNewLine
End If
MessageText = MessageText & "Slave"
End If

If errMaster = 0 Or errSlave = 0 Then
On Error Resume Next
WshShell.RegWrite RegPath & RegSubPath & ValueName3, 1, "REG_DWORD"
On Error Goto 0
ChannelName = "unnamed channel " & Left(RegSubPath, 4)
On Error Resume Next
ChannelName = WshShell.RegRead(RegPath & RegSubPath & "DriverDesc")
On Error Goto 0
MessageText = MessageText & " of " & ChannelName & ";"
ConsecutiveMisses = 0
Else
ConsecutiveMisses = ConsecutiveMisses + 1
If ConsecutiveMisses >= 32 Then Exit For ' Don't search unnecessarily long.
End If
Next ' i

If Len(MessageText) <= MessageTextLen0 Then
MessageText = "No resettable ATA channels with Windows drivers found. Nothing changed."
Else
MessageText = MessageText & vbNewline _
& "Please reboot now to reset and redetect the DMA status."
End If

MsgBox MessageText, vbOkOnly, "Program finished normally"

End If ' MsgBox(…) = vbOk

' End of Visual Basic Script program

Once it's saved to your computer, open Windows Explorer and navigate to where you saved it and double click on it. Click OK as necessary to run it.
Bingo!! success, the problem is solved, startup back to normal speed.

One of the Devices was set to PIO and greyed out so it could not be changed.
I tried to run the script from a notepad saving (title in double scripts) but it would not start with a double click, or anything else! Anyway as luck would have it I found an alternative fix script on website:- http://Winhlp.com/node/10 when surfing for info on this problem. It worked a like a charm.
The entry in Device Manager is now changed to DMA mode and all works perfectly, back to fast start speed as in the past.

I read there are a number of reasons why Windows may change the setting to PIO including repeated(x6) Virus activity/antivirus actions. So this looks as if that is what happened to me.
Windows should have a popup warning of changes to this type of setting, you could almost never find this had happened.

Just for interest, in the Device Manager under IDE ATA…….. when expanded, I only have two entries:-
- Intel® 82801FB/FBM Ultra ATA Storage Controllers - 266F
- Primary IDE Channel (with ttwo devices)
There are no Secondary Channels, which seems odd.
On my other laptop with same software, there are two Primary channels and two Secondary channels.

So I am a very happy bunny on this Friday afternoon, and will keep my fingers crossed that Windows does not change the setting back to PIO again if it detects any remaining underlying cause.

This has been a long road to find the solution and so I cannot thank you and Conspire enough for your undeterred efforts to solve this. I know he said he would continue reading this thread for interest, so hope he has.
It just goes to prove that persistance pays off, you are both gems, thank you so much. Mark it up as yet another beer you are owed, when the time comes to settle up either in this life or the next, we will get very drunk together.

Many, many thanks and very kind regards
Barry (bar457)

Windows should have a popup warning of changes to this type of setting, you could almost never find this had happened.


I'm fairly certain that WinPatrol program guard (even the free version) would pop-up with a notice of such an important settings change trying to take place with an "allow / disallow" option. Among other things, the program does seem to protect vital settings and main registry areas well.

Cheers,
Lee
Thanks Lee, I have downloaded WinPatrol and will give it a go. Anything is worth trying to avoid that sort of work up ever again. It should be Windows policy to warn of any system changes that have an effect on the operation, especially when they must be aware that it will be almost impossible to know of the change and no chance to correct any faults that have caused it. Ah well, I guess we are expecting everything in life to be perfect! Again many thanks to you all, I guess we have all learnt something. kind regard……….Barry

Still having this problem?

This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.

Ask on Geeks to Go →