How to Locate & Manage Windows Batch Files
How to Locate & Manage Windows Batch Files
Deleting the hidden “$Windows.~BT” folder and recovering gigabytes of space on your hard drive is tempting. But what is this cryptically named folder for, and how critical is it to your Windows installation?
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
What Is the “$Windows.~BT” Folder, and Should You Delete It?
Windows creates the “$Windows.~BT” folder when you upgrade the operating system to a newer build. This folder contains all the essential files for the upgrade process, like temporary installation files and logs from the previous Windows installation.
Windows automatically removes the “$Windows.~BT” folder after 10 days. As manually deleting this folder will remove old Windows installation files , you won’t be able to roll back to the previous Windows build using the Go back option in the Recovery menu within that time (for example, to downgrade from Windows 11 to Windows 10 ). Hence, you should only get rid of this folder if you are satisfied with the current Windows build on your PC. You can also safely delete the massive folder if Windows fails to do it automatically after the grace period.
But you shouldn’t just delete this hidden folder like any other folder on the desktop. Instead, you should turn to the Disk Cleanup tool or the Command Prompt.
How to Find and Delete the “$Windows.~BT” Folder
As “$Windows.~BT” is a hidden folder, you need to configure Windows to show hidden files and folders to find it in File Explorer. Once you do, the C:\$Windows.~BT directory will become visible.
You can’t delete the “$Windows.~BT” folder directly, though. To do so, you need to run the Disk Cleanup tool. Here’s how:
- Press Win + R to open the Run dialog box.
- Type cleanmgr in the box and press Enter.
- Use the dropdown menu to select the system drive (usually C:) and click OK.
- Click the Clean up system files button.
- Under Files to delete, use the checkboxes to select these options: Previous Windows Installations, Windows Update Cleanup, Windows upgrade log files, Temporary Windows installation files, and Temporary files.
- Click OK.
- Choose Delete Files to confirm.
If the “$Windows.~BT” folder shows up even after you run the Disk Cleanup tool, you’ll need to execute a few commands in Command Prompt. For that, open Command Prompt with administrative rights and then run the following commands one by one.
takeown /F C:\$Windows.~BT\* /R /A icacls C:\$Windows.~BT\*.* /T /grant administrators:F rmdir /S /Q C:\$Windows.~BT\
Once you run the above commands, the “$Windows.~BT” folder will be deleted for good.
Now that you understand the purpose of the “$Windows.~BT” folder, you can decide how to handle it. Beyond the “$Windows.~BT” folder, you may also come across folders like “Windows.old,” “$WinREAgent,” “$SysReset,” and others which can also be deleted safely using the Disk Cleanup tool.
Also read:
- [New] 2024 Approved Optimize Your Content YouTube SEO Techniques and Gadgets
- [New] Amplifying Engagement with Leading YouTube Ranks Top 8 Apps for 2024
- [Updated] Step-by-Step Guide for Text Superimposition on Video Using Windows Photos
- 2024 Approved Craft Professional Episodes A Comprehensive Guide to Editing in GarageBand
- Establish a Home-Friendly, Low-Cost Windows Simulation
- In 2024, Easy Fixes How To Recover Forgotten iCloud Password From your iPhone 13 Pro Max
- In 2024, How to Check Distance and Radius on Google Maps For your Apple iPhone 6 Plus | Dr.fone
- Is pgsharp legal when you are playing pokemon On Oppo Reno 10 Pro 5G? | Dr.fone
- Regulatory Guidelines YouTube Video Recording
- Remedying Mandatory Requirements Problem on Win11/Win11
- Reverse Engineering Steam's Unauthorized File Access
- Reviving Windows 11'S Disappeared Symbols
- Streamlining Disk Differentiation: HDD/SSD Checks in Windows
- Title: How to Locate & Manage Windows Batch Files
- Author: Richard
- Created at : 2024-10-10 02:25:20
- Updated at : 2024-10-14 19:22:34
- Link: https://win11-tips.techidaily.com/how-to-locate-and-manage-windows-batch-files/
- License: This work is licensed under CC BY-NC-SA 4.0.