bestbuildpc: Forums
 

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why can I not deleted the Windows.old folder? Access Denied
 
 
Post new topic   Reply to topic    bestbuildpc Forum Index -> Tutorials/Manuals/Tricks
View previous topic :: View next topic  
Author Message
bestbuildpc
Site Admin
Site Admin


Joined: Jun 30, 2012
Posts: 213
Location: NL

PostPosted: Wed Feb 08, 2023 17:52    Post subject: Why can I not deleted the Windows.old folder? Access Denied Reply with quote

If you are adventurous you can try using an elevated Command prompt.

Step 1: Open elevated Command Prompt. To do so, type CMD in taskbar search box or Start search box and then simultaneously press Ctrl+Shift+Enter keys to open Command Prompt as administrator. Click Yes button when you see the UAC dialog.

Step 2: In the Command Prompt, paste the following command and then press Enter key to delete Windows.old folder.

RD /S /Q %SystemDrive%\windows.old

Or to take ownership of a folder if that won't work.

In the elevated command prompt, type the command you want below, press Enter.
NOTE: Substitute full path of folder or drive with the full path of the folder or drive letter that you want to take ownership of within quotes.


(To grant currently logged on user ownership of)

takeown /F "full path of folder or drive" /R /D Y


(To grant administrators group ownership of)

takeown /F "full path of folder or drive" /A /R /D Y
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    bestbuildpc Forum Index -> Tutorials/Manuals/Tricks All times are GMT + 2 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
 
Forums ©