MSFN Forum: Access is denied for C:\Windows\system32 - MSFN Forum

Jump to content


Windows Vista Forum Rules

If you have questions about customizing Windows Vista that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows Vista, please post them in the Unattended Windows Vista/Server 2008 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Access is denied for C:\Windows\system32 Rate Topic: -----

#1 User is offline   fredharvey 

  • Group: Members
  • Posts: 3
  • Joined: 21-June 08

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 User is offline   neo 

  • Microsoft MVP - Windows Expert Consumer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,251
  • Joined: 31-March 06
  • OS:Windows 7 x64
  • Country: Country Flag

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.

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 User is offline   fredharvey 

  • Group: Members
  • Posts: 3
  • Joined: 21-June 08

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

#4 User is offline   neo 

  • Microsoft MVP - Windows Expert Consumer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,251
  • Joined: 31-March 06
  • OS:Windows 7 x64
  • Country: Country Flag

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.

#5 User is offline   francisconasicmento 

  • Group: Members
  • Posts: 1
  • Joined: 22-December 09

  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 !

#6 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,578
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 22 December 2009 - 09:16 AM

View Postfrancisconasicmento, on Dec 22 2009, 03:11 PM, said:

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

This post has been edited by jaclaz: 22 December 2009 - 09:17 AM


#7 User is offline   nitroshift 

  • Beware of programmers with screwdrivers!
  • Group: Super Moderator
  • Posts: 2,873
  • Joined: 29-November 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 22 December 2009 - 10:05 AM

View Postfrancisconasicmento, 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 !

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 User is offline   ArcDarkSmurf 

  • Group: Members
  • Posts: 1
  • Joined: 27-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 February 2012 - 11:21 AM

View Postneo, 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.

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
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy