After upgrading to Windows 10, you might notice two hidden folder $Windows~BT和$Windows~WS consumes more than 10GB spaces of C drive. These two folders are created for Windows 10 upgrade and can be safely removed after successful upgrade. However, if you run build in Disk Cleanup tool on Windows 10, it only cleans up Windows.old folder, and does not touch $Windows~BT and $Windows~WS. Following are scripts which you can manual clean up these two folder.
Clean up $Windows~BT
takeown /F C:$Windows.~BT* /R /A
icacls C:$Windows.~BT*.* /T /grant administrators:F
rmdir /S /Q C:$Windows.~BT
Clean up $Windows~WS
takeown /F C:$Windows.~WS* /R /A
icacls C:$Windows.~WS*.* /T /grant administrators:F
rmdir /S /Q C:$Windows.~WS
If you need to delete more files and folders after the upgrade to Windows 10, you could search for Disk Cleanup , right-click on it, and select
May I just say what a comfort to uncover an individual who truly understands what they are talking about on the internet. You definitely realize how to bring an issue to light and make it important. More and more people have to read this and understand this side of the story. I was surprised that you are not more popular since you certainly possess the gift.