?
Solved

Windows XP takes forever to shut down, always scandisk second partition

Posted on 2004-10-11
14
Medium Priority
?
499 Views
Last Modified: 2008-01-09
Alright.  Running Windows XP Professional with SP1.  No problems during the operation of my system.  I don't crash.  I don't hang.  No problems.

However, when I shut down, everything closes as usual, it saves my settings for about 5-6 mins and then shuts my computer off!!!  It normally does it in 30-40 seconds.

Then when I reboot in the morning or afternoon, or anytime I reboot, it wants to check the disk for errors but it only checks the second partition of the only hard drive in the system.  The dirty bit IS set for this parition however it never seems to clear and it never finds any problems.  I've done tons and tons of searching on the net, these communities with other similar problems but the closest i've come to find an answer is this.  Microsoft has released some patch for this problem for 98 and ME and supposedly XP but noone can remember where to get the XP patch.  I'm tired of spending hours trying to fix this problem and its only come since i've upgraded to SP1 although it was not right after I upgraded.  So 500 points to whoever can fix this the fastest.  I thank you for your time as I'm done wasting mine.
0
Comment
Question by:Niagol
[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
14 Comments
 
LVL 8

Expert Comment

by:Jupiler78
ID: 12274762
Hi Niagol,

have you tried the option start->run->shutdown -f

Cheers!
0
 
LVL 1

Author Comment

by:Niagol
ID: 12274795
In trying to shut down faster?  No.. I'd like to beable to just click shutdown when i'm ready to sleep.  And my real problem is in regards to the fact that I scandisk every single boot.  I provided the shutdown information as I believe it may have some significance although I have no knowledge of how to check what is taking so long.
0
 
LVL 8

Expert Comment

by:qfren
ID: 12274815
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Niagol
ID: 12274998
Thank you for the links to all the great hard drive companies.  I did download the WD Diagnositic and run the testing.  All is good with my hard drive.  Might I note that the problem is only with the 2nd partition of the hard drive.  It never has a problem with C which is what it boots off.

Perhaps someone out there knows how to unset the dirty bit?  Or of this elusive patch for XP that know one can remember where to get?
0
 
LVL 3

Expert Comment

by:4ceReconSniper
ID: 12275143
try booting/shutting down in safe mode then tell us if it shuts down properly
0
 
LVL 9

Expert Comment

by:ezraa
ID: 12275364
To skip windows from checking a drive with the dirty bit set you should run any time before shutdown (maybe in a batch file on start up):

chkntfs /x d:

This skips the auto disk check (if dirty bit is set) on drive d. This is not always recommended as sometimes corruption does occur, so once every other week or so it might be smart to run:

chkntfs /D  (this restores the default settings)

(feel free to ignore the rest of my ranting....)
I think your real problem is the shutdown issue: Windows does not know how to shut down your computer properly, and that is why it sets the 'dirty' flag on the partition. You should check the Application and System Logs in Event Viewer in the computer managment console to see if you can figure out why the computer isn't shutting down correctly. It could be a problem with device drivers, network traffic, or just a random program that is refusing to shut down correctly. Frequently the fastest way to fix these problems is to reinstall windows.
0
 

Expert Comment

by:Rrech
ID: 12278764
I have run into this problem on about 8 computers on the network.  To correct it, I've installed a program called UPHClean.exe this program is offered free from Microsoft.  What is happening is that a program or service (maybee even driver) is not releasing he registry, causing the pc to take a long time logging off.  UPHClean forces that service, driver or application to realease the registry.  To Download and read more, please go here:

http://www.microsoft.com/downloads/details.aspx?familyid=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

Rob
0
 
LVL 2

Expert Comment

by:stokesj56
ID: 12279499
Have you tried reformatting that partition? Remember format is distructive so backup your data there first.
0
 
LVL 1

Expert Comment

by:Mr_C_Obvious
ID: 12279758
it sounds to like a memory leak (some program is not shutting down) so it's doing the scandisk like an improper shut down was done.

is a free quick shut down program

http://www.g4techtv.com/callforhelp/features/44029/Free_File_Slawdog_Smart_Shutdown.html?
0
 
LVL 1

Author Comment

by:Niagol
ID: 12284119
Alright.. I've checked the logs and cannot find anything not shutting down correctly.  As for the scandisk this is what it comes up with anytime I let it scan.  Pulled from a Winlogon source:
----------
Checking file system on E:
The type of the file system is NTFS.


One of your disks needs to be checked for consistency. You
may cancel the disk check, but it is strongly recommended
that you continue.
Windows will now check the disk.                        
Cleaning up 1 unused index entries from index $SII of file 0x9.
Cleaning up 1 unused index entries from index $SDH of file 0x9.
Cleaning up 1 unused security descriptors.
-----------

I will be checking a the programs listed above to check to solve the shutdown problem however the dirty bit is set always.  So even if I fix that it will still scan disk.  Is there a way to unset that bit?
0
 
LVL 1

Author Comment

by:Niagol
ID: 12284798
The two programs listed do not work in solving this problem.  I've even tried moving my page file from the E drive back to the C drive but to no aval either.  I cannot seem to find a way to see what is going on.  Event viewer successfully shuts down in its own event list but nothing else is "running" according to it.  A complete FULL scan on the hard drive shows no errors, no bad blocks, nothing.  I have no programs on my E drive just data.  The only thing left on the E drive that is accessed by the system is that I have my "My Documents" folder relocated to E however its been like this for quite some time now so it doesn't make sense to just start doing that all of a sudden.  I did reboot in safe mode as was asked and it took me almost a full 40 mins to get back into my computer as it took twice as long to start up and shut down.  I'll go back to what I'm really looking for.  Is there a way to unset the dirty bit OR a way to find out what/why its being set?  Thank you for your continued brain bending.
0
 
LVL 9

Assisted Solution

by:ezraa
ezraa earned 400 total points
ID: 12286977
did you try running:

chkntfs /x e:

before restarting?
0
 
LVL 16

Accepted Solution

by:
Nyaema earned 1600 total points
ID: 12289757
Configure the machine not to clear the pagefile when it shuts down.

You'll need to edit the registry

Start-> Run
regedit
Expand HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
If the value ClearPageFileAtShutdown does not exist, from the Edit menu select New - DWORD value and enter a name of ClearPageFileAtShutdown
Double click on ClearPageFileAtShutdown and set it to 0

Reboot the machine and next time you shutdown the pagefile will not be cleared
0
 
LVL 1

Author Comment

by:Niagol
ID: 12295438
You guys are awesome.  Ezraa sorry I didn't see your suggestion above.  It did not help the shutdown and only shut off the check.  The dirty bit is still set which to me is like sweeping the problem under the rug.  Nyaema the system now shuts down faster than it used to!  Awesome help.  If anybody knows how to unset a dirty bit that would be wonderful but as for now I just rebooted 5 times trying this and it only took me 30mins total time including use!!!  Thanks ALOT to you all.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

770 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