Link to home
Start Free TrialLog in
Avatar of willp2
willp2

asked on

Stop chkdsk from running at boot on Windows Server 2003

I have a Windows Server 2003 box that kicked out a few NTFS errors in the file system log. Nothing big but I wanted to take care of it. I checked the drive with the drive manufacturers tools and everything looks good there.

So I thought I should try running a chkdsk /r on the volume. It told me the drive was in use and asked if I wanted schedule it to run on the next reboot. I say yes and reboot the computer.

Now the chkdsk starts and gets up to stage 4 where it hangs. I let it run since Thursday of last week thinking it may just take a long time. When I check back to day it is still going. I need the server running so I reboot the computer. It starts chkdsk again and gives me 10 seconds to hit a key to skip the error check but it won’t stop with a key press. The keyboard is working with the PC as I can get into the BIOS.

I booted with a Win PE disk and verified that the disk is not dirty. I also ran chkntfs /x on the volume as I read that this is supposed to stop the scheduled scan from running. But it still runs following a reboot.

Can anyone give me some insight on how to stop chkdsk from running? I do have backups but would really like to avoid rebuilding this server as that will be a very big job.

Thanks!
Avatar of neothwin
neothwin

pls check the dirty bit...

e.g
fsutil dirty query C:
Avatar of willp2

ASKER

I did verify that the disk is not dirty chkntfs.

Thanks
check the fallowing link also

http://forums.techarena.in/windows-xp-support/662850.htm


boot system to last known good configuration or safe mode as possible and add fallowing reg file to your system regedit !

 disablecheckdisk.reg
First click Start> Run> bring up a command prompt by typing in "CMD" and type " fsutil dirty query d: ". This queries the drive, and more than likely it will tell you that it is dirty. Next, type "CHKNTFS /X D:". The X tells Windows to NOT check that particular drive on the next reboot. At this time, manually reboot your computer, it should not do a Chkdsk and take you directly to Windows.

ASKER CERTIFIED SOLUTION
Avatar of Amitabh Singh
Amitabh Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willp2

ASKER

Tech_Eng - Thanks, I had actually been using that link as a resource. Not sure how to work with the registry as I can't get into Windows. I have a Win PE environment, can I import a registry file from the command line?

dcsozinsta - I have tried all this already, except I can't get into Windows so I had to do that from a Win PE environment.
Avatar of johnb6767
"dcsozinsta - I have tried all this already, except I can't get into Windows so I had to do that from a Win PE environment."

Use Autoruns from a thumb drive while booted to PE, and select File>"Analyze Offline System"......

http://live.sysinternals.com/autoruns.exe

There is a Boot Execute Tab.... That also has this AutoChk entry......

Either that or load the "Software" registry hive from PE..........
Have you tried this?
How To Use the Recovery Console on a Windows Server 2003-Based Computer That Does Not Start
http://support.microsoft.com/kb/326215
Avatar of willp2

ASKER

I was finally able to boot to Win PE, open the registry hive on the server and make change the registry to stop chkdsk from loading.

Thanks for the help.