How to Delete Windows.old and $Windows.~BT folders in Windows 10  

Page 25 of 25 FirstFirst ... 15232425
  1. camelia's Avatar
    Posts : 218
    Windows 10 x64 bits
       #240

    rdwray said:
    You might consider rolling back to 1903 and then try reinstalling 2004 again: Go Back to the Previous Version of Windows in Windows 10

    What has happened is that your printer got installed twice and before you do this, make sure you have the printer driver in case it removes both printers, it shouldn't, but this is Windows.



    Open "Control Panel" and select "Devices and Printers". Right click on the printer you don't want and select "Remove device"
    camelia said:
    Hello,

    I just update Windows 10 from 1903 to 2004 and I did a mess forgetting about $Windows.~BT, using OPTION ONE Instead OPTION FIVE !!!

    How do I fix it?

    Thanks
    Camelia

    • Disk Utility opens twice
    • I can't delete an app
    • I have 2 printers
    • And more issues...
    Did you noticed I have deleted C:\Windows.old? using OPTION ONE Instead OPTION FIVE

    About the printer I think I can fix it with your advice,

    Please continue helping me

    Thanks
    Camelia
      My Computers


  2. Posts : 636
    Windows 10 20H2
       #241

    camelia said:
    Did you noticed I have deleted C:\Windows.old? using OPTION ONE Instead OPTION FIVE

    About the printer I think I can fix it with your advice,

    Please continue helping me

    Thanks
    Camelia
    I am not familiar with the "Disk Utility" that you talking about, can you give me a screen shot?
      My Computer

  3. camelia's Avatar
    Posts : 218
    Windows 10 x64 bits
       #242

    rdwray said:
    I am not familiar with the "Disk Utility" that you talking about, can you give me a screen shot?

    I am very sorry I was thinking in macOS

    The app that opens twice is Disk Cleanup

    How to Delete Windows.old and $Windows.~BT folders in Windows 10-disk-cleanup.jpg

    Camelia
      My Computers


  4. Posts : 636
    Windows 10 20H2
       #243

    camelia said:
    I am very sorry I was thinking in macOS
    The app that opens twice is Disk Cleanup

    How to Delete Windows.old and $Windows.~BT folders in Windows 10-disk-cleanup.jpg

    Camelia
    Not familiar with this one, do you mean it opens two apps at the same time or one after the other?

    How are you starting it?
      My Computer

  5. camelia's Avatar
    Posts : 218
    Windows 10 x64 bits
       #244

    rdwray said:
    Not familiar with this one, do you mean it opens two apps at the same time or one after the other?

    How are you starting it?
    When I run Disk Clean up it opens twice, and others programs too

    Camelia
      My Computers


  6. Posts : 636
    Windows 10 20H2
       #245

    camelia said:
    I am very sorry I was thinking in macOS
    The app that opens twice is Disk Cleanup

    How to Delete Windows.old and $Windows.~BT folders in Windows 10-disk-cleanup.jpg

    Camelia
    Not familiar with this one, do you mean it opens two apps at the same time or one after the other?
    How are you starting it?
      My Computer


  7. Posts : 1,158
    win10 PRO on 5 PC's and Linux mint
       #246

    Configure storage space run it now method 5 worked.


    Option 2, the command prompt commands did not remove it entirely, got many 'access is denied' and it took a while.
    Option 5 ran much quicker.

    Option 1 Disk Cleanup did not do it either. Did not seem to do anything.
      My Computer

  8. Paul Black's Avatar
    Posts : 12,123
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #247

    Hello @Brink,

    I have written a Batch script that gives the options of deleting the Windows.old, $WINDOWS.~BT, or $WINDOWS.~WS Folders.

    Can you please look through the script and see if you think it is OK and if it will be a good addition to the Tutorial?

    How to Delete Windows.old and $Windows.~BT folders in Windows 10-delete_system_folders.jpg

    Code:
    @echo off
    :: #########################################################################################################
    :: # Title:      Delete Windows.old, $WINDOWS.~BT, or $WINDOWS.~WS Folders                                 #
    :: # Created By: Paul Black at TenForums.com/members/paul-black.html                                       #
    :: # Created In: December 2020                                                                             #
    :: # Tutorial  : https://www.tenforums.com/tutorials/2066-delete-windows-old-folder-windows-10-a.html      #
    :: #########################################################################################################
    title Delete System Folders - Written by Paul Black.
    mode con: cols=80 lines=26 & color 17
    set "params=%*"
    cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs") && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && Exit /b)
    %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || ( echo. & echo  ERROR: This Batch file MUST be run in an ELEVATED cmd prompt [ Administrator ] & echo. & echo         Right-click the Batch file and click ^<Run as administrator^>. & echo. & echo ^>Press ANY key to EXIT . . . & pause >nul & goto :Exit )
    
    set "Win_Old=%SystemDrive%\Windows.old"
    set "Win_BT=%SystemDrive%\$WINDOWS.~BT"
    set "Win_WS=%SystemDrive%\$WINDOWS.~WS"
    
    :Options
    
    echo. & echo  ==============================================================================
            echo  Delete Windows.old, $WINDOWS.~BT, or $WINDOWS.~WS Folders [ Windows 10 ONLY ].
            echo  ==============================================================================
    echo. & echo  Options:
    echo. & echo  [0] EXIT this Program.
    echo. & echo  [1] Delete the Windows.old  Folder.
            echo  [2] Delete the $WINDOWS.~BT Folder.
            echo  [3] Delete the $WINDOWS.~WS Folder.
    echo. & echo  ==============================================================================
    echo.
    
    CHOICE /N /C 0123 /M ">Enter an Option:"
    if %errorlevel%==4 goto Win_WS
    if %errorlevel%==3 goto Win_BT
    if %errorlevel%==2 goto Win_Old
    if %errorlevel%==1 goto Exit
    goto :Options
    
    :Win_Old
    
    if not exist "%SystemDrive%\%Win_Old%" (
      echo. & echo  The folder does NOT exist.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    ) else (
      echo. & echo  Processing . . .
      takeown /F "C:\Windows.old" /A /R /D Y
      icacls "C:\Windows.old" /grant *S-1-5-32-544:F /T /C /Q
      rmdir /S /Q "C:\Windows.old" >nul 2>&1
      echo. & echo  Processing COMPLETE.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    )
    
    :Win_BT
    
    if not exist "%SystemDrive%\$WINDOWS.~BT" (
      echo. & echo  The folder does NOT exist.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    ) else (
      echo. & echo  Processing . . .
      takeown /F C:\$Windows.~BT\* /A /R /D Y
      icacls C:\$Windows.~BT\*.* /T /grant administrators:F 
      rmdir /S /Q C:\$Windows.~BT\ >nul 2>&1
      echo. & echo  Processing COMPLETE.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    )
    
    :Win_WS
    
    if not exist "%SystemDrive%\$WINDOWS.~WS" (
      echo. & echo  The folder does NOT exist.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    ) else (
      echo. & echo  Processing . . .
      takeown /F C:\$Windows.~WS\* /A /R /D Y
      icacls C:\$Windows.~WS\*.* /T /grant administrators:F 
      rmdir /S /Q C:\$Windows.~WS\ >nul 2>&1
      echo. & echo  Processing COMPLETE.
      echo. & echo ^>Press ANY key to return to the Options . . . & pause >nul
      cls & goto :Options
    )
    :Exit

    Thanks.
      My Computer


 
Page 25 of 25 FirstFirst ... 15232425

Tutorial Categories

How to Delete Windows.old and $Windows.~BT folders in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 10:32.
Find Us




Windows 10 Forums