Page 2 of 2 FirstFirst 12
  1.    20 Aug 2015 #11
    Join Date : Aug 2015
    Posts : 5
    Windows 10

    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.


    Quote Originally Posted by wilkster View Post
    For those of you having this permission issue, are you using both onedrive and homegroup (or either of them)?
      My ComputerSystem Spec
  2.    20 Aug 2015 #12
    Join Date : Aug 2015
    Posts : 10
    Windows 10

    Quote Originally Posted by harley309 View Post
    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 ComputerSystem Spec
  3.    20 Aug 2015 #13
    Join Date : Aug 2015
    Posts : 5
    Windows 10

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

    Quote Originally Posted by wilkster View Post
    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 ComputerSystem Spec
  4.    20 Aug 2015 #14
    Join Date : Aug 2015
    Posts : 10
    Windows 10

    Quote Originally Posted by harley309 View Post
    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 ComputerSystem Spec
  5.    26 Sep 2015 #15
    Join Date : Sep 2015
    Posts : 3
    Win 10

    This worlked for me on Folder permissions


    Quote Originally Posted by drewtopian View Post
    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 ComputerSystem Spec
  6.    09 Jun 2017 #16
    Join Date : Apr 2017
    Posts : 10
    Windows 10

    Quote Originally Posted by Traijan View Post
    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 ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Can't access Admin acct., admin files are still there
I just transferred from Windows 7, and everything worked except for the fact that the admin account on the computer (also the superuser account) cannot be accessed. The account shows up in the Users file under the Local Disk, but I can't access it...
User Accounts and Family Safety
Stuck with a guest account - can't access admin account
I am trying to change my user account from guest to admin as many things aren't working right. I have tried cmd -> netplwiz and it asks me for an admin password, but gives me no box to type it in. Even if it did, I don't know what the admin...
User Accounts and Family Safety
Microsoft Allowing Problematic Updates To Be Blocked :)
Did anyone see this? https://support.microsoft.com/en-us/kb/3073930 Seems to be one less reason to reject Windows 10. Good on them. (But I'm not jumping ship yet.) (I'm going to have to come up with a comic image where I'm laying on a...
Windows Updates and Activation
Save your windows 10 Preview Drivers and Save the Hassle Later
As many of you are aware windows 10 Preview will have to be removed (on some systems) and the original OS re-installed to get the Upgrade License Activation.. Since you already have the preview of 10 installed - most likely you also have the...
Installation and Upgrade
How to remove unwanted user account folders.\
In the progression from the December build ( I forget its number) to 10049 I have wound up with an unwanted user account in my C:\Users folder. It doesn't show up in Control Panel/User Accounts so I can't remove it via that route and if I try do...
General Support
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 04:47.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums