Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: monkey07 on August 10, 2009, 11:00:12 PM

Title: Computer shuts down extremeley slow
Post by: monkey07 on August 10, 2009, 11:00:12 PM
Ok...when I turn the pc off like I said it takes forever to shut down.  I tried to run chkdsk and chkdsk/f but it gets to ten percent and stops.  Then I tell it to scan as I restart but never does,  it says I have a dirty flag on the c: drive if that makes since to anybody I've never heard of it...can you help?
Title: Re: Computer shuts down extremeley slow
Post by: Broni on August 10, 2009, 11:24:46 PM
Click Start, then Run, type cmd, and click "Ok".
At the prompt in the command window that opens, type:
fsutil dirty query C:
and press "Enter".
Does the result of this indicate the drive is "Dirty"?
Title: Re: Computer shuts down extremeley slow
Post by: monkey07 on August 10, 2009, 11:30:50 PM
yes it does
Title: Re: Computer shuts down extremeley slow
Post by: Broni on August 10, 2009, 11:36:00 PM
    * If you have Spyware Doctor installed, uninstall it.
    * If you have ZoneAlarm installed, open it, click the "Overview" tab, then select "Preferences", and UNcheck the "Protect ZA Client" check box.


Click Start, then Run, type cmd in the Open box and click "OK".
At the prompt in the Command window, type the following commands, pressing "Enter" after each one:
Please, note the spaces.

    * chkntfs /d <--- (This will reset autocheck options to default...will come back invalid on some installations)
    * chkntfs /c C: <--- (This will allow checking the specified drive )
    * chkntfs /x C: <--- (The x switch tells Windows to NOT check the specified drive on the next boot)


At this point, restart your computer, it will not do a chkdsk and will boot directly to Windows.


This next step is important as this is where the Dirty Bit will be unset.

Click Start, then Run, type cmd in the Open box and click "OK".
At the command prompt, type the following, pressing "Enter" after each one:
Again, note the spaces.

    * chkdsk /f /r C: <--- (To manually run a full chkdsk operation on the specified drive)
    * Y <--- (To accept having it run on the next boot)


This should take you through 5 stages of the scan and will unset the Dirty Bit.
Be patient...this is a very thorough check and will take quite a while.

Finally, when the chkdsk operation has completed, type:
fsutil dirty query C:
press "Enter", and Windows will confirm that the Dirty Bit is not set on that drive.

Reboot again and see if chkdsk still runs on startup.
Title: Re: Computer shuts down extremeley slow
Post by: monkey07 on August 10, 2009, 11:42:02 PM
thanks, however I have neither one of those programs so therefore just go to the other steps I guess?  I appreciate it and I'll let you know if it didn't work...thanks again
Title: Re: Computer shuts down extremeley slow
Post by: Broni on August 10, 2009, 11:48:06 PM
Yes, and you're welcome :)
Title: Re: Computer shuts down extremeley slow
Post by: monkey07 on August 11, 2009, 12:04:08 AM
yea...didn't work, whenever i did the "chkdsk /f /r C:" and then "Y" and pressed enter on both of them it said it wil do a chkdsk on restart.

dirty bit was still there at this time...

chdsk did not happen on restart
Title: Re: Computer shuts down extremeley slow
Post by: Broni on August 11, 2009, 12:13:48 AM
Did you run through all those steps?
Title: Re: Computer shuts down extremeley slow
Post by: monkey07 on August 11, 2009, 12:15:34 AM
yes
Title: Re: Computer shuts down extremeley slow
Post by: patio on August 11, 2009, 07:13:45 AM
Use chkdsk /r...

/r switch implies /f so there's no need for the extra switch...
Title: Re: Computer shuts down extremeley slow
Post by: Allan on August 11, 2009, 07:24:02 AM
Correct - chkdsk /r is the only switch you need.

1) Make sure "clear pagefile at shutdown" is not enabled:
start - run - regedit
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

Set ClearPageFileAtShutdown value to 0


2) Start - Run - Regedit
Navigate to the following Registry key:
HKEY CURRENT USER\Control Panel\Desktop
Double click on the AutoEndTasks entry and replace the 0 with a 1 in the Value data text box

For the next two, if the dword value indicated does not exist, create it:

Double click on the WaitToKillAppTimeout entry in the right pane and change the Value data to 2000

Double click on the HungAppTimeout entry in the right pane and change the Value data to 1000

Reboot

3) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Right-click on WaitToKillServiceTimeout and change it to 2000
Title: Re: Computer shuts down extremeley slow
Post by: monkey07 on August 13, 2009, 07:46:49 PM
I'm not finding the autoendtasks or the other two I went where you said...they're not their though...
Title: Re: Computer shuts down extremeley slow
Post by: Allan on August 14, 2009, 05:38:39 AM
You can create the keys & values.