Jump to content

Windows.old trying to remove it but is complicated.

I have tried to remove my windows.old because is using 30GB of storage. First it dident got "Scanned" in Diskcleanup or over the settings menu over Windows Settings so I gave myself ownership over the propertys tab and now is in the Trashbin but actually not. Its like "Ghost data". I used Wiztree to confirm it and it still there. I can even open it over it. 

My Specs are:

  • Windows 10 Pro 64 bit
  • X570 Aorus Elite
  • AMD Ryzen 5 5600X
  • 2x8GB Corsair RAM 
  • GTX 1080 Ti


 

Screenshot_44.png

Screenshot_43.png

Screenshot_42.png

Link to comment
Share on other sites

Link to post
Share on other sites

It's complicated 'cause you've tried to remove it in a complicated way.

From Microsoft:

Quote
  1. Press the Windows logo key on your keyboard, then select Settings System > Storage.
  2. Under your hard drive information, select Temporary files.
  3. Select the Previous version of Windows check box, and then select Remove files.

https://support.microsoft.com/en-us/windows/delete-your-previous-version-of-windows-f8b26680-e083-c710-b757-7567d69dbb74

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, lewdicrous said:

It's complicated 'cause you've tried to remove it in a complicated way.

From Microsoft:

 

I tried that it dident show up in the temp files tab.

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, igugf said:

I tried that it dident show up in the temp files tab.

With Admin rights?

M.S.C.E. (M.Sc. Computer Engineering), IT specialist in a hospital, 30+ years of gaming, 20+ years of computer enthusiasm, Geek, Trekkie, anime fan

  • Main PC: AMD Ryzen 7 5800X3D - EK AIO 360 D-RGB - Arctic Cooling MX-4 - Asus Prime X570-P - 4x8GB DDR4 3200 HyperX Fury CL16 - Sapphire AMD Radeon 6950XT Nitro+ - 1TB Kingston Fury Renegade - 2TB Kingston Fury Renegade - 512GB ADATA SU800 - 960GB Kingston A400 - Seasonic PX-850 850W  - custom black ATX and EPS cables - Fractal Design Define R5 Blackout - Windows 11 x64 23H2 - 3 Arctic Cooling P14 PWM PST - 5 Arctic Cooling P12 PWM PST
  • Peripherals: LG 32GK650F - Dell P2319h - Logitech G Pro X Superlight with Tiger Ice - HyperX Alloy Origins Core (TKL) - EndGame Gear MPC890 - Genius HF 1250B - Akliam PD4 - Sennheiser HD 560s - Simgot EM6L - Truthear Zero - QKZ x HBB - 7Hz Salnotes Zero - Logitech C270 - Behringer PS400 - BM700  - Colormunki Smile - Speedlink Torid - Jysk Stenderup - LG 24x External DVD writer - Konig smart card reader
  • Laptop: Acer E5–575G-386R 15.6" 1080p (i3 6100U + 12GB DDR4 (4GB+8GB) + GeForce 940MX + 256GB nVME) Win 10 Pro x64 22H2 - Logitech G305 + AAA Lithium battery
  • Networking: Asus TUF Gaming AX6000 - Arcadyan ISP router - 35/5 Mbps vDSL
  • TV and gadgets: TCL 50EP680 50" 4K LED + Sharp HT-SB100 75W RMS soundbar - Samsung Galaxy Tab A8 10.1" - OnePlus 9 256GB - Olymous Cameda C-160 - GameBoy Color 
  • Streaming/Server/Storage PC: AMD Ryzen 5 3600 - LC-Power LC-CC-120 - MSI B450 Tomahawk Max - 2x4GB ADATA 2666 DDR4 - 120GB Kingston V300 - Toshiba DT01ACA100 1TB - Toshiba DT01ACA200 2TB - 2x WD Green 2TB - Sapphire Pulse AMD Radeon R9 380X - 550W EVGA G3 SuperNova - Chieftec Giga DF-01B - White Shark Spartan X keyboard - Roccat Kone Pure Military Desert strike - Logitech S-220 - Philips 226L
  • Livingroom PC (dad uses): AMD FX 8300 - Arctic Freezer 64 - Asus M5A97 R2.0 Evo - 2x4GB DDR3 1833 Kingston - MSI Radeon HD 7770 1GB OC - 120GB Adata SSD - 500W Fractal Design Essence - DVD-RW - Samsung SM 2253BW - Logitech G710+ - wireless vertical mouse - MS 2.0 speakers
Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, 191x7 said:

With Admin rights?

Yes

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, igugf said:

I tried that it dident show up in the temp files tab.

The two ways I know are either by using Diskclean Up or the Temporary Files in settings.

There may be a way to do it through CMD, but that's while it's still in the Local Disk.

Link to comment
Share on other sites

Link to post
Share on other sites

Just use the built-in Microsoft disk cleanup and select previous windows installation(s).

Depending on your language it's named differently in the menu but you can find the executable under %windir%\system32\cleanmgr.exe

I ussualy tick all the options and clean everything, ussualy a few GB's worth. Be carefull, older versions which were in Windows 10 and back used to delete the Downloads folder by default too. Is removed in newer versions but just be sure to untick the option if it's there and you have downloaded files you want to keep.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, maksakal said:

Just use the built-in Microsoft disk cleanup and select previous windows installation(s).

Depending on your language it's named differently in the menu but you can find the executable under %windir%\system32\cleanmgr.exe

As I sayed already it dosent get scaned aka it dosent show up in there. So I searched for other solutions.

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, igugf said:

As I sayed already it dosent get scaned aka it dosent show up in there. So I searched for other solutions.

Seems like a rights problem to me, you somehow messed up the rights of the files. The files are still there because they are owned by another user.

 

The easiest way would be to login as that user and empty the recycle bin. If that is not possible then do this, it will take ownership of the recycle bin, grant rights to everyone, remove system and hidden attributes and finally delete the complete folder. Don't worry about deleting the folder Windows will create a new one when you delete files again.


Try taking ownership of all the files. Open a command prompt as administrator and try these commands.

takeown /F "c:\$RECYCLE.BIN" /R /D Y
icacls "c:\$RECYCLE.BIN" /grant Everyone:(OI)(CI)(F) /T
attrib -R -S -H "c:\$RECYCLE.BIN" /S /D
rmdir /S /Q "c:\$RECYCLE.BIN"

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 weeks later...
On 6/24/2023 at 10:07 PM, maksakal said:

Seems like a rights problem to me, you somehow messed up the rights of the files. The files are still there because they are owned by another user.

 

The easiest way would be to login as that user and empty the recycle bin. If that is not possible then do this, it will take ownership of the recycle bin, grant rights to everyone, remove system and hidden attributes and finally delete the complete folder. Don't worry about deleting the folder Windows will create a new one when you delete files again.


Try taking ownership of all the files. Open a command prompt as administrator and try these commands.

takeown /F "c:\$RECYCLE.BIN" /R /D Y
icacls "c:\$RECYCLE.BIN" /grant Everyone:(OI)(CI)(F) /T
attrib -R -S -H "c:\$RECYCLE.BIN" /S /D
rmdir /S /Q "c:\$RECYCLE.BIN"

 

 

Sorry for the long inactivity but I have run this command multiple times and it got reduced to 8,2 GB. In CMD is says denied access for the rest but atleast progress.

On a side note i needed the german commands but I got mostly around it.

takeown /F "c:\$RECYCLE.BIN" /R /D J
icacls "c:\$RECYCLE.BIN" 
attrib -R -S -H "c:\$RECYCLE.BIN" /S /D
rmdir /S /Q "c:\$RECYCLE.BIN"

Screenshot_49.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×