Jump to content

Access is denied for C:\Windows\system32


Recommended Posts

Posted

Hi, I hope I'm in the right place for some help . I'm trying to extract a dll file into the system32 folder but I'm getting access is denied , How can I correct this ? Thanks


Posted

First of all.. Welcome to MSFN.

You are going to replace lots of files then....you have to take ownership of those files that are to be replaced.

You can take ownership by executing these commands for each file or you can make a batch file too.

takeown /f <File Name>

icacls /grant <File Name> Administrators:F

NOTE: Commands are to be executed in Administrator Mode.

Then you should rename all the files and then replace....If you have enabled UAC it prompts for Continue...Click Continue to proceed next.

Posted

Hi, Thx for the welcome and suggestion , though I did this before I saw your post

Right click on the Folder

Select Properties

Click on the Security tab

Click on the Advanced button

Click on the Owner tab

Click on the Edit button

In the Change owner to box, highlight your account

Check Replace owner on subcontainers and objects

Click on Apply

Click on Yes to replace all permissions

Continue to click on OK until you

Posted

OK...OK

Now once again: Right click on the Folder >> Select Properties >> Click on the Security tab >> Edit

Select group "Administrators" (YOURPC\Administrators)

and check for Full Control under below permission for administrators container....and Apply or OK.

  • 1 year later...
Posted

hi , i have the f***ing solutiOn

Go to c: » Windows » and then on System 32 right click on the folder, then properties. then security and in the name of group or user, scrool to ( yourname \ administrador).

then click edit and then total controL, that's it !

Posted (edited)
hi , i have the f***ing solutiOn

Maybe, though it seems to me very similar to the one already posted before, and a mere 1 1/2 years late. :whistle:

jaclaz

Edited by jaclaz
Posted
hi , i have the f***ing solutiOn

Go to c: » Windows » and then on System 32 right click on the folder, then properties. then security and in the name of group or user, scrool to ( yourname \ administrador).

then click edit and then total controL, that's it !

May I take this opportunity to welcome you to THE forums and kindly remind you about our rules, especially this one:

7.a You are expected to be mature when discussing in threads. Racism, pornography, threats, profanity, or excessive vulgarity is not tolerated. You will be promptly banned. No exceptions.

  • 2 years later...
Posted

First of all.. Welcome to MSFN.

You are going to replace lots of files then....you have to take ownership of those files that are to be replaced.

You can take ownership by executing these commands for each file or you can make a batch file too.

takeown /f <File Name>

icacls /grant <File Name> Administrators:F

NOTE: Commands are to be executed in Administrator Mode.

Then you should rename all the files and then replace....If you have enabled UAC it prompts for Continue...Click Continue to proceed next.

[RESOLVED] I am using Windows 7 64-Bit and this worked perfect for me. The was only one problem with your Command line argument

Instead of

icacls /grant <File Name> Administrators:F

Should be

icacls <File Name> /grant Administrators:F

Note: Assuming that this will work with Windows Vista as well. You must run the (Formerly known as MSDOS) as administrator. Right-Click -> Run As Administrator -> Then input the two command line args. Take ownership and grant permissions.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...