No access to folders

Discussion in 'PC' started by robbieeparker14, Nov 21, 2023.

  1. robbieeparker14

    robbieeparker14 Producer

    Joined:
    Nov 8, 2015
    Messages:
    309
    Likes Received:
    101
    Location:
    Va,USA
    Hi all.

    Somehow i have locked myself out of almost 2tb of kontat libraies sitting on a external drive of mine. the permissions were changed but another pc of mine before i got rid of it. this must of been by accident because its not a security measure i useally take.

    anyway, ive been on the internet for a few hours now and i cannot get these permissions changed.

    i can get into the harddrive, see the folders within but cannot go any further than that.

    windows 11.
     
  2.  
  3. \|/dave\|/

    \|/dave\|/ Member

    Joined:
    Feb 26, 2023
    Messages:
    45
    Likes Received:
    15
    hi, I rely on the following, cut & paste into a .REG file, double-click REG file, right-click your folder and run "Take Ownership":

    -------------cut starting below
    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

    [HKEY_CLASSES_ROOT\Folder\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Folder\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    --------------end cut above
     
    Last edited: Nov 21, 2023
  4. DEGRAD

    DEGRAD Ultrasonic

    Joined:
    Oct 2, 2023
    Messages:
    141
    Likes Received:
    22
    Use this.
     

    Attached Files:

  5. \|/dave\|/

    \|/dave\|/ Member

    Joined:
    Feb 26, 2023
    Messages:
    45
    Likes Received:
    15
    hi, whatever happened with your access issue?
     
Loading...
Similar Threads - access folders Forum Date
Is there a way to make Native Access Ignore/Exclude folders? Kontakt Dec 6, 2023
Is there another way to access the forum rss feed than from the “museum” Lounge Mar 31, 2026
Native Access Software Mar 25, 2026
Hilfe Help . Access Virus TI2 DE Mar 3, 2026
NI - Native Access? Kontakt Feb 13, 2026
Loading...