Windows Forum / Windows XP / General Topics 1 / August 2008
CHKDSK won't finish, XP won't start
|
|
Thread rating:  |
MichaelG - 18 Aug 2008 16:31 GMT I scheduled a check disk from within XP, it freezes on the 4th part at 66%. I have tried a repair which runs but then on the reboot, it runs check disk again... and freezes at 66%. How can i cancel check disk before windows loads. From the command prompt chkntfs is not a valid program. I can not open in safe mode.
Thanks in advance.
David B. - 18 Aug 2008 16:37 GMT Before doing any more software work on the drive, determine the mfg of your drive and download and run their diagnostic utility to make sure your drive isn't going/hasn't gone bad.
 Signature ---- Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm How to ask a question http://support.microsoft.com/kb/555375
>I scheduled a check disk from within XP, it freezes on the 4th part at 66%. >I [quoted text clipped - 5 lines] > > Thanks in advance. MichaelG - 18 Aug 2008 16:56 GMT It passes all hardware diagnostics.
> Before doing any more software work on the drive, determine the mfg of your > drive and download and run their diagnostic utility to make sure your drive [quoted text clipped - 9 lines] > > > > Thanks in advance. John John (MVP) - 18 Aug 2008 17:43 GMT How long did you leave the chkdsk run? To disable the chkdsk you will have to remotely edit the registry and remove the pertinent entry in the BootExecute value.
How to Cancel CHKDSK After It Has Been Scheduled http://support.microsoft.com/kb/158675
Easy to follow instructions for remotely editing the registry: http://www.rwin.ch/xp-live/regedit.htm
John
> It passes all hardware diagnostics. > [quoted text clipped - 11 lines] >>> >>>Thanks in advance. MichaelG - 18 Aug 2008 17:58 GMT I can't run the registry editor because I can't load windows xp.
> How long did you leave the chkdsk run? To disable the chkdsk you will > have to remotely edit the registry and remove the pertinent entry in the [quoted text clipped - 23 lines] > >>> > >>>Thanks in advance. John John (MVP) - 18 Aug 2008 18:34 GMT I know that, that is why I gave you a link to instructions on how to do it when you can't boot Windows. If you don't want to do it that way then you will have to boot the computer with a Bart PE disk or a UBCD4Win disk and have a registry plugin onboard to edit the registry. Or you will have to perform a parallel Windows XP installation. There is no other way to remove the BootExecute instructions from the registry and to cancel Chkdsk on boot... unless you let chkdsk run to a successful conclusion.
John
> I can't run the registry editor because I can't load windows xp. > [quoted text clipped - 25 lines] >>>>> >>>>>Thanks in advance. Alan - 18 Aug 2008 22:30 GMT Hi John,
This is an offshoot question regarding CHKDSK.
Once CHKDSK does start, is there any SAFE way of stopping it?
Alan
>I know that, that is why I gave you a link to instructions on how to do it >when you can't boot Windows. If you don't want to do it that way then you [quoted text clipped - 38 lines] >>>>>> >>>>>>Thanks in advance. John John (MVP) - 18 Aug 2008 22:39 GMT No, a chkdsk in progress cannot be safely stopped, you must let it run its course.
John
> Hi John, > [quoted text clipped - 46 lines] >>>>>>> >>>>>>>Thanks in advance. David B. - 19 Aug 2008 14:49 GMT Nope, had a customer do that, destroyed their file system.
 Signature ---- Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm How to ask a question http://support.microsoft.com/kb/555375
> Hi John, > [quoted text clipped - 46 lines] >>>>>>> >>>>>>>Thanks in advance. David B. - 18 Aug 2008 17:45 GMT Which hardware diagnostic did you use?
 Signature ---- Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm How to ask a question http://support.microsoft.com/kb/555375
> It passes all hardware diagnostics. > [quoted text clipped - 16 lines] >> > >> > Thanks in advance. MichaelG - 18 Aug 2008 17:59 GMT The diagonostics that come with the machine. It is a Dell Precision 390 workstation with pentium 4 processor. F12 on boot brings you to the machine diags.
> Which hardware diagnostic did you use? > [quoted text clipped - 18 lines] > >> > > >> > Thanks in advance. David B. - 18 Aug 2008 18:13 GMT As I said, use the drive mfg's diagnostics, Dell's are lacking, on more than one occasion Dell diags told me a drive was fine when it wasn't.
 Signature ---- Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm How to ask a question http://support.microsoft.com/kb/555375
> The diagonostics that come with the machine. It is a Dell Precision 390 > workstation with pentium 4 processor. F12 on boot brings you to the [quoted text clipped - 25 lines] >> >> > >> >> > Thanks in advance. MichaelG - 18 Aug 2008 18:21 GMT Ok, so even if it isn't, how do i bypass check disk so i can get the data off? That's really all i need to do at this point. I can get a new hard drive and i was hoping to avoid putting this one in another PC
> As I said, use the drive mfg's diagnostics, Dell's are lacking, on more than > one occasion Dell diags told me a drive was fine when it wasn't. [quoted text clipped - 28 lines] > >> >> > > >> >> > Thanks in advance. David B. - 18 Aug 2008 19:31 GMT At this point I think slaving it on another PC is your best option if that data is that important. Or you can install a second hard drive and use a bootable OS like BartPE to do the data copy on the original PC.
 Signature ---- Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm How to ask a question http://support.microsoft.com/kb/555375
> Ok, so even if it isn't, how do i bypass check disk so i can get the data > off? That's really all i need to do at this point. I can get a new hard [quoted text clipped - 39 lines] >> >> >> > >> >> >> > Thanks in advance. Gerry - 18 Aug 2008 19:13 GMT Michael
Run Disk CleanUp in all User Profiles before running chkdsk or Disk Defragmenter. Alternatively run cCleaner.
Stage 4 is checking for bad sectors. If one or more are found the system will try to map off the sectors as out of bounds. This can take a very long time. I would set it up to run over night and go to bed early and get up late. It is not unusual for users to report chkdsk taking more than 24 hours.
An explanation of CHKDSK and the new /C and /I switches http://support.microsoft.com/kb/187941
 Signature Hope this helps.
Gerry ~~~~ FCA Stourport, England Enquire, plan and execute ~~~~~~~~~~~~~~~~~~~
> It passes all hardware diagnostics. > [quoted text clipped - 18 lines] >>> >>> Thanks in advance. MichaelG - 18 Aug 2008 19:45 GMT Thanks Gerry, I actually ran it all weekend and when i came in Monday it was still stuck on the 66%. I have since taken the hard drive out and put it in another PC. I defraged it and am no running Check Disk. It is on phase 5 so i am hopeful that it will finish and i can put it back in the original PC. I will try the disk Cleanup on the profiles if i get this going.
> Michael > [quoted text clipped - 32 lines] > >>> > >>> Thanks in advance. John John (MVP) - 18 Aug 2008 20:03 GMT Before you put it back in the machine you will still have to change the registry's BootExecute value, if you don't when it boots it will want to run chkdsk again.
John
> Thanks Gerry, > I actually ran it all weekend and when i came in Monday it was still stuck [quoted text clipped - 39 lines] >>>>> >>>>>Thanks in advance. ptmx2 - 21 Aug 2008 02:36 GMT John, since the guys have gone over the hill, pehaps I can use your presence on this tread to ask you a question. I want my XPSP3 machine to run the first 3 phases of Chkdsk on every startup. I want chkdsk to chech 2 partitions each time, one being my XP root partition. What I also want to see is the exact same result from this proposed auto-run of Chkdsk to replicate what I see when, while in Windows, I go to Properties of each drive partition, select Tools\Error Checking\Automatically fix file system errors. On each partition, XP explains it can not be done while disk is in use but invites the user to check a box and the Chkdsk will be done on next startup. When next startup occurs, there is the BIOS checklist scrolled on screen, the Windows XP Start Screen with the blue progress bar and then the screen goes dark and up pops a light blue screen advising that a check disk is scheduled in 'x' seconds. It the user lets the time run out, the process starts, shows its progress on screen, gives you a result, and then restarts Windows from the beginning thru the Windows XP Start Screen with progress bar to the login box. Do you know this process? I am sure you will. Can I configure XP to do the above with the same visual results automatically? I tried using a scheduled task but that did not give me the results I was looking for.
your help will be appreciated. thanks ptmx2
> Before you put it back in the machine you will still have to change the > registry's BootExecute value, if you don't when it boots it will want to [quoted text clipped - 45 lines] > >>>>> > >>>>>Thanks in advance. Gary S. Terhune - 21 Aug 2008 09:29 GMT Please don't hijack this thread. It is quite rude. Start a new one. If you insist on only John answering, then say so in the Subject. "For John John MVP -- CHKDSK Question" I'm sure he'll find it, since he'll have read this and your previous.
 Signature Gary S. Terhune MS-MVP Shell/User http://grystmill.com
> John, > since the guys have gone over the hill, pehaps I can use your presence on [quoted text clipped - 83 lines] >> >>>>> >> >>>>>Thanks in advance. ptmx2 - 21 Aug 2008 18:08 GMT my apologies. I tried to start a new thread. I encountered a problem doing so. I found the thread I posted to by searching; however I do not recall where I began. My search result is a page of posts listed in what is identifed as "Expert Zone Newsgroups". When I try to start a new tread, the WXP newsgroup reader asks which discussion group I want to post in, and "Expert Zone Newsgroup" is not listed. How do I post to this discussion group as it appears it is not listed. thank you.
> Please don't hijack this thread. It is quite rude. Start a new one. If you > insist on only John answering, then say so in the Subject. "For John John [quoted text clipped - 88 lines] > >> >>>>> > >> >>>>>Thanks in advance. John John (MVP) - 21 Aug 2008 19:38 GMT No problem, I'll answer your question later but I have to ask, why on earth do you want to have chkdsk running at *every* startup? That is really quite uneccessary, chkdsk shouldn't be run without valid reasons.
John
PS: To access the newsgroup with your news reader try clicking on this link:
news://msnews.microsoft.com/microsoft.public.windowsxp.general
> my apologies. I tried to start a new thread. I encountered a problem doing > so. I found the thread I posted to by searching; however I do not recall [quoted text clipped - 97 lines] >>>>>>>>> >>>>>>>>>Thanks in advance. ptmx2 - 21 Aug 2008 21:22 GMT thank you. every now and then, i have odd little problems with XP. nothing major, just annoyances. My current install is about 5-6 years old now and was installed on a clean disk. but things happen over time. i found that by running chkdsk with only the "automatically fix file system errors" selected that I never experience a bad shutdown and very seldom get a hang up or any other problems while using windows and my software applications.... As you know, my chkdsk selection does not include the bad sector check and repair steps. In my thinking, that step can have serious consequences and I would only use it if a genuine problem was evident or possible with the hdisk or a partition...I would probably begin to realize that through regular viewing of my Event Viewer and the overall behavior of my computer. I listen to it all the time.
ps. I notice we are now discussing this topic in the Windows XP General Discussion Group. Relative to how this message seems to be Group hopping is confusing to me...
> No problem, I'll answer your question later but I have to ask, why on > earth do you want to have chkdsk running at *every* startup? That is [quoted text clipped - 108 lines] > >>>>>>>>> > >>>>>>>>>Thanks in advance. John John (MVP) - 22 Aug 2008 02:35 GMT I hope you have reliable a backup of your precious files, if you are to the point where your disk and file system have to be constantly fixed by Chkdsk to run properly you may need it, maybe sooner than later! Instead of stretching your luck with Chkdsk you should be doing tests on your hard drive and making preparations for a disk replacement.
From the onset it should be noted that the startup disk check tool is Autochk.exe, this native NT application is designed to check the disk without the support of the Win32 subsystem, otherwise it does the same thing as Chkdsk. There are two ways to have Chkdsk run when the computer starts, Autochk will run if you schedule it to run or by default it will run if the volume's dirty bit is set. If the operating system detects problems it will automatically set the dirty bit and the volume will be checked at the next startup. The dirty bit can also be set manually but it is best not to do this and to leave the setting of the dirty bit to the operating system. Once set the dirty bit cannot be changed and while the boot time check can be skipped it cannot be canceled, on the other hand, a scheduled Chkdsk without the dirty bit can be canceled at any time.
To schedule a Chkdsk at the next reboot:
On the Windows volume, assumes the volume is C:
At the command prompt issue:
chkdsk c: /f
Chkdsk will return a message telling you that it cannot lock or dismount the volume and ask you if you want to schedule a Chkdsk at the next restart, answer Yes.
For dismountable data volumes, assumes the volume is D:
Open a file on the volume, or explore the volume with Explorer. Then at the Command prompt issue:
chkdsk d: /f
Chkdsk will inform you that the volume is being used by another process and it will ask you if you want to force a dismount on the volume, answer No. Chkdsk will then ask you if you want to schedule a Chkdsk at the next restart, answer Yes.
Now the drives are scheduled to run at the next restart. To do this in a semi-automated manner, after doing the above:
Using Regedit export the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager] key.
This exported file will be fairly large, edit the saved file and remove/delete everything except the BootExecute value, the edited file will look like this:
========================================================== Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager] "BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20, ....... with a long series of numbers.
=====================================================
(Leave a blank line at the end of the file.) You only want to save the BootExecute value, nothing else!
Save the edited .reg file and when you want to schedule the Chkdsk merge it to the registry. You can use any of the common methods to automatically merge the file when the computer boots, you can use a Startup or Logon script, put the file, a .bat file or a shortcut in the Startup folder. Use the silent switch to suppress the confirmation request, a shortcut's typical target could be:
%windir%\regedit.exe /s "c:\Path to BootChk.reg"
To cancel all scheduled Chkdsk at the command prompt issue"
chkntfs /d
John
> thank you. > every now and then, i have odd little problems with XP. nothing major, just [quoted text clipped - 125 lines] >>>>>>>>>>> >>>>>>>>>>>Thanks in advance. ptmx2 - 23 Aug 2008 15:28 GMT PTMX2's reply to John, inserted in the text of John's last message:
I hope you have reliable a backup of your precious files, if you are to the point where your disk and file system have to be constantly fixed by Chkdsk to run properly you may need it, maybe sooner than later! Instead of stretching your luck with Chkdsk you should be doing tests on your hard drive and making preparations for a disk replacement.
[ptmx2: First of all, allow me to say you are a craftsman, sir! Thank you... You provided a way to give me exactly what I asked for in my original post. I do understand your comment above. I explained the reason for my practice to in my original post. I also understand why you might urge any reader to be careful and mindful with a computer 'problem', as they are a sign of well, a 'problem'. Fortunately, I am not one to ignore such things however; many folks are. Also, if one takes another's advice, he does so with full self responsibility. I will say as a non-pro self taught computer user it appears to me that most problems start out as operating and/or application system errors and/or conflicts that are haphazardly and repeatedly ignored by the user. That user is simply asking for trouble... Ignoring existing problems Guarantees that they will only get worse !! - end] From the onset it should be noted that the startup disk check tool is Autochk.exe, this native NT application is designed to check the disk without the support of the Win32 subsystem, otherwise it does the same thing as Chkdsk. There are two ways to have Chkdsk run when the computer starts, Autochk will run if you schedule it to run or by default it will run if the volume's dirty bit is set. If the operating system detects problems it will automatically set the dirty bit and the volume will be checked at the next startup. The dirty bit can also be set manually but it is best not to do this and to leave the setting of the dirty bit to the operating system. Once set the dirty bit cannot be changed and while the boot time check can be skipped it cannot be canceled, on the other hand, a scheduled Chkdsk without the dirty bit can be canceled at any time.
To schedule a Chkdsk at the next reboot:
On the Windows volume, assumes the volume is C: At the command prompt issue: chkdsk c: /f Chkdsk will return a message telling you that it cannot lock or dismount the volume and ask you if you want to schedule a Chkdsk at the next restart, answer Yes.
For dismountable data volumes, assumes the volume is D: Open a file on the volume, or explore the volume with Explorer. Then at the Command prompt issue: chkdsk d: /f Chkdsk will inform you that the volume is being used by another process and it will ask you if you want to force a dismount on the volume, answer No. Chkdsk will then ask you if you want to schedule a Chkdsk at the next restart, answer Yes. Now the drives are scheduled to run at the next restart. To do this in a semi-automated manner, after doing the above: Using Regedit export the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager] key. This exported file will be fairly large, edit the saved file and remove/delete everything except the BootExecute value, the edited file will look like this: ========================================================== Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager] "BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20, ........ with a long series of numbers. ===================================================== (Leave a blank line at the end of the file.) You only want to save the BootExecute value, nothing else! Save the edited .reg file, and when you want to schedule the Chkdsk, merge the edited .reg file in to the registry.
[ptmx2: since i do not know how to write scripts and i have forgotten how to write batch files, i originally placed the edited .reg file in the Startup folder under my user profile. - end]
You can use any of the common methods to automatically merge the file when the computer boots, you can use a Startup or Logon script, put the file, a .bat file or a shortcut in the Startup folder. Use the silent switch to suppress the confirmation request, a shortcut's typical target could be: %windir%\regedit.exe /s "c:\Path to BootChk.reg" To cancel all scheduled Chkdsk at the command prompt issue" chkntfs /d [ptmx2: may i add that running chkntfs /d before starting the process above might be also be beneficial. Just to start off with a clean slate so to speak. - end] John [ptmx2: the shortcut was a Very nice finishing touch. I choose to remove and move the 'edited' .reg file from my Startup folder and to keep the shortcut handy by placing it on my desktop. Now I am just one click away whenever I want this task to run. Thank you again for your willingness to take on this issue and the excellent "advice" provided. - end] ==================================================
> > thank you. > > every now and then, i have odd little problems with XP. nothing major, just [quoted text clipped - 125 lines] > >>>>>>>>>>> > >>>>>>>>>>>Thanks in advance. txgeek - 23 Aug 2008 18:33 GMT download Speedfan. it is a neat utility to monitor internal and HDD temps. PLUS it has a SMART tool, and comparator for your HDD to estimate its status vs others in the world.
http://www.almico.com/sfdownload.php
hope this helps
> PTMX2's reply to John, inserted in the text of John's last message: > [quoted text clipped - 232 lines] >>>>>>>>>>>>> >>>>>>>>>>>>>Thanks in advance. John John (MVP) - 24 Aug 2008 12:31 GMT > chkntfs /d > [ptmx2: may i add that running chkntfs /d before starting the process above > might be also be beneficial. Just to start off with a clean slate so to > speak. - end] That's a very good point, I hadn't thought of that. Running the command beforehand would remove any chkdsk that might have already been scheduled.
> John > [ptmx2: the shortcut was a Very nice finishing touch. I choose to remove and > move the 'edited' .reg file from my Startup folder and to keep the shortcut > handy by placing it on my desktop. Now I am just one click away whenever I > want this task to run. Thank you again for your willingness to take on this > issue and the excellent "advice" provided. - end] You're welcome, I glad it was of help to you.
John
Gerry - 18 Aug 2008 22:24 GMT Michael
You can get a report concerning bad sectors from chkdsk. Also you will likely find file fragments.
The logging of chkdsk operations is through Event Viewer but the information provided is not very detailed. You can get more information using chkdsk but in a different way to that which I think you have tried. Check the hard drive for bad sectors by running chkdsk c: /r. The omission of /f is deliberate. It will not take so long and just reports. Post a complete copy of what it says.
Another less intrusive way to investigate your hard drive is to use HD Tune.
Try HD Tune It only gives information and does not fix any problems.
Download and run it and see what it turns up. You want HD Tune (freeware) version 2.55 not HD Tune Pro (not Freeware) version 3.00. http://www.hdtune.com/
Select the Info tabs and place the cursor on the drive under Drive letter and then double click the two page icon ( copy to Clipboard ) and copy into a further message.
Select the Health tab and then double click the two page icon ( copy to Clipboard ) and copy into a further message. Make sure you do a full surface scan with HD Tune.
 Signature Hope this helps.
Gerry ~~~~ FCA Stourport, England Enquire, plan and execute ~~~~~~~~~~~~~~~~~~~
> Thanks Gerry, > I actually ran it all weekend and when i came in Monday it was still [quoted text clipped - 51 lines] >>>>> >>>>> Thanks in advance. db.·.. ><))) ·>` .. . - 18 Aug 2008 21:25 GMT you can run ckdsk from the recovery console via the windows xp setup cd (any)
while logged into the disk system you might also want to run:
fixboot bootcfg /rebuild fixmbr
-----------
sometimes, the booting system requires tuning up as well.
 Signature
db·´¯`·...¸><)))º>
>I scheduled a check disk from within XP, it freezes on the 4th part at 66%. I > have tried a repair which runs but then on the reboot, it runs check disk [quoted text clipped - 3 lines] > > Thanks in advance. Gerry - 18 Aug 2008 22:26 GMT "while logged into the disk system you might also want to run:
fixboot bootcfg /rebuild fixmbr"
Why?
~~~~
Gerry ~~~~ FCA Stourport, England Enquire, plan and execute ~~~~~~~~~~~~~~~~~~~
> you can run ckdsk > from the recovery [quoted text clipped - 22 lines] >> >> Thanks in advance. Gary S. Terhune - 19 Aug 2008 18:42 GMT No good reason. Just the typical "Windows is unstable and should be reinstalled every year" type of knee-jerk response one can expect from db-Idiot-Troll.
 Signature Gary S. Terhune MS-MVP Shell/User http://grystmill.com
> "while logged into the disk system you might also want to run: > [quoted text clipped - 39 lines] >>> >>> Thanks in advance. ColTom2 - 19 Aug 2008 14:33 GMT If you can obtain a copy of Spinrite bootable CD and run it then it will repair your hard drive and all your problems with it will be resolved. It's the best out in repairing bad sectors on hard drives and will transfer the data from the bad sector into a good sector and then block bad sectors from future use.
Google Spinrite if you have never heard of it.
I scheduled a check disk from within XP, it freezes on the 4th part at 66%. I have tried a repair which runs but then on the reboot, it runs check disk again... and freezes at 66%. How can i cancel check disk before windows loads. From the command prompt chkntfs is not a valid program. I can not open in safe mode.
Thanks in advance.
Plato - 21 Aug 2008 01:10 GMT =?Utf-8?B?TWljaGFlbEc=?= wrote:
> I scheduled a check disk from within XP, it freezes on the 4th part at 66%. I > have tried a repair which runs but then on the reboot, it runs check disk > again... and freezes at 66%. How can i cancel check disk before windows > loads. From the command prompt chkntfs is not a valid program. I can not open > in safe mode. Time for a new HDD.
 Signature http://www.bootdisk.com/
Monitor - 21 Aug 2008 07:35 GMT > =?Utf-8?B?TWljaGFlbEc=?= wrote: > > [quoted text clipped - 5 lines] > > Time for a new HDD. That's shooting from the hip. Before the OP replaces his disk, he must run the diagnostic program that the manufacturer of the current disk has on his web site.
Plato - 22 Aug 2008 10:55 GMT > > =?Utf-8?B?TWljaGFlbEc=?= wrote: > > > [quoted text clipped - 12 lines] > he must run the diagnostic program that the manufacturer of the > current disk has on his web site. You're right. I stand corrected.
|
|
|