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

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

  1. balubeto

    balubeto MDL Addicted

    Dec 22, 2009
    580
    10
    30
    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
    6,015
    4,148
    210
    Disk cleanup
     
  3. #3 Deleted member 578156, Sep 10, 2015
    Last edited by a moderator: 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.