Take Ownership of file

PainlessTorture

Official Best Member
Vista Pro
As I want to get as much experience with command prompt as possible i tried it via cmd, i used

icacls "c:\program files\*" /grant %username%:f

It went through about 6 files then said
Access denied: Common files

(On admin elevated cmd prompt)

Why do i get access denied messages even from Administrator account?

I cant even delete files from there because of Restricted Access.

Does the Administrator account not override security restrictions?
 

My Computer

System One

  • Manufacturer/Model
    Hewlett Packard
    CPU
    3.40Ghz / 2.20Gz Duo Core
    Memory
    2GB / 3GB
    Hard Drives
    160 GB / 160 GB
Back
Top