Windows 10: Add Take Ownership to Context Menu in Windows 10

Discus and support Add Take Ownership to Context Menu in Windows 10 in Windows 10 Tutorials to solve the problem; Hello , and welcome to Ten Forums. Please provide more details about your issue, and what you need permissions for. *Smile My Windows 10 upgrade from... Discussion in 'Windows 10 Tutorials' started by Zardoc, Jul 19, 2015.

  1. stan Win User

    Add Take Ownership to Context Menu in Windows 10


    My Windows 10 upgrade from Windows 8.1 created two Document folders, one of the C: drive and another on the E: drive.


    C:\Users\\Documents (This PC > Local Disk(C*Smile > Users > )
    Document Properties
    Group or user names
    1. SYSTEM
    2. ley(name@live.com)
    3. Home Users(My-PC\HomeUsers)
    4. Administrators(My-PC\Administrators)
    This folder is on the system drive (C*Smile and I have "full control" permissions. No problems.


    E:\\Documents (This PC > Disk 0 Partition (E*Smile > )
    Document Properties
    Group or user names
    1. SYSTEM
    2. HomeUsers(My-PC\HomeUsers)
    3. Administrators(My-PC\Administrators)
    This was my Documents folder on Windows 8.1. I had redirected it from the system drive to storage drive (E*Smile to save space and traffic on the a solid state system drive.
    The default Permissions for HomeUsers excludes Full Control, Modify, and Write. Since I am the only Administrator as well as the only user on this PC, I am puzzled as to why I don't have full access, but apparently Windows 10 thinks I am a HomeUser. I can edit HomeUsers and gain full control but I lose it again as soon as I reboot. That is an intolerable hassel. So I was prompted to ask if there is a way I can gain persistent full-control permissions, even after a reboot.


    Now I am also wondering if I can just move the files in E:\\Documents to C:\Users\\Documents and then redirect C:\Users\\Documents to a storage drive. Would I then inherit full-control permission on the storage drive?


    Many thanks for your response.
     
  2. Brink
    Brink New Member
    Brink, Aug 1, 2015
    #32
  3. Mullins Win User
    Mullins, Aug 5, 2015
    #33
  4. Brink
    Brink New Member

    Add Take Ownership to Context Menu in Windows 10

    Glad it could help Mullins, and welcome to Ten Forums. *Smile
     
    Brink, Aug 5, 2015
    #34
  5. Any idea, how to do it via bat? I did this, but I get double quotes. *Sad

    EDIT: I have found a utility called RegConvert, it did the work. *Smile

    Code: reg add "HKCR\*\shell\runas" /ve /t REG_SZ /d "Take ownership" /freg add "HKCR\*\shell\runas" /v "HasLUAShield" /t REG_SZ /d "" /f reg add "HKCR\*\shell\runas" /v "NoWorkingDirectory" /t REG_SZ /d "" /f reg add "HKCR\*\shell\runas\command" /ve /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" && icacls \"%%1\" /grant administrators:F" /f reg add "HKCR\*\shell\runas\command" /v "IsolatedCommand" /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" && icacls \"%%1\" /grant administrators:F" /f reg add "HKCR\Directory\shell\runas" /ve /t REG_SZ /d "Take ownership" /f reg add "HKCR\Directory\shell\runas" /v "HasLUAShield" /t REG_SZ /d "" /f reg add "HKCR\Directory\shell\runas" /v "NoWorkingDirectory" /t REG_SZ /d "" /f reg add "HKCR\Directory\shell\runas\command" /ve /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" /r /d y && icacls \"%%1\" /grant administrators:F /t" /f reg add "HKCR\Directory\shell\runas\command" /v "IsolatedCommand" /t REG_SZ /d "cmd.exe /c takeown /f \"%%1\" /r /d y && icacls \"%%1\" /grant administrators:F /t" /f[/quote]
     
    TairikuOkami, Aug 9, 2015
    #35
  6. 1337n3ss Win User
    Hello everyone,

    I am experiencing a weird issue and have no clue on how to solve it.

    I have a folder on my SSD named "firefox". The full path is :"F:\SAVE\programs_\Browsers\firefox". When I right click on the "firefox" folder and try to take ownership, everything goes fine (screenshot is below).


    Add Take Ownership to Context Menu in Windows 10 [​IMG]



    However, when I right click on the "firefox" folder and go to Properties/Security, my username ("User") does not appear on the list. Screenshot is below.


    Add Take Ownership to Context Menu in Windows 10 [​IMG]



    Interestingly enough, if I copy the "firefox" folder to the same location, right click on "firefox - Copy" and go to Properties/Security, my username does appear on the list. Screenshot is below.



    Add Take Ownership to Context Menu in Windows 10 [​IMG]


    How is this even possible and why can't I take ownership of "firefox"?

    Thanks.
     
    1337n3ss, Aug 9, 2015
    #36
  7. Brink
    Brink New Member
    Hello 1337n3ss, and welcome to Ten Forums. *Smile

    The Take Ownership context menu will only change the owner to the current user and grant the Administrators group full access permission. That's why your user name is not listed in the "Group or user names" box. Since your account is an administrator, it doesn't matter since all users that are administrators will have access as set by the context menu.

    Owner and permissions are two separate settings.

    When you manually copy the folder, your name gets added to "Group or user names" box because of inherited permissions since your technically just created it there by copying it.
     
    Brink, Aug 9, 2015
    #37
  8. 1337n3ss Win User

    Add Take Ownership to Context Menu in Windows 10

    Thank you for such a quick reply, Brink.

    I am still a little confused by what's happening. Do you know why the "New" context menu in the original folder ("firefox") differs from the "New" context menu in the copy? Shouldn't they be the same since my account is an administrator and the Take Ownership context menu gives full access permission to the Administrators group?

    Screenshots are below.



    Add Take Ownership to Context Menu in Windows 10 [​IMG]

    Add Take Ownership to Context Menu in Windows 10 [​IMG]
     
    1337n3ss, Aug 9, 2015
    #38
  9. Brink
    Brink New Member
    I'm afraid that I don't know why for the New context menu. If you like, you could manually add your username to permissions in the folder's properties, and set it to "Allow" "Full control" for your user account to see if that has any affect on the New context menu.

    https://www.tenforums.com/tutorials/3...dows-10-a.html
     
    Brink, Aug 9, 2015
    #39
  10. 1337n3ss Win User
    Thank you for your help, I really appreciate it. Adding my username to permissions in the folder's properties and setting it to "Allow" "Full control" for my user account fixed the New context menu inside that folder.

    Still, I find it strange that one has to do that even after having clicked on the Take Ownership context menu.
     
    1337n3ss, Aug 9, 2015
    #40
  11. Brink
    Brink New Member
    That's only because the "Take ownership" context menu only adds the "Administrators" group instead.
     
    Brink, Aug 9, 2015
    #41
  12. 1337n3ss Win User
    Thank you for the reply. I think I understand now.

    Could you please tell me which of the below two modifications to the REG file is better?
    1. Replacing /grant administrators:F with /grant User:F
    2. Adding && icacls "%1" /grant User:F /c /l after icacls "%1" /grant administrators:F /c /l and before & pause
     
    1337n3ss, Aug 9, 2015
    #42
  13. Brink
    Brink New Member

    Add Take Ownership to Context Menu in Windows 10

    It won't work properly in the context menu to call for the user name.

    It'll be best to manually add your name to permissions if needed instead.
     
    Brink, Aug 9, 2015
    #43
  14. 1337n3ss Win User
    Thank you for the reply.

    Here is what I what I noticed. Let's say that we have the following file/folder structure:
    folder-1/folder-A/file1
    folder-1/folder-B/file2
    folder-1/file3

    If I take ownership of folder-1, then I will be the owner of file3 (e.g. I can rename it without having Windows ask me to provide administrator permission), but I will not be the owner of file1 and file2. Right clicking on folder-A or folder-B and then clicking on "Take Ownership" does nothing and I need to manually add my username to "Security/Group or user names" in order to become the owner of file1 and file2.

    However, if I first take ownership of folders A and B, and only then take ownership of folder-1, than I will be the owner of all three files.

    Is it possible to modify the script to address this problem or is it how it is supposed to be and there is no way around it?

    Thanks.
     
    1337n3ss, Aug 9, 2015
    #44
  15. Brink
    Brink New Member
    It all depends on if the subfolders and subfiles have inheritable permissions from the parent folder that you take ownership of or not.

    The script will already change the owner to your account of the folder and it's contents though.
     
    Brink, Aug 10, 2015
    #45
Thema:

Add Take Ownership to Context Menu in Windows 10

Loading...
  1. Add Take Ownership to Context Menu in Windows 10 - Similar Threads - Add Ownership Context

  2. How to add or remove EFS File ownership from Context Menu in Windows 10

    in Windows 10 News
    How to add or remove EFS File ownership from Context Menu in Windows 10: [ATTACH]Encryption is the strongest protection that Windows provides to help you keep your files and folders secure. When you encrypt a file or folder with […] This article How to add or remove EFS File ownership from Context Menu in Windows 10 first appeared on...
  3. Add or Remove EFS "File ownership" Context Menu in Windows 10

    in Windows 10 Tutorials
    Add or Remove EFS "File ownership" Context Menu in Windows 10: How to: Add or Remove EFS "File ownership" Context Menu in Windows 10 How to Add or Remove EFS "File ownership" Context Menu in Windows 10 [img] Information The Encrypting File System (EFS) is the built-in encryption tool in Windows used to encrypt files and folders...
  4. History - Add to Context Menu in Windows 10

    in Windows 10 Tutorials
    History - Add to Context Menu in Windows 10: How to: History - Add to Context Menu in Windows 10 How to Add History to Context Menu in Windows 10 [img] Information You can use File History to automatically back up versions of your files on a schedule to a location you select to save to. You can select to save...
  5. Add Restart Context Menu in Windows 10

    in Windows 10 Tutorials
    Add Restart Context Menu in Windows 10: How to: Add Restart Context Menu in Windows 10 How to Add Restart Context Menu in Windows 10 Restart will close all apps, sign out all users, and full shutdown and restart (reboot) the PC. Starting with the Windows 10 Fall Creators Update: Old behavior: - When...
  6. Add HomeGroup to Context Menu in Windows 10

    in Windows 10 Tutorials
    Add HomeGroup to Context Menu in Windows 10: How to: Add HomeGroup to Context Menu in Windows 10 [img] Information A Homegroup makes it easy to share pictures, music, documents, videos, and printers with other Windows 7, Windows 8, Windows 8.1, and Windows 10 computers on your local home network. You can also stream...
  7. Cleanup - Add to Context Menu in Windows 10

    in Windows 10 Tutorials
    Cleanup - Add to Context Menu in Windows 10: How to: Cleanup - Add to Context Menu in Windows 10 How to Add Cleanup to Context Menu of Drives in Windows 10 [img] Information You can use Disk Cleanup to reduce the number of unnecessary files on your drives, which can help your PC run faster. It can delete...
  8. Add Settings to Context Menu in Windows 10

    in Windows 10 Tutorials
    Add Settings to Context Menu in Windows 10: How to: Add Settings to Context Menu in Windows 10 How to Add or Remove Settings context menu in Windows 10 Most of the settings you'll want to change in Windows 10 are in Settings. Settings is organized into the separate System, Devices, Phone, Network & Internet,...
  9. Add Bluetooth context menu in Windows 10

    in Windows 10 Tutorials
    Add Bluetooth context menu in Windows 10: How to: Add Bluetooth context menu in Windows 10 How to Add or Remove a Bluetooth context menu in Windows 10 There are many different types of Bluetooth enabled devices you can add to your PC, such as mobile phones, wireless headsets, and wireless mouse devices and...
  10. Email - Add to Context Menu in Windows 10

    in Windows 10 Tutorials
    Email - Add to Context Menu in Windows 10: How to: Email - Add to Context Menu in Windows 10 How to Add Email to Context Menu in Windows 10 [img] Information You can use Email from the Share tab in the ribbon of File Explorer by default when you have files and/or folders selected. It allows you to send the...