You need permission to perform this action error message

Posted on 2011-02-22
Medium Priority
Last Modified: 2012-06-21
I recently installed Windows 7 Enterprise over Windows 7 Pro. The process left the old system in a folder called Windows.old. Since I need nothing from the old system, I wanted to delete the Windows.old folder. When I try to, i get the message, "You need permission to perform this action. You require permission from <computer_name>\Administrator to make changes to this folder." I've tried adjusting UAC (which should have nothing to do with it. I've tried the "net user administrator /active:yes" command line method (even though I am the local administrator). And, I've tried taking ownership of the folder. Nothing has worked. Is there anything else I can try?
Question by:jimboadm
  • 4
  • 2

Expert Comment

ID: 34954894
Try to delete it from command prompt... If it doesn't help, then start to recovery mode command prompt and try to delete it from there.

Assisted Solution

xavixsb earned 400 total points
ID: 34954958
This folder is owner by the user of the other Windows.

Take as owner with the new user.

Look at rhis

Author Comment

ID: 34955123
Thanks for your prompt responses.

I'm not sure what you mean by "user of the other Windows". Regardless, I already did what was described in the link you provided, but to no avail. Is there something else you had in mind?

I tried deleting from the folder from the command prompt (something I actually hadn't tried before), but it didn't work. I've never had to "start to recovery mode command prompt". Can you provide instructions for doing that?

Thanks again
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Accepted Solution

jimboadm earned 0 total points
ID: 34955793
I figured it out!

The solution was to go to Properties > Security tab > Advanced > PERMISSIONS TAB > Change Permissions and check "Replace all child object permissions with inheritable permissions from this object".

Xavixsb's comment about "user of the other Windows", even though it didn't provide THE answer (there was no other user), it did get me thinking about how the Windows.old folder was configured in the previous system. It would have contained some folders and files that had their own unique permissions. These explicit permissions wouldn't have been changed by the ownership change. Checking "Replace all child object permissions..." forced these to inherit the permissions from the parent folder.

Anyway... Even though you didn't provide everything I needed, since you helped, Xavixsb, you'll get some points.

Expert Comment

ID: 34959518
I try to explain my comment best.

I understand that you have a windows installation folder and you install another windows in other folder.
The first installation folder is own by his user and you can't delete with the user of the new windows install. That is why I say that you have to be the owner of this folder before you can delete it,

I hope I have explained better.
And sorry for my English

Author Comment

ID: 34960726

Thanks for your explanation. As I indicated in the details of my question, I already had taken ownership of the folder. So your instruction to "Take as owner with the new user", as well as the link you provided, didn't offeran actual solution. None-the-less, because your point about "user of the other Windows" started me thinking about how permissions were distributed in the original system, which led me to the solution, I decided to give you some points.

Author Closing Comment

ID: 34990868
Although a comment by Xavixsb provided a clue - more of a different way of thinking about the problem, actually - I was the one that came up with the answer.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question