1. Joined : Jul 2015
    Posts : 4
    10 (build 10586.104) x64
       17 Jul 2015 #1

    Win 10 (10240) Upgrade Keeps Apps From Accessing Their Settings


    The title "Win 10 (10240) Upgrade Keeps Apps From Accessing Their Settings" is my impression of what is happening. The reasons are:


    • Skype won't login and it tells me it can't access the profile folder. If I try to browse to C:\Users\username\AppData\Roaming\Skype I get a prompt "click continue to permanently get access to this folder"
    • Firefox tells me the profile folder is missing, but it is there, it just can't access it (it wasnt as smart as skype to tell me it is there, it just can't access it).


    Some applications go thru their initial preference setup process every time they are started:


    I even uninstalled and reinstalled some of these apps, but the problem persisted.

    I've disabled UAC. Then I re-enabled it to see if for example Skype would cause a prompt to access its profile folder. This made no difference.

    I ran an SFC scan, but "Windows Resource Protection did not find any integrity violations".

    I reset the permissions and enabled inheritance for C:\Users\username\AppData\ to full control for administrators, my_username and SYSTEM. A few files in there couldn't be accessed (failed to enumerate objects in the container. access is denied), so I cascaded ownership of the folder to my_username (still failed for some objects, such as Malwarebytes, but this might be by design as MBAM is a pretty well built piece of software). Then i tried to cascade permissions again. Some folders still gave me the: failed to enumerate objects in the container. access is denied.

    To reiterate, everything worked fine under win7 before the upgrade. After the upgrade, it only started working after the permissions reset steps above. Have others encountered the same problem?

    The main point to this post is serve as guide to other people who encounter the same problem. But in order to do so, please inform if the permissions outlined above are the proper permissions for 100% of objects in C:\Users\username\AppData\*. I will update the post accordingly.

    TIA
      My System SpecsSystem Spec


  2. Joined : Jul 2015
    Posts : 2
    Windows 8.1
       18 Jul 2015 #2

    Hi there

    Looks like I had the same problem, or, something pretty similar.
    Yesterday I installed a Win 10 Pro v10240, and when I tried to copy/paste stuff into any AppData/Roaming folder I had an access denied box that would pop up.

    So I tried
    - to delete a file -> it was working
    - to rename a file -> working
    - to create a file -> working

    This was insane.
    Why does the copy/paste don't work?! It's an aggregation of these rights!

    So I ended up deleting the file I wanted to replace, then I created an empty text file, then I renamed it to the target, and I filled the file up with what I wanted.
    That was for some Opera browser configurations that were text files.

    Then I had to do the same for Firefox, but this time for a binary file. Copy/paste was triggering an access denied as well. And this time, I didn't feel like hitting my hex editor to just ... you know copy/paste the contents.
    So I opened up a cmd as administrator and made copy that way. And behold, it worked fine.

    UAC was disabled and the current user was the only one. And he was an administrator.
    Also this account was a local machine account, not an m$ account.

    And something else: both Firefox and Opera were working fine and were writing stuff in their respective folders. And of course they were not started as administrator. They were just started like that without hacks.
    That was just ME not being able to copy/paste stuff. Crazy.

    I don't remember if I checked the AppData folder permissions, but that was after a fresh Win10 install. So it's not like I was trying to reuse an existing AppData folder that had faulty ACLs.

    What I think happened, in my case, is that the file I wanted to copy was still having the old ACLs on it. And perhaps Win 10 is be checking these stuff when copying a file say, from User A to a folder belonging to User B and it would refuse the copy? Like, it was the source file ACLs that ... had something wrong? I dunno, I gotta investigate.

    So pretty much for me it's the same problem as you but in the 'opposite' effect: my apps can access their appData, but the win user itself can't fully.
      My System SpecsSystem Spec


  3. Joined : Jul 2015
    Posts : 2
    Windows 8.1
       18 Jul 2015 #3

    Reporting back here.

    My problem was that the files I was trying to copy/paste were from another NTFS partition (an USB disk) that had different ACLs.
    And the weird stuff is, Win10 seems to check the source file ACLs (the one being copied) against the target folder ACLs. If they're not the same or something it will throw an Access Denied. I'm really not sure what ACL is causing this error.

    So I pretty much had to completely "reset" the ACLs on my USB disk, but not on my Win10 partition...
    And to make things worst the "reset" ACLs commands that can be found all over the net; using takedown and icacls were not working fully: I still had some Access Denied popping in the cmd window for some folders.

    But a dude on a StackEchange has the right magic to reset the ACLs properly:
    SetACL.exe -on %target% -ot file -actn setprot -op "dacl:np;sacl:nc" -rec cont_obj -actn setowner -ownr "n:S-1-5-32-544;s:y"
    SetACL.exe -on %target% -ot file -actn ace -ace "n:S-1-5-32-544;s:y;p:full"
    Credits to this awesome guy.

    From there on, I could enjoy copying and pasting stuff from and to my UBS disk again...

    One last thing, to make sure I had to proper rights to do the above commands, I enabled the Administrator account and did all of this from its session. Overkill but I wanted to get rid of this insane issue for sure.
      My System SpecsSystem Spec


  4. Joined : Jul 2015
    Posts : 4
    10 (build 10586.104) x64
       18 Jul 2015 #4

    RedShadow said: View Post
    Reporting back here.

    My problem was that the files I was trying to copy/paste were from another NTFS partition (an USB disk) that had different ACLs.
    And the weird stuff is, Win10 seems to check the source file ACLs (the one being copied) against the target folder ACLs. If they're not the same or something it will throw an Access Denied. I'm really not sure what ACL is causing this error.

    So I pretty much had to completely "reset" the ACLs on my USB disk, but not on my Win10 partition...
    And to make things worst the "reset" ACLs commands that can be found all over the net; using takedown and icacls were not working fully: I still had some Access Denied popping in the cmd window for some folders.

    But a dude on a StackEchange has the right magic to reset the ACLs properly:
    SetACL.exe -on %target% -ot file -actn setprot -op "dacl:np;sacl:nc" -rec cont_obj -actn setowner -ownr "n:S-1-5-32-544;s:y"
    SetACL.exe -on %target% -ot file -actn ace -ace "n:S-1-5-32-544;s:y;p:full"
    Credits to this awesome guy.

    From there on, I could enjoy copying and pasting stuff from and to my UBS disk again...

    One last thing, to make sure I had to proper rights to do the above commands, I enabled the Administrator account and did all of this from its session. Overkill but I wanted to get rid of this insane issue for sure.
    Would you please link to that SO answer?

    You can also use
    Code:
    SetACL -on D:\ -ot file -actn delorphanedsids
    to remove orphan ACLs. I also had to run this on all my drives (except C, do not run this on C).

    Keep in mind that SetACL hasnt been updated to properly identify some of the accounts that exist in Win10 - it believes that the ACLs are orphans (you can see this if you run the 1st, 2nd and 3rd commands on the blog post) but if you open them in the security manager you will not see any orphan ACLs (as in they all have names, none of them are just numbers and letters).
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Some apps wont pin to taskbar windows 10 build 10240
26390 Hi I have pinned a picture to help explain my issue. Every time I try to pin skype, battle.net, itunes a new icon is pinned to the taskbar but not the jump list version. when I click on the icon on the task bar it opens another icon/program...
Software and Apps
Solved Windows 10 Upgrade 10240
I have tried several times to upgrade from Build 10166 to 10240 and this last attempt got to install files 80 percent before a restart occurred and windows was restored to the previous build. I tried cleaning the registry and that didn't help. Any...
Installation and Setup
Upgrade to TH 10240
I have upgraded 4 computers to windows 10, Three of them to 10240 successfully. My Lenovo Laptop however keeps rolling back to build 10166. I noticed that I was getting an indication of safe mode during the laptop upgrade but it seemed to be...
Installation and Setup
Settings > Apps & Features takes a very long time to start
The default display settings for the SETTINGS > SYSTEM > Apps & Features page are to display apps "By Size" and to look for apps on "All Drives". The latter is particularly stupid when you consider that Windows and the Store app install all apps to...
Software and Apps
Build 10036 Wiped Out Settings and All Apps in Start
Just what the title says. Any fix to this? TIA.
Windows Insider
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 18:37.
Find Us
Twitter Facebook Google+



Windows 10 Forums