Destiantion Folder Access Denied - You need permission to perform this action !!!

Destiantion Folder Access Denied - Tou need permission to perform this action !!!

Hello everyone.

 

I have this error when I try to copy a file in Windows folder. I installed a theme and I have to put a file "explorer" in Windows folder. I have to put a dll file in system32 folder too and I have the same error. Does anyone can help me? PLEASE

Answer
Answer

Hi Catargiu Bogdan,

Due to Windows 7’s added security mechanism, you could be facing this permission issue.

Hence if you need to access, take ownership of the drive and assign rights or permission to the drive.
Here is guide on How to take ownership and grant permission in Window 7.

Make sure that you’ve logged in from Administrator account.

Step 1: Take ownership of the root drive:

Method 1: Take ownership of the drive from user interface.


1.      Right click on drive and select “Properties” from Context Menu.

2.     Click on "Security" tab.

3.     Click on “Advanced” button.

4.     Now click on "Owner" tab in Advanced Security Settings for User windows.

5.     Click on Edit Button and select user from given Change Owner to list if user or group is not in  given list.

6.    Click on other users or groups. Enter name of user/group and click ok.

7.    Now select User/group and click apply and ok. Check “Replace owner on subcontainers and objects” if you have files and folder within selected folder.

8.    Click ok when Windows Security Prompt is displayed.

9.    Now Owner name must have changed.

10.   Now click Ok to exist from Properties windows.

11.  Once you have taken the ownership of file or folder next part comes is granting permissions to that file/folder or object.

If the above method doesn’t work, you could try taking ownership from the command line.

Method 2: Taking ownership of a folder from command line

Open an elevated Command Prompt window.

To do so:

1. Go to > Start > All Programs > Accessories
2. Right-click on Command Prompt, and then click Run as Administrator.
3. Type the following command and press ENTER:

takeown /f <foldername> /r /d y

4. To assign the Administrators group Full Control Permissions for the folder, use this syntax:

icacls <foldername> /grant administrators:F /T

The /T parameter is added so that the operation is carried out through all the sub-directories and files within that folder.

5. To know more information about the above commands, run these commands from a Command Prompt window.

takeown /?
icacls /?

Once you take ownership, you can grant permissions on those folders.

Step 2: How to Grant Permissions in Windows

1.  Locate the drive on which you want to take ownership in windows explorer
2.  Right click on drive and select “Properties” from Context Menu
3.  Click on Edit button in Properties windows Click ok to confirm the prompt.
4.  Select user/group from permission windows or click “add” to add other user or group.
2.  Now under Permission section check the rights which you want to grant i.e check “Full
3.  Control” under the “Allow” column to assign full access rights control permissions to Administrators group.
4.  Click Ok for changes to take effect and click ok to exit from Properties window.

For more information, refer:

What are permissions?
http://windows.microsoft.com/en-us/Windows7/What-are-permissions

This should help you in copying the file in System32 folder.


Regards,

Shinmila H - Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 12, 2023 Views 32,799 Applies to: