Can't take ownership of a folder

redblade8

New member
Member
VIP
Local time
6:08 AM
Messages
144
Hi, I can't seem to take ownership of a folder in windows 7. The folder is'program files', and is owned by trusted installer currently. I get the error message 'you only have permission to view the current owner on program files'. I've tried the registry key takeown.reg to have the right click take ownership, but it isn't letting me.

I've tried these steps:
i. Right-click the file or folder, click Properties, and then click the Security tab.
ii. Click Advanced, and then click the Owner tab.
iii. Click Edit, and then do one of the following:
iv. To change the owner to a user or group that is not listed, click Other users and groups and, in Enter the object name to select (examples), type the name of the user or group, and then click OK.
v. To change the owner to a user or group that is listed, in the Change owner to box, click the new owner.
vi. If you want to take ownership of the contents of the folder, select the Replace owner on subcontainers and objects check box.
vii. Click OK, and then click Yes when you receive the following message: You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?
viii. All permissions will be replaced if you click Yes.

All of the options to change the owner are greyed out.

Please can anyone help?

Thanks! =)
 

My Computer My Computer

At a glance

Windows 7...Ultimate x64Intel Core i7 2630QM4 GB DDR3NVidea GeForce 540M
Computer Manufacturer/Model Number
ASUS N53SV
OS
Windows 7...Ultimate x64
CPU
Intel Core i7 2630QM
Motherboard
ASUS
Memory
4 GB DDR3
Graphics Card(s)
NVidea GeForce 540M
Hard Drives
750GB SATA
Cooling
Only CPU cooling, none for graphics. Always cool though.
Generally you shouldn't mess with permissions, including ownership, of system folders including program files. What is your reasoning for taking ownership? Do you want to break your programs?
 

My Computers My Computers

  • At a glance

    Windows 7 pro/Windows 10 ProIntel i7 860 Quad core 2.8 ghz8 gbATI Radeon HD 5770 1 gb ram
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavillion Elite HPE-250f
    OS
    Windows 7 pro/Windows 10 Pro
    CPU
    Intel i7 860 Quad core 2.8 ghz
    Memory
    8 gb
    Graphics Card(s)
    ATI Radeon HD 5770 1 gb ram
    Monitor(s) Displays
    Alienware 25 AW2521HF & Viewsonic
    Screen Resolution
    1920 x1080 & 1680x1050
    Hard Drives
    WD blue 1 tb & 500 gb.
    Browser
    FF of course.
    Other Info
    https://www.bestbuy.com/site/hp-pavilion-elite-desktop-intel-core-i7-processor-8gb-memory-1tb-hard-drive/9921493.p?skuId=9921493
  • At a glance

    Windows 2012 R2 Data center/Linux Minti3 9100 3.6GHz, 8M cache, 4C/4T8GB 2666MT/s DDR4 ECC UDIMM
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Poweredge T140
    OS
    Windows 2012 R2 Data center/Linux Mint
    CPU
    i3 9100 3.6GHz, 8M cache, 4C/4T
    Memory
    8GB 2666MT/s DDR4 ECC UDIMM
    Monitor(s) Displays
    Viewsonic
    Screen Resolution
    1680x1050
    Hard Drives
    1 TB & 750 GB
    Other Info
    https://www.dell.com/en-us/work/shop/productdetailstxn/poweredge-t140?~ck=bt
Hi, I can't seem to take ownership of a folder in windows 7. The folder is'program files', and is owned by trusted installer currently. I get the error message 'you only have permission to view the current owner on program files'. I've tried the registry key takeown.reg to have the right click take ownership, but it isn't letting me.
It's not clear if you're the computer owner or administrator but if you're not, there should be restrictions made by the administrator to prevent a "guest" or sort of, to install, create or delete anything form within Programs Files directory (and similar folders) including of course Window folder.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel i5-6600K 3.50GHzCorsair DDR4 2x8GBMSI GeForce GTX1070 Gaming X
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build
OS
Windows 7 Ultimate x64
CPU
Intel i5-6600K 3.50GHz
Motherboard
Asus Pro Z170 Gaming
Memory
Corsair DDR4 2x8GB
Graphics Card(s)
MSI GeForce GTX1070 Gaming X
Sound Card
On board Realtek
Monitor(s) Displays
Dell SP2309W
Screen Resolution
1920x1080
Hard Drives
OS Samsung 850 EVO 500GB SATA III SSD
2x Hitachi Deskstar 1GB SATA data drives
1x Western Digital Caviar Black 1TB SATA data drive
PSU
Corsair HX650W
Case
CoolerMaster CM 690 III
Cooling
Coolermaster Hyper 212 EVO 1x200mm 1x140mm 2x120mm case fan
Keyboard
Logitech usb keyboard
Mouse
Logitech G500 $27 bargain :)
Internet Speed
ADSL2
Antivirus
Microsoft Security Essential, MalwareBytes
Browser
SRWare Iron, Internet Explorer
Other Info
Very happy with this buid.
I struggled a lot to find all compatible parts since I wanted an Intel 1151 based motherboard so to be able to install Windows 7.
I chose this case because it has amazing air flow, it's sturdy and looks good.
The case included 1x 200mm front and 1x 120mm back fans, I added 1x 200mm on the top and 1x120 bottom fans and modded the panels with black stockings for women s
Trusted installer is a Super administrator it is above the level of the administrators group and thus the actual administrators and has to have ownership and full control of all system folders related to program files. This is concerned with the virtualisation systems used for running 32Bit code in a 64Bit system and also various security systems.

Taking ownership of large parts of the system areas is the quickest way to accelerate the need for a total reinstall of Windows.

I have seen it done using the hidden administrator or a Domain Administrator in a Client server system, but only for individual folders or files and then only in extreme situations
 

My Computers My Computers

  • At a glance

    Windows 11 Pro x64 [Latest Release and Releas...Ryzen 9 5950X, 3.8 - 5.2 MHz64GB [2 x 32GB] DDR4 3200MHz4GB NVIDIA GEFORCE GTX 1650 Ti
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • At a glance

    Windows 11 Pro x64 Latest RPIntel I7 10750H 5.0GHz32GB [2x16GB] DDR4 2933 MHznVidia GTX1650Ti 4 GB GDDR6
    Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
You should be able to give your actual user access to Edit files in the program files area, often required when bad developers still insist in placing config files, that a user may need to edit, in a programs folder in Program files (or Program Files (X86).

Simply select the file or folder you need to change, (not system files but 3rd party configs), as an administrator and add your username to the permissions list, and set rights required ( easy way use Full Control),to edit as needed.

Remember You do not need to Own a file to use it or edit it - Ownership is a specialist right and should only be changed in emergencies, there are more secure and simpler ways to do what is required
 

My Computers My Computers

  • At a glance

    Windows 11 Pro x64 [Latest Release and Releas...Ryzen 9 5950X, 3.8 - 5.2 MHz64GB [2 x 32GB] DDR4 3200MHz4GB NVIDIA GEFORCE GTX 1650 Ti
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • At a glance

    Windows 11 Pro x64 Latest RPIntel I7 10750H 5.0GHz32GB [2x16GB] DDR4 2933 MHznVidia GTX1650Ti 4 GB GDDR6
    Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
I don't know if you talk about the program files folder which is located next to Windows folder, but if you talk about this folder - don't mess with the permissions for this folder, in fact don't even mess with the permissions of every system folder... I would like to explain why, but you will need 30 min to read and understand. So, in short said - you will need to reinstall Windows after doing this, maybe not immediately, but when specific problems start to appear, you will need to. But to answer your question, the steps below should work if you are with Administrator account.

Right click on folder > Properties > Security > Advanced > Owner > Edit. Now make yourself a owner and apply. Return to Permissions tab and click Manage Permissions, then click Remove until you see that nobody has permission for this folder (if Remove is grayed out, remove the check on "Include inheritable permissions from this object's parent" and click Remove in the dialog which popped up). Now click on Add, type your username and give full control. After doing all of this, check "Include inheritable permissions from this object's parent" again, then > Apply > OK.

Now you can do whatever you want with this folder/file.
 
Last edited:
Back
Top