Page 5 of 36 FirstFirst ... 3456715 ... LastLast
  1.    10 Aug 2015 #40
    Join Date : Aug 2015
    Posts : 6
    Windows 10 x64 Pro

    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 ComputerSystem Spec
  2.    10 Aug 2015 #41
    Join Date : Oct 2013
    Posts : 24,320
    64-bit Windows 10 Pro build 17017
    Thread Starter

    That's only because the "Take ownership" context menu only adds the "Administrators" group instead.
      My ComputersSystem Spec
  3.    10 Aug 2015 #42
    Join Date : Aug 2015
    Posts : 6
    Windows 10 x64 Pro

    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 ComputerSystem Spec
  4.    10 Aug 2015 #43
    Join Date : Oct 2013
    Posts : 24,320
    64-bit Windows 10 Pro build 17017
    Thread Starter

    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 ComputersSystem Spec
  5.    10 Aug 2015 #44
    Join Date : Aug 2015
    Posts : 6
    Windows 10 x64 Pro

    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 ComputerSystem Spec
  6.    10 Aug 2015 #45
    Join Date : Oct 2013
    Posts : 24,320
    64-bit Windows 10 Pro build 17017
    Thread Starter

    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 ComputersSystem Spec
  7.    10 Aug 2015 #46
    Join Date : Aug 2015
    Posts : 6
    Windows 10 x64 Pro

    I see. Thank you so much for your help.
      My ComputerSystem Spec
  8.    13 Aug 2015 #47
    Join Date : Aug 2015
    Posts : 9
    Windows 10

    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 ComputerSystem Spec
  9.    13 Aug 2015 #48
    Join Date : Oct 2013
    Posts : 24,320
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Quote Originally Posted by bobvance 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 ComputersSystem Spec
  10.    13 Aug 2015 #49
    Join Date : Aug 2015
    Posts : 9
    Windows 10

    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 ComputerSystem Spec

 
Page 5 of 36 FirstFirst ... 3456715 ... LastLast


Similar Threads
Tutorial Category
Customization Add or Remove New context menu 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
Customization Add Create Restore Point Context Menu in Windows 10
How to Add a Create Restore Point Context Menu in Windows 10 System protection (if turned on) is a feature that allows you to perform a system restore that takes your PC back to an earlier point in time, called a system restore point. This can be...
Tutorials
Customization Add Batch File 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
Customization Add VBScript File 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
Customization Add Open with to Context Menu of BAT files 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 23:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums