Thanks.. It did work
Error code 0X80070005
Hi,
I'm facing an issue while creating or deleting a file from my Local disk C where my program files,users etc are located. There is an error message showing "You'll need to provide administrator permission to delete this problem". But I'm sure that it's my admin account. And I do have problem while upgrading windows 8 to 8.1 with error code 0x80070005 . I think this problem related to upgrading is due to the issue regarding folder creation. I performed clean boot, removed all antivirus security software,updated drivers, disabled proxy. Please help me with this issue.
Windows for home | Previous Windows versions | Install and upgrade
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
4 answers
Sort by: Most helpful
-
Anonymous
2013-12-21T13:41:55+00:00 -
Anonymous
2013-12-20T15:25:25+00:00 hi,
I just typed " takeown/f c:\xampp/r/dy " without quotes and an error message shows that invalid or directory not found . Now ?
Can you confirm exactly what you entered in the command line?
It appears if you typed the above then there is a spacing inconsistency with what Rohit advised.
-
Anonymous
2013-12-02T04:35:14+00:00 hi,
I just typed " takeown/f c:\xampp/r/dy " without quotes and an error message shows that invalid or directory not found . Now ?
-
Anonymous
2013-12-01T02:59:30+00:00 Hi Mohammed,
If you are trying to delete or create a personal file, there are chances that the permissions are not set properly on the folder.
To resolve the issue with deleting the file, I would suggest you to follow these steps and give permissions to the location where you are trying to delete the file:
a. Swipe in from the right edge of the screen, and then tap Search.
(If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)
b. Enter “CMD” without quotes in the search box, tap or click Apps
c. Touch and hold the Command prompt tile in the search results. Then drag your finger down until the tile is outlined by a solid line. Once it happens release your finger from the screen.
d. Tap or Click Run as administrator.
e. At the command prompt, type “takeown /f <foldername> /r /d y” without quotes and then press ENTER. (Replace <foldername> with the path of the folder).
f. Then, type “icacls <foldername> /grant administrators:F /T” without quotes and hit enter. (Replace <foldername> with the path of the folder).
Using the above mentioned commands, we took the ownership of the folder and then assigned the Administrators group Full Control Permissions for the folder.
Check if you are able to create or delete the file and then try to update to Windows 8.1 and let us know the results. If you’re facing any issues, we’re here to help.