Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Giving myself privileges to edit files in windows\system32 help
New Posts  All Forums:Forum Nav:

Giving myself privileges to edit files in windows\system32 help

post #1 of 2
Thread Starter 
Hey I've been having some problems with changing/editing files in the system32 folder (in vista home premium). When I try to, I am prompted with this:



I searched around the Vista support site and all I could find was to turn off the read-only attribute for the folder, which gives me this for every file:



I am the administrator of my computer, and I have all access privileges. I do have UAC turned off-Would it have to be turned on in order to allow me to edit/delete the files?

Update: Tried doing it with UAC turned on, the only difference it made was the confirmation box-but after i confirmed the action it still gave me the exact same errors/messages
Edited by dustandechoes91 - 6/1/08 at 11:17am
The Monolith
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 940 @3.7GHz ASRock K10N780SLIX3-WiFi x2 EVGA 8800GT KO 512mb 8GB(4x2GB) DRR2 1066 
Hard DriveOptical DriveOSMonitor
WD Green 3TB, WD Blue 320GB, OEM160GB, x2 500GB Asus USB DVD Burner Windows 7 Pro x64 Dell S2409W 24" 1920x1080 
KeyboardPowerCaseMouse
Saitek Eclipse Corsair 850W Corsair 800D Razer Naga 
Mouse Pad
its black(is this really important?) 
  hide details  
Reply
The Monolith
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 940 @3.7GHz ASRock K10N780SLIX3-WiFi x2 EVGA 8800GT KO 512mb 8GB(4x2GB) DRR2 1066 
Hard DriveOptical DriveOSMonitor
WD Green 3TB, WD Blue 320GB, OEM160GB, x2 500GB Asus USB DVD Burner Windows 7 Pro x64 Dell S2409W 24" 1920x1080 
KeyboardPowerCaseMouse
Saitek Eclipse Corsair 850W Corsair 800D Razer Naga 
Mouse Pad
its black(is this really important?) 
  hide details  
Reply
post #2 of 2
Thread Starter 
I found a working solution, here it is to anyone with the same problem who might stumble upon this thread:


Quote:
> If you need to delete or overwrite a system file in Windows Vista, you'll
> quickly notice that you cannot delete system files, even as administrator.
> This is because Windows Vista's system files are owned by the
> TrustedInstaller service by default, and Windows File Protection will keep
> them from being overwritten.
>
> Thankfully, there's a way that you can get around this. You need to take
> ownership of the files, and then assign yourself rights to delete or
> modify the file. For this, we'll use the command line.
>
> Open an administrator command prompt by typing cmd into the start menu
> search box, and hit the Ctrl+Shift+Enter key combination.
>
> To take ownership of the file, you'll need to use the takeown command.
> Here's an example:
>
> takeown /f C:WindowsSystem32en-USwinload.exe.mui
>
> That will give you ownership of the file, but you still have no rights to
> delete it. Now you can run the cacls command to give yourself full control
> rights to the file:
>
> cacls C:WindowsSystem32en-USwinload.exe.mui /G geek:F
>
> Note that my username is geek, so you will substitute your username there.
>
> At this point, you should be able to delete the file. If you still can't
> do so, you may need to reboot into Safe Mode and try it again. For the
> filename in the example, I was able to overwrite it without safe mode, but
> your mileage may vary.
>
>
> Post Originated from http://www.VistaForums.com Vista Support Forums
The Monolith
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 940 @3.7GHz ASRock K10N780SLIX3-WiFi x2 EVGA 8800GT KO 512mb 8GB(4x2GB) DRR2 1066 
Hard DriveOptical DriveOSMonitor
WD Green 3TB, WD Blue 320GB, OEM160GB, x2 500GB Asus USB DVD Burner Windows 7 Pro x64 Dell S2409W 24" 1920x1080 
KeyboardPowerCaseMouse
Saitek Eclipse Corsair 850W Corsair 800D Razer Naga 
Mouse Pad
its black(is this really important?) 
  hide details  
Reply
The Monolith
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 940 @3.7GHz ASRock K10N780SLIX3-WiFi x2 EVGA 8800GT KO 512mb 8GB(4x2GB) DRR2 1066 
Hard DriveOptical DriveOSMonitor
WD Green 3TB, WD Blue 320GB, OEM160GB, x2 500GB Asus USB DVD Burner Windows 7 Pro x64 Dell S2409W 24" 1920x1080 
KeyboardPowerCaseMouse
Saitek Eclipse Corsair 850W Corsair 800D Razer Naga 
Mouse Pad
its black(is this really important?) 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Giving myself privileges to edit files in windows\system32 help