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; I'm not sure how it came to be but it's a folder called (this is my windows username) and it contains a folder called Music, both folders are... Discussion in 'Windows 10 Tutorials' started by Zardoc, Jul 19, 2015.

  1. Xelot Win User

    Add Take Ownership to Context Menu in Windows 10


    I'm not sure how it came to be but it's a folder called (this is my windows username) and it contains a folder called Music, both folders are otherwise empty. It's on one of my storage disks (non OS). I also notice another storage disk has the same thing now, except it has Music and Documents, again all empty. There is only the one account (i'm the only one who uses the pc) so it is admin etc of course.

    At first, it came up "you'll need to provide administrator permission to delete this folder", so I clicked Continue, then it said "You require permission from SYSTEM to make changes to this folder".

    Since using the Take Ownership method (also doing this manually through properties and advanced permissions window), it is the same scenario except it is saying "You require permission from (pcname)\ to make changes to this folder".

    It makes no sense! I am on that account, I couldn't even be on another account if I wanted to as I said there is only one.
     
    Xelot, Jul 24, 2015
    #16
  2. Brink
    Brink New Member

    It sounds like you may have set "File History" to backup there?
     
    Brink, Jul 24, 2015
    #17
  3. Xelot Win User
    Updated previous post with more info + I haven't touched file history - checking it now I can confirm it is off.

    Unlocker has done the trick and the folder has gone. thanks!

    Is there any way of permanently getting rid of the "you need to provide admin privs to do anything here" prompts? It comes up all the time when I am working with files on the main C drive, I have turned off UAC as those prompts are also annoying but I am stuck with these prompts it seems.

    Security is not even an issue on the system as it is not connected to the internet.
     
    Xelot, Jul 24, 2015
    #18
  4. Brink
    Brink New Member

    Add Take Ownership to Context Menu in Windows 10

    Brink, Jul 24, 2015
    #19
  5. Xelot Win User
    Roger that, I may end up doing that but as it would be some hassle switching from this user profile is there no way to get the normal admin account to have full access ?

    I'm sure on windows 7 you didn't have to use the built-in admin account to avoid having these kind of prompts.
     
    Xelot, Jul 24, 2015
    #20
  6. Brink
    Brink New Member
    You could try this below to elevate administrators.

    User Account Control (UAC) - Elevate Privilege Level
     
    Brink, Jul 24, 2015
    #21
  7. Ubimo Win User
    Hello Brink, great work you do!

    For me "Take Ownership" is not working correctly. When I want to delete a folder I get the first message, see Screenshot 1. That's normal because I don't own the folder yet.


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


    Then I select "Take Ownership" from the context menu and then I try to delete the folder again I get another message, see Screenshot 2.


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


    The owner changed, but I'm still not the owner of the folder.
     
    Ubimo, Jul 28, 2015
    #22
  8. Brink
    Brink New Member

    Add Take Ownership to Context Menu in Windows 10

    Hello Ubimo,

    Since you do not have an English Windows installed, that would be the problem. You will need to change the y (yes) commands in bold red below from the .reg file with your language version of them. Afterwards, save and merge the .reg again.

    Code: Windows Registry Editor Version 5.00 ; Created by: Shawn ; [URL="https://www.windowsphoneinfo.com/threads/add-take-ownership-to-context-menu-in-windows-10.9528/']https://www.tenforums.com/tutorials/3...dows-10-a.html[/url] [-HKEY_CLASSES_ROOT\*\shell\runas] [HKEY_CLASSES_ROOT\*\shell\runas] @="Take Ownership" "HasLUAShield"="" "NoWorkingDirectory"="" Position="middle" [HKEY_CLASSES_ROOT\*\shell\runas\command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l" "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l" [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take Ownership" "HasLUAShield"="" "NoWorkingDirectory"="" Position="middle" [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t /c /l /q" "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t /c /l /q" [-HKEY_CLASSES_ROOT\dllfile\shell\runas] [HKEY_CLASSES_ROOT\dllfile\shell\runas] @="Take Ownership" "HasLUAShield"="" "NoWorkingDirectory"="" Position="middle" [HKEY_CLASSES_ROOT\dllfile\shell\runas\command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l" "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l" [-HKEY_CLASSES_ROOT\Drive\shell\runas] [HKEY_CLASSES_ROOT\Drive\shell\runas] @="Take Ownership" "HasLUAShield"="" "NoWorkingDirectory"="" Position="middle" [HKEY_CLASSES_ROOT\Drive\shell\runas\command] @="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t /c /l /q" "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t /c /l /q" [-HKEY_CLASSES_ROOT\exefile\shell\runas] [HKEY_CLASSES_ROOT\exefile\shell\runas] "HasLUAShield"="" [HKEY_CLASSES_ROOT\exefile\shell\runas\command] @=""%1" %*" "IsolatedCommand"=""%1" %*"[/quote]
     
    Brink, Jul 28, 2015
    #23
  9. Ubimo Win User
    I did as you said, copied your code to a .reg file, replaced the three bold, red "y" to my language ("j").
    I think you missed one "y" in the 8th line from the bottom up. I tried everything. Nothing is working.

    Then I tried to run this and other commands from the .reg in console: cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l
    The answer was: File or folder not found
    I think there is somewhere the problem?

    Edit:
    I did some research on the takeown command and found out that the "y" after the /d option is valid, even in my language.

    Edit2:
    It seems the take ownership command changes the ownership to another account which is my account but I do not have the permission to delete the folder. Weird...

    Edit3:
    Just for your info, I disabled UAC via Windows 10 Manager, I hope this is no problem.
     
    Ubimo, Jul 28, 2015
    #24
  10. Brink
    Brink New Member
    Brink, Jul 28, 2015
    #25
  11. Ubimo Win User
    Dear Brink, thank you for the fast responses.
    As you can see the "take ownership" command already added me as owner, but I only have the permission to read or run. I can set it manually to full access but it would be more comfortable to do this with one click from the context menu. I think I have to flip some switches in the .reg file...


    Add Take Ownership to Context Menu in Windows 10 [​IMG]
     
    Ubimo, Jul 28, 2015
    #26
  12. Brink
    Brink New Member
    I see the problem. This is a protected OS file/folder. Those you need to do manually. *Sad
     
    Brink, Jul 28, 2015
    #27
  13. Ubimo Win User

    Add Take Ownership to Context Menu in Windows 10

    Aha, ok, thanks for the help *Smile
     
    Ubimo, Jul 28, 2015
    #28
  14. stan Win User
    Take Ownership in the Context Menu worked great for me. My only problem seems to be with persistence. When I reboot the computer I'm back to square one and I have to take ownership and/or change the Permissions for HomeUsers all over again. Is there anything I can do to maintain persistence? Thanks much.
     
  15. Brink
    Brink New Member
    Hello Stan, and welcome to Ten Forums.

    Please provide more details about your issue, and what you need permissions for. *Smile
     
    Brink, Aug 1, 2015
    #30
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...