Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Can't defrag


  • Please log in to reply
18 replies to this topic

#1 godzilla1347

godzilla1347

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 11:08 AM

When I went to defrag the computer, I got a message that chkdsk /f needs to check the volume first. So I open a prompt and typed in chkdsk /f and was told that it is being used by another process. Do I want to have it open the next time I start the computer and I said yes.

 

However, the next time I started the computer, I got the same message: chkdsk /f is being used by another process.

 

Until I get this chkdsk /f issue resolved, I can't defrag my computer.



BC AdBot (Login to Remove)

 


#2 petewills

petewills

  • Members
  • 1,377 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Birmingham, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 11:36 AM

Try Safe Mode with Command Prompt
 
At the c: prompt, type chkdsk c: /f and press enter, (space before the / )
Check disk will start to run but then it will say:
Chkdsk cannot run because the volume is in use by another process. 
Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
 
Type Y for yes, and press enter. 
Then try to reboot the computer into normal mode. 
Chkdsk should start when Windows begins loading again.


#3 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 12:31 PM

The problem is I did type y, pressed return, rebooted the computer and got the same message that chkdsk /f is being used by another process



#4 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 12:34 PM

I went to task Manager and looked at processes. I didn't see chkdsk. If it is being used then it has to be used by another process and I'm not sure which one. If I knew, I could close the process and try again.



#5 dls62

dls62

  • Members
  • 623 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Berkshire, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 12:46 PM

Open a command prompt and type the following:

 

fsutil dirty query C:

 

What output do you get?



#6 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 12:56 PM

What happens is that the dos box tries to open. I see it flash and then it disappears



#7 dls62

dls62

  • Members
  • 623 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Berkshire, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 01:05 PM

Are you going to Start > Programs > Accessories and selecting Command Prompt.  A DOS window will open.

 

You then enter fsutil dirty query C: in the DOS window and press Enter.

 

The output will appear below the command in the DOS box.


Edited by dls62, 23 February 2014 - 01:06 PM.


#8 hamluis

hamluis

    Moderator


  • Moderator
  • 55,757 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Killeen, TX
  • Local time:07:39 AM

Posted 23 February 2014 - 01:12 PM

No command prompt in XP is necessary to run chkdsk /r.

 

Go Start/Run...type chkdsk /r and hit Enter.  Type Y in new window and hit ENTER.  Reboot, the chkdsk /r will run before booting into Windows.

 

To access the DOS window...Start/Run...type command, hit Enter.  Then type is fsutil dirty query C:, if the you want to run that command.

 

Louis


Edited by hamluis, 23 February 2014 - 01:15 PM.


#9 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 01:42 PM

The response I got was  

 

volume - C: is dirty



#10 dls62

dls62

  • Members
  • 623 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Berkshire, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 01:44 PM

In the dos window type chkntfs /d and press Enter.

 

Then restart your system.



#11 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 02:31 PM

I typped chkntfs /d and rebooted. chdksk didn't come up. I also tried chkdsk /r, rebooted with the same results. I did notice that when i rebooted, a box flashed very quick--too quick to read and disappeared. It appears I can't run chkdsk under the present circumstances and if I can't run chdsk then I keep getting error messages that I must run chkdsk /r to run degrag and when I go there, I keep getting chkdsk is being used by another process.



#12 dls62

dls62

  • Members
  • 623 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Berkshire, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 02:40 PM

You can try running sfc /scannow from Start > Run.

 

You may need an XP Installation CD for this.



#13 hamluis

hamluis

    Moderator


  • Moderator
  • 55,757 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Killeen, TX
  • Local time:07:39 AM

Posted 23 February 2014 - 03:49 PM

The only way that chkdsk can be used by another process...is if it's running in the background on a partition ofher than C:.

 

What partitions exist on this system?  How many hard drives are attached?

 

Chkdsk /r must run on reboot...before Windows boots...because it cannot run as long as the C: volume is being used/Windows is open.  That's what the error message was telling you...the volume is being used...as long as Windows is open.  That's why you need to reboot.

 

If you reboot and the chkdsk /r doesn't run before boot...I'd begin to suspect hard drive or partition problems.

 

Louis


Edited by hamluis, 23 February 2014 - 03:52 PM.


#14 godzilla1347

godzilla1347
  • Topic Starter

  • Members
  • 347 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Long Island, NY
  • Local time:08:39 AM

Posted 23 February 2014 - 05:03 PM

This is very strange. I ran scf /scannow and was asked to insert the Window XP disc. The program then went to analyze the files and would stop every 20 seconds and asked me if I would like to retry. I did and each time it continued from the point it stopped. I may started and stopped 20 times. Finally, it completed and the request box disappeared. No errors were shown but nothing came up either.

 

However,  I still can't run a chkdsk nor do a defrag for the above reasons. I only have a C: partition on this computer. The D: drive is for the CD ROM. I had removed the two travel drives that were installed and tried again.  Nothing happened. It's like this computer can't see chkdsk.

 

Now I was having trouble getting windows updates and someone here fixed that. I haven't tried to defrag since but now my system is running slower and I thought it was time. However, I can't run the defrag program.



#15 dls62

dls62

  • Members
  • 623 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Berkshire, UK
  • Local time:01:39 PM

Posted 23 February 2014 - 05:15 PM

Boot your computer from the installation CD and select the repair option which will take you to the recovery console.

Run chkfsk c: /f from there. That may clear the dirty bit.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users