Take Ownership of file

How to Take Ownership of a Item in Vista and Windows 7


information   Information
This will show you how to take Ownership of a file, folder, registry key, or drive where you have been denied access to allow you to give full control of it so that you will be able to delete or modify this item. When you do this, you replace the security permissions to have access.

Note   Note
You will quickly notice that you cannot delete or modify system files, even as administrator in Vista. This is because Vista system files are owned by the TrustedInstaller service by default, and Windows File Protection will keep them from being overwritten. You will encounter a "Access Denied" error.

Tip   Tip

  • If you are trying to delete a folder, then sometimes you will need to delete the contents within the subfolders first before you will be able to delete the main folder itself.
  • The hidden My ..... folders are actually a Junction Point to the real username user folders. They cannot be modified since they are not a real location. EX: My Documents for C:\Users\(your username)\Documents
  • For more on junction points, see: jimmah.com: Why do I get an Access Denied error when trying to open a folder?
  • Sometimes you will need to move the file to the desktop or a user folder first before Vista will allow changes to be made to it. You can then move the file back afterwards.
  • You will sometimes need to take ownership of Files and folders created in another operating system when migrated into Vista.
warning   Warning
This can only be done while logged on to a administrator account. Deleting or modifying system files without knowing what you are doing may lead to eratic behavior from Vista. Even complete system failure with full data loss.


EXAMPLE: You need permission to perform this action
NOTE:
You will see this Access Denied with the Try Again type message when your user account or group does not have Ownership of the file. Clicking on the Try Again does nothing.
Need_Permission.jpg





OPTION ONE
Take Ownership of Item Using Context Menu






OPTION TWO
Take Ownership of Item in Command Prompt

EX: To Take Ownership of this System file:
C:\Windows\System32\en-US\winload.exe.mui

EX: User name to Take Ownership with: Brink
2. In the elevated command prompt, type the command below and press Enter to take ownership of the file.​
NOTE: Substitute full path of file with the full path of the file that you want to take ownership of within quotes.
takeown /f "full path of file"
For example:
takeown /f "C:\Windows\System32\en-US\winload.exe.mui"

3. A message will be displayed that this completed successfully. This will give you ownership of the file.​
4. In the same elevated command prompt, type the command below and press Enter to grant a user full control of the file.​
NOTE: Substitute full path of file with the full path of the file from step 2 within quotes , and (user name) with your user name.
icacls "full path of file" /grant (user name):F
For example:
Code:
icacls "[B][COLOR=red]C:\Windows\System32\en-US\winload.exe.mui[/COLOR][/B]" /grant [B][COLOR=red]Brink[/COLOR][/B]:F

5. A message will be displayed that this completed successfully.​
NOTE: You should be able to delete or modify the file now. If you still can't, you may need to reboot into Safe Mode and try this again. It may vary according to the file. Some are more stubborn.




OPTION THREE
To Manually Take Ownership of a Item

1. Go to the file, folder, drive, or registry key you want to delete or modify.​
NOTE: For example, the system file:
C:\Windows\System32\en-US\winload.exe.mui

2. For a File, Folder, or Drive
A) Right click on the file, folder, or drive and click on Properties.​
WARNING: Do not do this to the hard drive partition that Vista is installed on. It can mess up the boot files.​
For example, the file: winload.exe.mui

B) Go to step 4​

3. For a Registry Key
A) Click on the key in the left pane to highlight the registry key (folder).​
B) Right click on the key and click on Permissions, or click on Edit (Menu Bar) and Permissions.​

4. Click on the Security tab and on the Advanced button. (See screenshots below)​
Properties1.jpg
Registry_Advanced.jpg

5. Click on the Owner tab. (See screenshot below)​
NOTE: For a Registry key, go to step 8 after this.​
WARNING: You should make note of who the current Owner is so you can change it back to it later if you like.​
6. Click on the Edit button.​
7. If prompted by UAC, click on Continue.​
Owner.jpg

8. Under the Change owner to section, click on your user account name and click on OK. (See screenshots below​
NOTE: If you have a check box for Replace owner on subcontainers and objects, then check it if you want to take ownership of them as well. You will not see this option when taking ownership of just a file. Only with a folder.
EX. Username: Moderator (Computer Name/Username)​
Owner2.jpg
Owner2_Folder.jpg

9. Click on OK at the Security pop-up window. (See screenshot below)​
NOTE: For a Registry Key, you will not see steps 9 to 12. Go to step 13.​
Security.jpg

10. Click on OK. (See screenshot below step 7)​
11. Click on the Edit button. (See screenshot below)​
Properties2.jpg

12. If prompted, click on Continue in the UAC prompt.​
13. Click on the Add button. (See screenshot below)​
Permissions.jpg

14. To Type in Your User Account Name
NOTE: If your user account name is already listed, then do step 15 instead.​
A) Type in your user account name in the box under Enter the objects name to select. (See left screenshot below)​
NOTE: For example, Moderator. If you needed to restore TrustedInstaller as the owner, then see: How to Restore TrustedInstaller as Owner of a File in Vista
B) Click on the Check Names button.​
NOTE: If the username is found, then see right screenshot below. If it is not found, then go to step 15 below to select it.​
C) Go to step 16.​
Select_User_Groups1.jpg
Select_User_Groups2.jpg


15. To Select Your User Account name
A) Click on the Advanced button. (See left screenshot above)​
B) Click on the Find Now button. (See screenshot below)​
C) Under Search results, click on your user account name to highlight it.​
NOTE: For example, Moderator. If this is for something like a Flash USB drive, you may also want to select Everyone and give it full permission to. This way you will be able to access it from any user account.
D) Click on OK.​
Advanced_Select.jpg


16. Click on OK. (See right screenshot above step 15)​
17. Click on your user account name to highlight it. (See screenshot below)​
NOTE: For example, Moderator (Computer Name/Username)
18. Check the box for Full Control.​
NOTE: For more information on these permission choices, see: Windows Help and How-to: What are Permissions?
19. Click on OK.​
NOTE: For a Registry Key, you will not see steps 20 and 21. Go to step 22.​
Permissions2.jpg

20. Click on Yes in Windows Security pop-up. (See screenshot below)​
Confirmation.jpg

21. Click on OK. (See screenshot below step 11)​
22. Your Done. You can now delete or modify the item.​
23. If you wanted to, repeat the steps and change the Owner back to the previous owner you noted from step 5 above.​
That's it,
Shawn



 

Attachments

  • thumb____.png
    thumb____.png
    10.3 KB · Views: 528
Last edited by a moderator:
You're welcome Apple, and welcome to Vista Forums. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
These steps don't help me. I am unable to modify the owner of a folder in any way. I've tried the "take ownership" extension as well.

edit: I attached an image but it looks like it was blocked.

owner.jpg

8HImz.png
 
Last edited by a moderator:

My Computer

Hello Topdeck, and welcome to Vista Forums.

Try doing this from within the built-in Administrator account to see if you will have permission to do so without getting blocked.

Hope this helps for now,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hey,

I did this on my laptop and when I tried to change the ownership back to what it was (TrustedInstaller) it said the owner wasn't found and that you need to put a valid owner in. I wasn't too worried and thought I would do it later and shut off my laptop. I tried to switch it back on and everything ran up to the login screen but then when i logged in it displayed nothing because of the explorer.exe file. I know that it had properly logged in because i could Ctrl+Alt+Del and it would show the processes, but other than that I can't see anything.
 

My Computer

That's great news r3dt4c0, and welcome to Vista Forums. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Even though I tried this while logged on with an administrator account, I still couldn't change permissions and select "take ownership." The checkbox selection remained grayed out. The only thing that worked was Option #2, going to command line mode. Once I did this, I had permissions as desired. However, I still couldn't affect them through the UI... any idea of why?
 

My Computer

System One

  • Manufacturer/Model
    HP Pavillion dv5t
    CPU
    Intel Core Duo 2.53GHz
    Memory
    4Gb
    Graphics card(s)
    NVidia GeForce 9600M GT 512Mb
    Screen Resolution
    1280x800 32bit
    Hard Drives
    Seagate Momentus XT 500Gb Hitachi Travelstar HTS543225L9A300 250Gb
    Mouse
    Microsoft 4000
Hello Gary,

Have you also set permissions to "Allow" your user account "Full Control" after taking ownership of it? :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hello Gary,

Have you also set permissions to "Allow" your user account "Full Control" after taking ownership of it? :)
Not selectively. When I ran the take ownership command, I observed that all checkboxes were switched on by default for the file, including full control. Yet, in the UI my account would still see the checkboxes disabled--I can only view, not change. Very odd if you ask me... unless it's one of those things where I'd need to reboot to see the change take effect. I'm glad the command prompt way worked, but not being able to do this in the UI baffles me and I'd like to understand the intended behavior.
 

My Computer

System One

  • Manufacturer/Model
    HP Pavillion dv5t
    CPU
    Intel Core Duo 2.53GHz
    Memory
    4Gb
    Graphics card(s)
    NVidia GeForce 9600M GT 512Mb
    Screen Resolution
    1280x800 32bit
    Hard Drives
    Seagate Momentus XT 500Gb Hitachi Travelstar HTS543225L9A300 250Gb
    Mouse
    Microsoft 4000
Gary,

It sounds like it didnt take ownership if the permissions were still grayed out. What file were you trying to take ownership and permissions of?

Sometimes you may have to give permission by clicking on a "Allow" type button there before being able to see and change the owner.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi Shawn,

I was trying to take ownership of recdisc.exe.

After doing it through the command line, it says I have ownership in the dialog tab for Owner. Yet, here's a snapshot of how the checkboxes are all grayed out for my user ID. I can't change it, and I'm even in the Administrator group.

GK_TakeOwnership.png
 

My Computer

System One

  • Manufacturer/Model
    HP Pavillion dv5t
    CPU
    Intel Core Duo 2.53GHz
    Memory
    4Gb
    Graphics card(s)
    NVidia GeForce 9600M GT 512Mb
    Screen Resolution
    1280x800 32bit
    Hard Drives
    Seagate Momentus XT 500Gb Hitachi Travelstar HTS543225L9A300 250Gb
    Mouse
    Microsoft 4000
You might see if you may be able to change permissions using the location from step 11 in the tutorial instead.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
^ That worked. From that first security tab, I selected my user and then clicked on "Advanced". It brings up a permissions dialog and when clicking on "edit", it brings up yet another permissions dialog, a clone of the first but with the inherited checkbox enabled. From there, if I select my user again, I then see all of the permissions including "take ownership". The "allow" checkboxes are disabled, but rightly so because the permissions are already given.

As an experiment, I added another user to the permissions for this file. From there, I could select all allow checkboxes (naturally, since they were unselected by default). It's just strange how there are two different allow/deny dialogs, one in the advanced that has "take ownership" and the other which does not have it. A little stressing on the user friendliness. ;)
 

My Computer

System One

  • Manufacturer/Model
    HP Pavillion dv5t
    CPU
    Intel Core Duo 2.53GHz
    Memory
    4Gb
    Graphics card(s)
    NVidia GeForce 9600M GT 512Mb
    Screen Resolution
    1280x800 32bit
    Hard Drives
    Seagate Momentus XT 500Gb Hitachi Travelstar HTS543225L9A300 250Gb
    Mouse
    Microsoft 4000
That's great news. I'm happy to hear it worked. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
I registered here just to ask the following:

I have a problem during step 9, it attempts to apply the new permissions but fails in certain spots because the windows installed on it is corrupted (thank you malware virus). All I want is to pull the files out of my docs / my pics / desktop etc. But it is trying to apply it to other corrupted items and cannot. I know the files are there but windows was ruined and I couldn't even boot past a flashing cursor.

What should I do now?
 

My Computer

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Still getting access denied after taking ownership on a file in Windows XP, Vista or Win7 ?

If your security tab has the group name "Everyone", then remove it.

Maybe you can include this in your pink warning section or yellow tip section just in case. The instructions to take ownership with the three options worked great but I still got access denied on some files. Access denied could also be caused by the group name "Everyone" when set to "Deny Everyone Write attributes". Adding or changing any other group name and username with full control did not help. I had the same problem in WinXP, Vista, and now Win7. Thank you for your instructions which lead me in the right direction to figure this out.

To duplicate or test the problem: Find a temporary file and go to the security tab and add the group name "Everyone" and deny full control. Do the steps to take ownership and select full control but doing something with the file still gets access denied. Remove the group name "Everyone" and the file is back to normal and not access denied.
 

My Computer

Hello JT, and welcome to Vista Forums.

Yes, the "Everyone" group will also include your user account. If "Everyone" is set to "Deny" it will include your account.

Instead of removing "Everyone", you could uncheck "Deny" and check "Allow" for the permissions you wanted instead.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top