Sometimes after Windows operating system gets an update some folder are left behind and can not be deleted and are occupying a lot of space on your PC’s hard drive.
On the Windows folder in you have administrator permissions you can simply manually delete the folders win $$ signs in front.
But in the C drive sometimes you cannot delete manually those folders so you need to follow some steps .
1. Run Start button and at search programs and files type CMD and press enter (if you are not using administrator user wait a few seconds and when the search result will show cmd.exe rights click on it and click run as administrator).
2. Type :
cd /d c:\
dir /ad
This will show you all the folders from C drive .
3. Type :
md empty
robocopy /e /purge /b empty NAME OF THE FOLDER YOU WANT TO DELETE
This command will list the files in the folder as it deletes them
4. Type :
takeown /F NAME OF THE FOLDER YOU WANT TO DELETE
icacls NAME OF THE FOLDER YOU WANT TO DELETE /grant administrators:F
rd NAME OF THE FOLDER YOU WANT TO DELETE
This removes the files and folders
5. Type:
rd empty
This removes the empty folder we created
Good luck !