Windows 10 not allowing save to certain folders in admin account

Page 2 of 2 FirstFirst 12

  1. Posts : 5
    Windows 10
       #11

    I am seeing in some of the folders when I go into the Security tab that there is a "homegroup" with my User Name. I never created that. Some folders have it some don't. Yes, I use Onedrive. I also changed the names of the Documents & Photos files to Onedrive Documents & Onedrive Photos just so things wouldn't get confusing. UGH !!!! Still nothing works. I reset and upon reboot it goes back.


    wilkster said:
    For those of you having this permission issue, are you using both onedrive and homegroup (or either of them)?
      My Computer


  2. Posts : 10
    Windows 10
       #12

    harley309 said:
    I am seeing in some of the folders when I go into the Security tab that there is a "homegroup" with my User Name. I never created that. Some folders have it some don't. Yes, I use Onedrive. I also changed the names of the Documents & Photos files to Onedrive Documents & Onedrive Photos just so things wouldn't get confusing. UGH !!!! Still nothing works. I reset and upon reboot it goes back.
    Here is what worked for me (so far anyway). In my Change HomeGroup Sharing Settings dialog I set all of the permissions to Not Shared for Pictures, Videos, Music, Documents and Printers & Devices. This was the key for me to prevent OneDrive from resetting all of my permissions at each boot. I then when into my user folder (e.g. c:\users\joe) and with an administrative command prompt entered for each of the folders with bad permissions: (Pictures is an example)
    icacls Pictures /reset /t /q

    This reset all of the permissions to the folder to that of my user account so I could then write to them.

    To add back the folders I wanted shared in the HomeGroup I just selected them from Explorer and under sharing pressed the share with HomeGroup (Read Execute or Read/Write). (Note, you have to have simple file sharing enabled to do this).
      My Computer


  3. Posts : 5
    Windows 10
       #13

    What if I don't share any folders? Do I still do what you suggested?

    wilkster said:
    Here is what worked for me (so far anyway). In my Change HomeGroup Sharing Settings dialog I set all of the permissions to Not Shared for Pictures, Videos, Music, Documents and Printers & Devices. This was the key for me to prevent OneDrive from resetting all of my permissions at each boot. I then when into my user folder (e.g. c:\users\joe) and with an administrative command prompt entered for each of the folders with bad permissions: (Pictures is an example)
    icacls Pictures /reset /t /q

    This reset all of the permissions to the folder to that of my user account so I could then write to them.

    To add back the folders I wanted shared in the HomeGroup I just selected them from Explorer and under sharing pressed the share with HomeGroup (Read Execute or Read/Write). (Note, you have to have simple file sharing enabled to do this).
      My Computer


  4. Posts : 10
    Windows 10
       #14

    harley309 said:
    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 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.
      My Computer


  5. Posts : 3
    Win 10
       #15

    This worlked for me on Folder permissions


    drewtopian said:
    If you right click the app you're trying to save in E.G. Notepad, Chrome, etc, and choose "run as administrator" you should then be able to save files.

    This has to do with the built in admin account being an elevated admin account and all other admin accounts being non elevated accounts. However I'm having trouble figuring out how to always run Chrome as an admin. Logging on as the built in admin account still won't let me set the shortcut to run as an admin automatically.
    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)
      My Computer


  6. Posts : 13
    Windows 10
       #16

    Traijan said:
    As posted by You:
    1. Right click an affected folder.
    2. Click Properties.
    3. Click the Security tab
    4. Click the "Advanced" button.
    5. Click "Change" next to Owner.
    6. Type your username, click the "Check Names" button, then click OK.
    7. Check "Replace owner on subcontainers and objects" under the owner's name.
    8. Click OK again. If you get a message saying "Do you want to replace the directory permissions with permissions granting you full control?", click "Yes" and you're done.
    9. Click the "Edit" button.
    10. Click on your username from the list.
    11. Check "Full control" underneath it.
    12. Click OK.
    13. Click OK again.

    Repeat with all of the problematic folders.

    You may also have to add a new user (your username) to the list of users that have permission if it's not already there. The above instructions worked for me on all the users folder except for the Pictures folder, and a couple days later of mulling it over I noticed that my username wasn't even listed in the list of users that had access to the Pictures folder even though I was the "owner" of the Pictures folder. Adding my computer username and it fixed it up in the last of the User folders.
    Is setting the owner to a specific user better than setting the owner to "Users"?
      My Computer


 

  Related Discussions
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 08:54.
Find Us




Windows 10 Forums