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

Page 2 of 2 FirstFirst 12
  1.    20 Aug 2015 #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: 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

    harley309 said: 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

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

    wilkster said: 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

    harley309 said: 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

    This worlked for me on Folder permissions


    drewtopian said: 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


 
Page 2 of 2 FirstFirst 12

Related Threads
Can't access Admin acct., admin files are still there in User Accounts and Family Safety
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...
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...
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...
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...
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...
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 05:16.
Find Us