Windows 10: Windows 10 not allowing save to certain folders in admin account

Discus and support Windows 10 not allowing save to certain folders in admin account in User Accounts and Family Safety to solve the problem; What if I don't share any folders? Do I still do what you suggested? You can still use the icacls command to reset/restore your permissions. In my... Discussion in 'User Accounts and Family Safety' started by yaoza, Aug 8, 2015.

  1. wilkster Win User

    Windows 10 not allowing save to certain folders in admin account


    You can still use the icacls command to reset/restore your permissions. In my case it appears that when OneDrive fires up it goes out and resets permissions for the folders that were shared through the HomeGroup setting I mentioned above. Once I removed those folders from being shared in the dialog, OneDrive left the folders alone.

    I know that is is strange the OneDrive would care about HomeGroup folders but it sure seems to.
     
    wilkster, Aug 19, 2015
    #16

  2. this is an extract from another place in this forum, (actually the content of a .reg file, credits for the creator are in the file) to add "Take Ownership" to the context menu and from there walk through all the folders that won't let you in, takes a while (about 1.5 hrs for my 250 GB of Data) but after that you're done and it won't reset at restart:

    Save this a .reg file, then run it
    ;********************************

    Windows Registry Editor Version 5.00

    ; Created by: Shawn Brink
    ; Windows 10 Forums
    ; Tutorial: Take Ownership - Add to Context Menu in Windows 10 - Windows 10 Forums


    [-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 & pause"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l & pause"


    [-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 & pause"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t /c /l /q & pause"


    [-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 & pause"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F /c /l & pause"


    [-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 & pause"
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant

    ;************************
    after that walk down the folder list

    have fun (and thanks Shawn, worked like a charm)
     
    Werner Oderwer, Sep 25, 2015
    #17
  3. Is setting the owner to a specific user better than setting the owner to "Users"?
     
    KyleDelaney, Apr 5, 2018
    #18
Thema:

Windows 10 not allowing save to certain folders in admin account

Loading...
  1. Windows 10 not allowing save to certain folders in admin account - Similar Threads - allowing save certain

  2. Windows 10 Admin Account

    in Windows 10 Software and Apps
    Windows 10 Admin Account: I currently log in with a PIN. However, something recently went haywire and it lost my PIN "not available" and could not log in using the admin account as it says it doesn't exist it is my old account. I tried recovering the account but it also says account does not exist....
  3. PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY

    in Windows 10 Gaming
    PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY: I have an issue with a particular program, it has two different locations and an asmuwrapper.exe file with a user access control lock on it, so when users print from this application, it prompts for an AD account login. the work-a-around has to be replaced this file with one...
  4. PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY

    in Windows 10 Software and Apps
    PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY: I have an issue with a particular program, it has two different locations and an asmuwrapper.exe file with a user access control lock on it, so when users print from this application, it prompts for an AD account login. the work-a-around has to be replaced this file with one...
  5. PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY

    in AntiVirus, Firewalls and System Security
    PROVIDE ADMIN ACCESS TO CERTAIN USERS FOR CERTAIN FOLDERS ONLY: I have an issue with a particular program, it has two different locations and an asmuwrapper.exe file with a user access control lock on it, so when users print from this application, it prompts for an AD account login. the work-a-around has to be replaced this file with one...
  6. Admin Account Windows 10

    in Windows 10 Software and Apps
    Admin Account Windows 10: I am unable to access the admin account on my desktop. I am running Windows 10. No matter what I try to do, it asks for a password; however, when I enter my Microsoft account password I am told it is incorrect....
  7. Admin Account Windows 10

    in Windows 10 Customization
    Admin Account Windows 10: I am unable to access the admin account on my desktop. I am running Windows 10. No matter what I try to do, it asks for a password; however, when I enter my Microsoft account password I am told it is incorrect....
  8. Windows 10 Admin account

    in Windows 10 Software and Apps
    Windows 10 Admin account: My granddaughter has a new laptop, her parents want to set up Family safety, but it appears her Microsoft account has been linked to the User Administrator profile. How can this be removed so her mother has this Admin account and she has her own login profile?Also we are...
  9. Admin account but no admin privileges-Windows 10

    in Windows 10 Network and Sharing
    Admin account but no admin privileges-Windows 10: i have a brand new machine. no internet access this is by design. i set up an admin account and a user account following the usual general instructions. I want to check to see if I have UEFI in order to set user restrictions, but the machine says I don't have admin privileges...
  10. Windows 10 no admin account

    in User Accounts and Family Safety
    Windows 10 no admin account: How do you make a admin account when there is none? I have two local accounts that are not admin, I cannot make any changes since I’m not a admin. This is on windows 10 home so there is no group policy. 128375