Cleaning up from April 2016 upgrade - Part 1

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

I am in maintenance mode and cleaning out unwanted files and folders on various drives.

After upgrading to Win10 last April, I waited a few weeks and ran Disk Cleanup to get rid of the System Install files. All went OK with the exception of the Windows.old folder. The cleanup deleted all the detail files but left the folders intact.
WindowsOld.gif
If I try to manually delete the Windows.old folder I get this error message:
NotFound.gif
Anyone have any idea how to delete the folder? I did try to delete each folder separately but got the same error message.

By way of interest, it is not taking up any significant disk space. There are no files, just the folder information, and it is bugging me that I cannot delete them.
You do not have the required permissions to view the files attached to this post.
Regards,
Bob

User avatar
HansV
Administrator
Posts: 78535
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Cleaning up from April 2016 upgrade - Part 1

Post by HansV »

You might try deleting it from a command prompt window.
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Cleaning up from April 2016 upgrade - Part 1

Post by Rudi »

Have you tried a reboot? That might clear things up?
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Re: Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

HansV wrote:You might try deleting it from a command prompt window.
Just tried running command prompt (as admin) and it looked to work OK. Alas, the folder is still there. Will try a restart later in case Explorer needs refreshing.
DelWinOld.gif
You do not have the required permissions to view the files attached to this post.
Regards,
Bob

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Re: Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

Rudi wrote:Have you tried a reboot? That might clear things up?
Prior to running the command prompt as suggested by Hans, the answer is yes. Will try again later.

I even ran RegEdit to see if it could pinpoint where windows.old might be. No luck.
Regards,
Bob

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Re: Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

Performed a restart, no luck. Booted into Safe Mode and tried the command prompt to delete again. No luck. Will just have to live with it unless someone has other suggestions. At least I got rid of 3.6GB of ESD occupied space! :grin:
Regards,
Bob

User avatar
StuartR
Administrator
Posts: 12612
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Cleaning up from April 2016 upgrade - Part 1

Post by StuartR »

You could try
rmdir /s

instead of
del
StuartR


User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Cleaning up from April 2016 upgrade - Part 1

Post by Rudi »

Two more options:

See this thread, specifically #4, could be worth a try. The last points (about DelinvFile Tool??) there is a Win 10 version, but no freeware...just a trial?!

Try: rmdir C:\windows.old /q /s
https://technet.microsoft.com/en-us/lib ... 90990.aspx
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Re: Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

StuartR wrote:You could try
rmdir /s

instead of
del
:thankyou: That did the trick.

The problem with aging is that one sometimes forgets the obvious!!! :bananas: :bananas: :bananas: :bananas:
Regards,
Bob

User avatar
StuartR
Administrator
Posts: 12612
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Cleaning up from April 2016 upgrade - Part 1

Post by StuartR »

All's well that ends well
StuartR


User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Cleaning up from April 2016 upgrade - Part 1

Post by Rudi »

All ends that, well, ends :grin: :crazy:
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

JoeP
SilverLounger
Posts: 2069
Joined: 25 Jan 2010, 02:12

Re: Cleaning up from April 2016 upgrade - Part 1

Post by JoeP »

Normally, you don't have to worry about the Windows.old folder. You can use Disk Cleanup as Bob did to dispose of the files as long as you don't want a way to revert to the prior OS install. Windows automatic maintenance will delete the folder after 30 days. I'm not sure how the 30 day period is determined. If after 30 days the folder is still there you have to use one of the alternate methods mentioned above to delete the folders.
Joe

User avatar
BobArch2
BronzeLounger
Posts: 1242
Joined: 25 Jan 2010, 22:25
Location: Pickering, Ontario, Canada

Re: Cleaning up from April 2016 upgrade - Part 1

Post by BobArch2 »

Rudi wrote:Two more options:...
Just a fast reply to say thanks for your research and suggestions. Much appreciated...
Regards,
Bob

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Cleaning up from April 2016 upgrade - Part 1

Post by Rudi »

Always a pleasure Bob. :smile:
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

Peter S
NewLounger
Posts: 16
Joined: 26 Oct 2010, 09:43
Location: Cape Town, South Africa

Re: Cleaning up from April 2016 upgrade - Part 1

Post by Peter S »

And of course the "easy way" is to install and use CCleaner (free version) to remove the relevant files/folders.

CCLeaner: https://www.piriform.com/CCLEANER
(My Rig: AMD Ryzen 9 3900X 12-Core CPU; MSI X570-A PRO Mobo; Win 10 Pro (64 bit)-(UEFI-booted); 32GB RAM; 2TB Corsair Force Series MP600 2TB PCIe Gen 4.0 M.2 NVMe SSD. 1TB SAMSUNG 960 EVO M.2 NVME SSD; 512GB SAMSUNG 850 PRO SSD; Seagate 2TB Barracuda SATA6G HDD; Nvidia GeForce TX 2060 Super Ventus Graphics Card (SLI); Microsoft 365 Home; Condusiv SSDKeeper Professional; Acronis TI 2020 Premium, VMWare Workstation 15 Player. HP 1TB USB SSD External Backup Drive). Dell G-Sync 144Hz Monitor.

User avatar
viking33
PlatinumLounger
Posts: 5685
Joined: 24 Jan 2010, 19:16
Location: Cape Cod, Massachusetts,USA

Re: Cleaning up from April 2016 upgrade - Part 1

Post by viking33 »

Of course, there is the old standby UNLOCKER ( Google it) to get rid of those stubborn files and folders.
BOB
:massachusetts: :usa:
______________________________________

If I agreed with you we'd both be wrong.

JoeP
SilverLounger
Posts: 2069
Joined: 25 Jan 2010, 02:12

Re: Cleaning up from April 2016 upgrade - Part 1

Post by JoeP »

The issue with Windows.old, the sub-folders, and files is not usually in-use but ownership and permissions. The most reliable way I've seen is to use the disk cleanup tool.
Joe

User avatar
HansV
Administrator
Posts: 78535
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Cleaning up from April 2016 upgrade - Part 1

Post by HansV »

I used the Disk Cleanup tool to remove the leftovers of the installation. You have to right-click and select 'Run as Administrator' to get rid of everything.
Best wishes,
Hans

User avatar
John Gray
PlatinumLounger
Posts: 5411
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Cleaning up from April 2016 upgrade - Part 1

Post by John Gray »

It's all right for you, Bob!
I have to consider whether to get rid of the following C:\ folders:
  • $GetCurrent
  • $Windows.~WS
  • ESD (empty)
  • Windows10Upgrade
John Gray

"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...