119

There is a folder named $WINDOWS.~BT on the root of my C:\ drive. It is a hidden folder and is 75 MB in size.

What is its purpose? Is it safe to delete it?

  • 1
    Some files from that folder are even being executed by Windows, e.g. "Modern Setup Host" (C:\$Windows.~BT\Sources\SetupHost.exe) which tries to establish an Internet connection. – Jack Miller Aug 28 '15 at 6:07
  • This is relatively funny: ➝ gizmodo.com/… – Frank Nocke Jun 28 '16 at 5:45
  • 2
    Mine is 4.7GB ^^U – daVe Sep 25 '16 at 22:58
  • I have this too. It showed after microsoft techs got into a remote session to fix some driver problems caused by Windows Update. This and a folder ESD were created around the time they were in a remote session on my machine. Of course the techs didnt fix anything and broke my video card drivers. – Ungeheuer Dec 17 '16 at 5:11
83

This seems to be Windows update logs & files.

It includes files to upgrade Windows, and also, once you do upgrade, the old OS goes into that folder

It should be perfectly safe to delete it, as long as you don't want to upgrade or downgrade Windows.

However, you can't do it the normal way.

Instead,

a) Press Windows key + R

b) Type: %windir%\system32\cleanmgr.exe

c) Hit Enter on your keyboard

Edit: This method seems to only delete some things in this folder, some may be left over. See the other answer for a more complete removal method, though that isn't perfect, either. Additionally, this may help: How to delete trustedinstaller files on Windows 8

Sources:

  • 9
    You should edit your answer to tell people that the windows 10 upgrade files are placed in this folder so you can upgrade from 7/8.1 -> 10. So deleting it will cause issues (or a re-download) of the Windows 10 upgrade files. – John Jul 29 '15 at 19:54
  • 2
    ...and for those of us, who want to keep avoiding Windows 10, follow here: superuser.com/questions/922068/… – Frank Nocke Aug 6 '15 at 11:59
  • 1
    I have a hefty 4.7 GB “Windows 10 Preload” in that folder. CleanMgr.exe and manual deletion only gets as much as half removed. The rest can't be deleted for various lock reasons (even with UAC escalation priviledges...), in particular a Folder $Windows.~BT/Sources/SafeOS. Update: Taking ownership away from „Trusted installer“ partially helps: superuser.com/questions/497095/… – Frank Nocke Aug 6 '15 at 12:06
  • 2
    "Clean Up System Files" option on Disk clean up removed this folder – Alireza Fattahi Sep 16 '15 at 13:50
  • 1
    OK, guys, since there seems to be a steady stream of new info for my answer, I'm going to convert to community wiki. – Quelklef Sep 18 '15 at 4:36
40

Well, I got as much as 4.4 GB in it. Looks like Windows 7 is “pre-loading” Windows 10, though I never agreed and explicitly disabled it...

CleanMgr.exe mentioned in the other answer deleted some stuff, but mostly refused. Manual install in File Manager also failed, because of lack of rights (even with full admin privileges), lack of ownership (owned by “TrustedInstaller”), etc...

Here is a brief receipe, to help yourself from windows command prompt with administrator rights:

// go inside that folder:
cd /d "C:\$Windows.~BT"

// take over ownership
takeown /f *.* /R /D Y

// (go for coffee, takes a minute)
// grant full rights to everyone
icacls *.* /grant Everyone:(OI)(CI)F /T

// (coffee?)
// and all other subfolders, just be careful with use of *, naturally.
rmdir Sources /s /q

// actually, I got a few errors with rmdir. Things went smoother 
// with this Unix-like ´rm´ executable in your path,
// coming from unxutils.sf.net
rm -r -f *

// after all has been wiped, also remove the parent dir

C:\$Windows.~BT>cd ..
C:\>rmdir "$Windows.~BT"

// checking...
C:\>dir /A:DHS
 Volume in drive C is Windows
 Volume Serial Number is ####-####

 Directory of C:\

15/07/2015  19:15    <DIR>          $Recycle.Bin
30/07/2015  16:39    <DIR>          Boot
04/08/2015  08:35    <DIR>          Config.Msi
14/07/2009  07:08    <JUNCTION>     Documents and Settings [C:\Users]
01/11/2012  09:35    <JUNCTION>     Dokumente und Einstellungen [C:\Users]
01/11/2012  09:35    <JUNCTION>     Programme [C:\Program Files]
04/08/2015  08:35    <DIR>          System Volume Information
               0 File(s)              0 bytes
               7 Dir(s)     ########### bytes free
  • 1
    While this doesn't answer OP's question, it is useful. You may want to consider making a "wiki question" with this. – Quelklef Aug 6 '15 at 15:32
  • 13
    This is outrageous. I never wanted or agreed to some "pre-download" of Windows 10 to my hard drive, yet Microsoft think it's find to waste 4 GB of hard drive space anyway? And who's to say that if I delete it, their update system won't be abused to download the 4GB again??? – Jez Aug 24 '15 at 21:36
  • 1
    @Jez: Yes, neither did I. Personally I rate W10 use somewhere between drunk driving and hair-drying in the bathtub. And whatever privacy & security advocates dig up right now, serves me right very much... – Frank Nocke Aug 25 '15 at 9:41
  • 1
    My strategy: Hold to W7 as long as possible. Change to a new Linux-based host OS — after convert current W7 to a Virtual Machine (to keep legacy MS-only apps alive), i.e. using Macrium Reflect. – Frank Nocke Aug 25 '15 at 9:43
  • 10
    This is appalling. For the past week or so both our PCs have been sluggish and our internet connection has been very slow. Now I find 5GB in this folder on both PCs, so its downloaded 10GB! Without my authorisation. I love windows, and normally have no problems with MS, but this is just beyond a joke, they should not be doing this to millions of PCs around the would, just because they want to. – Rob Donovan Sep 20 '15 at 8:55

protected by Sathyajith Bhat Jul 29 '15 at 4:24

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.