Page 1 of 1
Access is denied for C:\Windows\system32
#1
Posted 21 June 2008 - 04:22 PM
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
#2
Posted 21 June 2008 - 05:03 PM
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.
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.
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.
#3
Posted 21 June 2008 - 05:53 PM
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
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
#4
Posted 22 June 2008 - 11:35 AM
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.
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.
#5
Posted 22 December 2009 - 08:11 AM
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 !
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 !
#6
Posted 22 December 2009 - 09:16 AM
#7
Posted 22 December 2009 - 10:05 AM
francisconasicmento, on Dec 22 2009, 04:11 PM, said:
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 !
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:
Quote
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.
#8
Posted 27 February 2012 - 11:21 AM
neo, on 21 June 2008 - 05:03 PM, said:
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.
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.
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.
Share this topic:
Page 1 of 1



Help
Back to top









