1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows How to force a format in Windows 7?

Discussion in 'Software' started by Cthippo, 27 Nov 2016.

  1. Cthippo

    Cthippo Can't mod my way out of a paper bag

    Joined:
    7 Aug 2005
    Posts:
    6,783
    Likes Received:
    102
    I've got a second disk installed on my new desktop that I am trying to format, but nothing is working. I tried running the format command from the command prompt and it said

    "Format cannot run because the volume is in use by another process. Format may run if the volume is dismounted first. ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID. Would you like to force a dismount on this volume?"

    I said yes

    "Cannot lock the drive. The volume is still in use."

    I then tried rebooting the system and got the same result.

    I also tried formatting it from Windows Explorer, but got an error message that says

    "Windows cannot format this drive. Quit any disk utilities or other programs that are using this drive and make sure that no window is displaying the contents of this drive. Then try formatting again"

    Where do I go from here?
     
  2. Corky42

    Corky42 Where's walle?

    Joined:
    30 Oct 2012
    Posts:
    9,648
    Likes Received:
    386
    Go into disk management and right click the drive, should be Disc 1 (in the bottom section) then select offline.

    Instruction linky.
     
  3. Cthippo

    Cthippo Can't mod my way out of a paper bag

    Joined:
    7 Aug 2005
    Posts:
    6,783
    Likes Received:
    102
    Ok, tried that, didn't work.

    in the GUI Disk management program the "offline" option is greyed out and in the command line tool it says that "The operation is not allowed on a disk that contains a pagefile volume."

    This disk was has a previous install of Win7 on it and after deleting everything I could, it stills shows 17.5 GB of used space on the disk, appearently in hidden files.
     
  4. RedFlames

    RedFlames ...is not a Belgian football team

    Joined:
    23 Apr 2009
    Posts:
    13,800
    Likes Received:
    2,177
    burn it all and start over in diskpart?
     
  5. spolsh

    spolsh Multimodder

    Joined:
    4 Feb 2012
    Posts:
    1,150
    Likes Received:
    398
    If you have one, try from a USB enclosure, then install the disk.
     
  6. theshadow2001

    theshadow2001 [DELETE] means [DELETE]

    Joined:
    3 May 2012
    Posts:
    5,262
    Likes Received:
    176
    Ubuntu live USB and Gparted.
     
  7. sparkyboy22

    sparkyboy22 Web Tinkerer

    Joined:
    3 May 2010
    Posts:
    738
    Likes Received:
    35
    Cmd
    Diskpart
    List disks
    Select disk X (don't pick the wrong one!)
    Clean
    Exit
    Exit
     
  8. play_boy_2000

    play_boy_2000 It was funny when I was 12

    Joined:
    25 Mar 2004
    Posts:
    1,529
    Likes Received:
    82
    Sounds like windows automatically started using the drive for a page file.

    Right-click Computer.
    Select Properties.
    Select Advanced system settings.
    Select the Advanced tab and then the Performance radio button.
    Select the Change box under Virtual memory.
    Un-check Automatically manage paging file size for all drives.
    Remove paging from the offending drive.
    Profit??
     
    Cthippo likes this.
  9. Cthippo

    Cthippo Can't mod my way out of a paper bag

    Joined:
    7 Aug 2005
    Posts:
    6,783
    Likes Received:
    102
    Aha, that finally got it to a point where I could format it. Thanks all!
     

Share This Page