Page 5 of 26 FirstFirst ... 3456715 ... LastLast

  1. Joined : Aug 2015
    Posts : 6
    Windows 10 x64 Pro
       2015-08-10 #40

    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.
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    Posts : 17,362
    64-bit Windows 10 Pro build 15007
       2015-08-10 #41

    That's only because the "Take ownership" context menu only adds the "Administrators" group instead.
      My System SpecsSystem Spec


  3. Joined : Aug 2015
    Posts : 6
    Windows 10 x64 Pro
       2015-08-10 #42

    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
      My System SpecsSystem Spec


  4. Joined : Oct 2013
    Posts : 17,362
    64-bit Windows 10 Pro build 15007
       2015-08-10 #43

    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.
      My System SpecsSystem Spec


  5. Joined : Aug 2015
    Posts : 6
    Windows 10 x64 Pro
       2015-08-10 #44

    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.
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    Posts : 17,362
    64-bit Windows 10 Pro build 15007
       2015-08-10 #45

    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.
      My System SpecsSystem Spec


  7. Joined : Aug 2015
    Posts : 6
    Windows 10 x64 Pro
       2015-08-10 #46

    I see. Thank you so much for your help.
      My System SpecsSystem Spec


  8. Joined : Aug 2015
    Posts : 9
    Windows 10
       2015-08-13 #47

    Thanks for this, Shawn.
    Quick Q:
    Do you know what the "IsolatedCommand" string is used for?
    bv


    ---
    "The lyf so short, the craft so long to lerne."
    - Chaucer
    -----------------------------------------------------------------
      My System SpecsSystem Spec


  9. Joined : Oct 2013
    Posts : 17,362
    64-bit Windows 10 Pro build 15007
       2015-08-13 #48

    bobvance said: View Post
    Thanks for this, Shawn.
    Quick Q:
    Do you know what the "IsolatedCommand" string is used for?
    bv


    ---
    "The lyf so short, the craft so long to lerne."
    - Chaucer
    -----------------------------------------------------------------
    Hey Bob, and welcome to Ten Forums.

    I don't know the official definition of "IsolatedCommand", but it's basically just a string value used to identify what command to run.
      My System SpecsSystem Spec


  10. Joined : Aug 2015
    Posts : 9
    Windows 10
       2015-08-13 #49

    Right. I'm very familiar (so I thought ;>) with adding commands to context via reg hacks like these, but I always just put the command in the default value of "command". I never heard of "IsolatedCommand" before your little script, and Googling was of no help either.

    I just now played with it a little:
    Deleting
    "IsolatedCommand" appears to do no harm.
    Leaving
    "IsolatedCommand" in place, but clearing the default command string breaks it.
    I'm thinking that
    "IsolatedCommand" is not necessary, but I don't now enough about "runas" to be sure.

    bv


    ---
    "The lyf so short, the craft so long to lerne."
    - Chaucer
    -----------------------------------------------------------------
      My System SpecsSystem Spec


 
Page 5 of 26 FirstFirst ... 3456715 ... LastLast


Similar Threads
Tutorial Category
Restore Point Context Menu - Add in Windows 10
How to Add a 'Create Restore Point' Context Menu in Windows 10 System Restore uses a feature called system protection that regularly creates and saves information about your PC's drivers, programs, registry, system files, and settings as restore...
Tutorials
New context menu - Add or Remove in Windows 10
How to Add or Remove the New context menu in Windows 10 The New context menu allows users to quickly create new files, folders, or shortcuts in the current location. You can right click or press and hold on your desktop or in any folder window,...
Tutorials
Batch File - Add to New Context Menu in Windows 10
How to Add Windows Batch File to New Context Menu in Windows 10 A .bat file is a batch file that consists of a series of commands to be executed by the command line interpreter, stored in a plain text file. The New context menu allows users...
Tutorials
VBScript File - Add to New Context Menu in Windows 10
How to Add VBScript Script File to New Context Menu in Windows 10 A .vbs file is a VBScript (Visual Basic Script) file written in the VBScript scripting language that can be executed within Windows or Internet Explorer via the Windows-based...
Tutorials
BAT files - Add Open with Context Menu in Windows 10
How to Add or Remove Open with Context Menu to BAT files in Windows 10 A .bat file is a batch file that consists of a series of commands to be executed by the command line interpreter, stored in a plain text file. The Open with context menu...
Tutorials
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:39.
Find Us
Twitter Facebook Google+



Windows 10 Forums