Solved Cannot modify files as Administrator in Windows 7

upiter77

New member
Member
Local time
3:29 PM
Messages
86
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24
I have turned UAC off, but it still doesn't work.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24
Check for the possibility of the file being listed as a system file, from an elevated prompt. type attrib filename.

you might want to change the attributes and then resave it, change the attributes back after saving your changes.

Rich
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 670M
Monitor(s) Displays
17.7" laptop
Screen Resolution
1600 x 900
Hard Drives
256 Gig SanDisk SSD for C
256 Gig Intel SSD for D
Internet Speed
50/25 FIOS
Antivirus
Vipre (all you can eat for 10 machines)
Browser
IE and FF
Other Info
I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great.
take ownership

I tried to edit and save the file - "Access Denied"

Took ownership (changed permissions) and could edit and save.

Afterwards I changed everything back to how it was originally!
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
I have treid and it doesn't work:

Zugriff verweigert -> access denied
Code:
C:\Users\Administrator.asus>cd "C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\"

C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE>dir
 Datenträger in Laufwerk C: ist Win7
 Volumeseriennummer: 8491-98C4

 Verzeichnis von C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE

13.07.2011  20:21    <DIR>          .
13.07.2011  20:21    <DIR>          ..
14.07.2009  04:03             4'630 cpu.html
13.07.2011  20:21    <DIR>          css
14.07.2009  03:58             1'020 gadget.xml
13.07.2011  20:21    <DIR>          js
               2 Datei(en),          5'650 Bytes
               4 Verzeichnis(se), 310'644'457'472 Bytes frei

C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE>attrib cpu.html
A            C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\cpu.html

C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE>attrib -r +s cpu.html
Zugriff verweigert - C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\cpu.html

C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE>attrib -r -s cpu.html
Zugriff verweigert - C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\cpu.html

C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE>attrib +S +H cpu.html /s /d
Zugriff verweigert - C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\cpu.html
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24
Permissions

Try changing permissions. Change owner to PC Administrators or Username for your account.

Advanced Security Settings for en-US.jpg

Then edit permisssions

Advanced Security Settings for en-US 2.jpg

If you get really stuck just use the ICACLS or CACLS command.

Example:

icacls "C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget" /grant Username:F

cacls "C:\Program Files\Windows Sidebar\Gadgets\CPU.Gadget\de-DE\cpu.html" /grant Username:F

[EDIT]: I'm forgetting that gadgets are disabled on my machine. That's probably why I can edit the file. I reckon that you need to disable the gadget before you can make changes. Just start it again afterwards. See the tutorial here:

http://www.sevenforums.com/tutorials/3674-gadgets-enable-disable.html
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
Thx a lot, it works well now, but now howto change the owner back to TrustedInstaller?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
ThinkCentre Edge 71 (1578E1G)
OS
Windows7 64bit
CPU
Intel(R) Core(TM) i7-2600S CPU @ 2.80GHz
Motherboard
LENOVO To be filled by O.E.M.
Memory
8.00 GB
Graphics Card(s)
Intel HD Graphics 2000 (Sandy Bridge GT1) 2172 MBytes
Sound Card
RealTek ALC662
Monitor(s) Displays
DELL E197FP
Screen Resolution
1280 x 1024 x 32 bits (4294967296 colors) @ 75 Hz
Hard Drives
WDC WD5003ABYX-01WER SCSI Disk Device
PSU
PC9059, 180W
Case
Desktop
Cooling
Noiseblocker BlackSilent XLP Rev. 3.00
Keyboard
DELL SK-8125 Keyboard
Mouse
Logitech USB Optical Mouse
Internet Speed
cable 75Mbps
Antivirus
McAfee VSE 8.8 SP2
Browser
SeaMonkey 2.24
Back
Top