Delete the C:\$Windows.~BT and C:\Windows.old directory

Discussion in 'Windows 10' started by balubeto, Sep 10, 2015.

  1. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    466
    9
    10
    Hi

    In Windows 10, how do I delete the C:\$Windows.~BT and C:\Windows.old directory?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MrMagic

    MrMagic MDL Guru

    Feb 13, 2012
    5,837
    3,924
    180
    Disk cleanup
     
  3. Excalibur0076

    Excalibur0076 MDL Junior Member

    Aug 5, 2015
    68
    18
    0
    #3 Excalibur0076, Sep 10, 2015
    Last edited: Sep 10, 2015
    Hello how are you? i`m fairly new to MDL but i noticed your problem with removing Windows.old because i had the same problem but i found a simple solution to easily remove it.

    Alternatively, you can also use a command prompt to delete files and folders from an earlier installation of Windows. To do this, Run ‘Command Prompt’ as administrator.

    First you will need to take ownership of this folder, so at the command prompt, type

    takeown /F C:\Windows.old\* /R /A

    and hit Enter.

    Next, in the command prompt, type
    cacls C:\Windows.old\*.* /T /grant administrators:F

    and hit Enter.
    When you run this command, administrators are granted full rights to all files and to all folders.
    Finally, type
    rmdir /S /Q C:\Windows.old\

    and hit Enter. This will delete the windows.old folder.