Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Store installed Ubuntu fails to launch - cannot access specified device, path, or file. #2323

Open
rkeithhill opened this issue Jul 12, 2017 · 63 comments

Comments

Projects
None yet
@rkeithhill
Copy link

commented Jul 12, 2017

  • Your Windows build number: 10.0.16237.1001

  • What you're doing and what's happening
    I downloaded the Ubuntu dist from the Windows Store. When I run it I get the error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.

image

  • What's wrong / what should be happening instead:
    I expect the Bash shell to start up.

When I try to access the path above, indeed I do not have pemissions to even see the contents of the folder C:\Program Files\WindowsApps. I also have the original Ubuntu WSL installed on this machine (14.04) and it works just fine.

@sunilmut

This comment has been minimized.

Copy link
Member

commented Jul 13, 2017

@sunilmut

This comment has been minimized.

Copy link
Member

commented Jul 13, 2017

@rkeithhill - Thanks for your post. When you say When I run it, can you describe how exactly you are running the app?

@sunilmut sunilmut added the need-repro label Jul 13, 2017

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

I click on the "recently installed" Ubuntu icon in the Start | All Apps menu.

@benhillis

This comment has been minimized.

Copy link
Member

commented Jul 13, 2017

@rkeithhill - I have not seen this previously. Did launching the tile over work or did you hit this the first time ever launching?

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

It never worked.

@zadjii-msft

This comment has been minimized.

Copy link
Member

commented Jul 13, 2017

@rkeithhill hmm. This is indeed something I've never seen before. It's definitely right that you shouldn't be able to access C:\Program Files\WindowsApps - that's where Windows stores the data for your apps from the Store.

Does calling ubuntu from the commandline work?

Does running the ubuntu.exe in %localappdata%\Microsoft\WindowsApps work?

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

No, running Ubuntu from PowerShell gives this error:

image

The error details are:


PSMessageDetails      :
Exception             : System.Management.Automation.ApplicationFailedException: Program 'ubuntu.exe' failed to run:
                        Access is deniedAt line:1 char:1
                        + ubuntu
                        + ~~~~~~. ---> System.ComponentModel.Win32Exception: Access is denied
                           at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                           at System.Management.Automation.NativeCommandProcessor.Complete()
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.NativeCommandProcessor.Complete()
                           at System.Management.Automation.CommandProcessorBase.DoComplete()
                           at
                        System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase
                        commandRequestingUpstreamCommandsToStop)
                           at
                        System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
                        input)
                        --- End of stack trace from previous location where exception was thrown ---
                           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                           at
                        System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object
                        input)
                           at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
                        ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts,
                        CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
                        frame)
                           at
                        System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
                        frame)
TargetObject          :
CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
FullyQualifiedErrorId : NativeCommandFailed
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

MyCommand             :
BoundParameters       : {}
UnboundArguments      : {}
ScriptLineNumber      : 1
OffsetInLine          : 1
HistoryId             : -1
ScriptName            :
Line                  : ubuntu
PositionMessage       : At line:1 char:1
                        + ubuntu
                        + ~~~~~~
PSScriptRoot          :
PSCommandPath         :
InvocationName        :
PipelineLength        : 0
PipelinePosition      : 0
ExpectingInput        : False
CommandOrigin         : Internal
DisplayScriptPosition :

Exception at nesting level 0 ---------------------------------------------------

ErrorRecord                 : Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
                              + ubuntu
                              + ~~~~~~.
WasThrownFromThrowStatement : False
Message                     : Program 'ubuntu.exe' failed to run: Access is deniedAt line:1 char:1
                              + ubuntu
                              + ~~~~~~.
Data                        : {System.Management.Automation.Interpreter.InterpretedFrameInfo}
InnerException              : System.ComponentModel.Win32Exception (0x80004005): Access is denied
                                 at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                                 at System.Management.Automation.NativeCommandProcessor.Complete()
TargetSite                  : Void Complete()
StackTrace                  :    at System.Management.Automation.NativeCommandProcessor.Complete()
                                 at System.Management.Automation.CommandProcessorBase.DoComplete()
                                 at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProce
                              ssorBase commandRequestingUpstreamCommandsToStop)
                                 at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate
                              (Object input)
                              --- End of stack trace from previous location where exception was thrown ---
                                 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                                 at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate
                              (Object input)
                                 at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean
                              ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[]
                              pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                                 at
                              System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame
                              frame)
                                 at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interp
                              retedFrame frame)
HelpLink                    :
Source                      : System.Management.Automation
HResult                     : -2146233087

Exception at nesting level 1 ---------------------------------------------------

NativeErrorCode : 5
ErrorCode       : -2147467259
Message         : Access is denied
Data            : {}
InnerException  :
TargetSite      : Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
StackTrace      :    at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
                     at System.Management.Automation.NativeCommandProcessor.Complete()
HelpLink        :
Source          : System
HResult         : -2147467259
@zadjii-msft

This comment has been minimized.

Copy link
Member

commented Jul 13, 2017

I know this sounds ridiculous, but does uninstalling and re-installing change anything?

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

Not ridiculous at all. But alas, I've tried that. No joy. Fails the same way.

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

OK, this app isn't the only one misbehaving on my insider's build.

image

Most store apps seems to be working fine: the built-in apps, Tweetium. But these two at least are having problems. So this is likely not a WSL issue but an Appx issue of some sort. And it's not like we haven't had Appx issues for the past 5 years. Welcome to the Windows Store. :-)

@onomatopellan

This comment has been minimized.

Copy link

commented Jul 13, 2017

Hi. Did you try running this? http://aka.ms/diag_apps10

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Jul 13, 2017

That worked. Thanks! It said that the location of my Temporary Files had changed and that that could cause problems with Windows Store apps. Not sure how that got changed but fixing it, fixes the Ubuntu store app.

@rkeithhill rkeithhill closed this Jul 13, 2017

@gregersn

This comment has been minimized.

Copy link

commented Oct 6, 2017

I get this exact same error dialog as in the first post here now. And I have tried tons of stuff. It works with other users. But running the troubleshooting app does not seem to do anything.
This is driving me nuts.

I am running Version 1709 (OS Build 16299.15)

@rotech

This comment has been minimized.

Copy link

commented Oct 18, 2017

I am seeing this too. The AppsDiagnostic solution did not work for me. It's the same with both Suse Leap and Ubuntu from the Store.
suse
ubuntu

@rotech

This comment has been minimized.

Copy link

commented Oct 21, 2017

I have solved the issue for me. I noticed that unbuntu.exe in the path
C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\ was 0kb and had no icon.

I copied everything from:
C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc
Into:
C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc

Ran unbuntu.exe from inside the Canonical... folder in the user AppData dir, and everything installed perfectly.

@Spacefish

This comment has been minimized.

Copy link

commented Nov 9, 2017

I had the same problem on a fresh windows 10 1709 Enterprise install.. I did not setup a microsoft account, maybe that´s the issue? The troubleshooter fixed it b.t.w.!

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Nov 9, 2017

In a few days, see if the problem comes back. It does for me just about every day and every day I have to run the troubleshooter to fix it. Sigh...

@rotech

This comment has been minimized.

Copy link

commented Nov 9, 2017

Of interest, this only happens for my domain user (member of local Administrator group). Local accounts do not have this issue.

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Nov 9, 2017

@rotech My situation is the same - domain account and member of Adminstrators but I normally run as a standard user (UAC is enabled).

@rotech

This comment has been minimized.

Copy link

commented Nov 16, 2017

This is still a problem. Should this be reopened, or another issue opened?

@rkeithhill

This comment has been minimized.

Copy link
Author

commented Nov 16, 2017

Yes because running the troubleshooter provides only a temporary fix and I mean very temporary.

@rkeithhill rkeithhill reopened this Nov 16, 2017

@bitcrazed

This comment has been minimized.

Copy link
Collaborator

commented Nov 16, 2017

@rotech - the ubuntu.exe "execution alias" is an NTFS reparse point so has no length and no icon.

Could we ask one/both of you to please speak to your IT Admin team and ask if they move your temp folder, and/or modify the permissions on any of your filesystem folders?

We have a strong suspicion that your AV software may also be involved - please email me the details of which AV products you're running: richturn at you know where dot com.

Thanks.

@rotech

This comment has been minimized.

Copy link

commented Nov 22, 2017

Thought this issue may have been related to the Webroot AV bug below, however installing the patched version, and also removing it has not resolved the problem.

https://community.webroot.com/t5/Product-Releases/Windows-10-Fall-Creator-Update-Bug-Fix/td-p/305469

@foxx1337

This comment has been minimized.

Copy link

commented Nov 23, 2017

I found a workaround, though a relatively unsatisfactory one.

  1. Give your user permission on C:\Program Files\WindowsApps (the Canonical.... folder is the interesting one).
  2. Copy that to one of "your" folders and run ubuntu.exe from there.
  3. Uninstall Ubuntu from the store, it's useless anyways. The root of the new Linux userspace will be under the new location, in "your" folder, instead of AppData\Local\Packages\Canonical....
@bitcrazed

This comment has been minimized.

Copy link
Collaborator

commented Nov 27, 2017

@foxx1337: A couple of things:

  1. Installing a distro from the Store is FAR from "useless": By installing via the store, your distro install source will be kept up to date, ensuring that when you do install/re-install a distro, that you're installing the latest version.
  2. Installing to an arbitrary location means that you run the risk of being unsupported because Windows can no longer control the security of your distro root via Windows' ACL's and other measures designed to protect you from malicious attack..
@therealkenc

This comment has been minimized.

Copy link
Collaborator

commented Nov 27, 2017

ensuring that when you do install/re-install a distro, that you're installing the latest version.

I reluctant to wade in on this, but that logic doesn't really follow. The store doesn't get you the latest version. Pulling the cloud tarball from Canonical gets you the latest version. You keep up to date with apt. I'll leave the usefulness of the store as a distribution mechanism to others, but getting the latest Ubuntu image isn't part of that debate.

Windows can no longer control the security of your distro root via Windows' ACL's

There are no special ACLs on the LocalState folder right now. If the implication is that init will not launch in a directory without special ACLs in the future, that would be, how to put it... most unfortunate.

@harakka

This comment has been minimized.

Copy link

commented Feb 9, 2018

I just tried creating a new account on this machine. Installing Ubuntu from Windows Store works on the new account, so I guess something in my current profile is messed up. Whatever it is, neither the built-in Windows Store Apps troubleshooter, nor the tool linked in #issuecomment-315141046 seem to detect it. I don't know whether I have any other options than to move to a new Windows user account, or to keep using a legacy WSL install.

@WSLUser

This comment has been minimized.

Copy link

commented Feb 9, 2018

@harakka, just to get the obvious out there, If it's a profile issue, clear your current profile on the DC and workstation (while logged off that account obviously) and log back in. All the directories will regenerate. If necessary, you can always .old your current profile to load a brand new one. Either way, make sure your desktop items are saved elsewhere since you'll lose them.

@mattmon1

This comment has been minimized.

Copy link

commented Feb 9, 2018

I believe that I'm seeing a variant of this issue and thought that I'd contribute my findings to see if they can help expedite a resolution.

I'm running windows 10 preview OS build 17074.1002. My application is a .NET 4.7 windows service, which executes 'ubuntu run [linuxCommand]' in a diagnostics process and collects results from standard output and standard error.

The application performs exceptionally well for days on end with no Linux errors. However, occasionally the application hits a time window (for example: last night between 1AM and 9AM) where Linux commands fail with the following exception:

System.ComponentModel.Win32Exception (0x80004005): The file cannot be accessed by the system
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()

Only new command invocations fail. Linux commands that were running prior to the initial exception at the start of the time window continue to execute without error and I can find their pid's by running ps -x from an ubuntu window. My machine was running windows defender when the exception occurred. After reading the suggestions in this thread, I've turned defender off in hopes that this will prevent the exceptions from occurring in the future.

My hopes are that the WSL community can provide a fix or workaround for this issue.

@WSLUser

This comment has been minimized.

Copy link

commented Feb 9, 2018

@mattmon1 Try upgrading to 17093 if you can and see if you can repro your issue. Recommend utilizing wsl.conf to add metadata to mounts and fstab from 17093 before attempting to repro. Also since with 17093 AF_Unix Windows - WSL interop is available, you could try running a socket stream for your service. If it works, it may keep Defender from tripping if Defender is the culprit here (have no way to test this myself as I'm not on Insiders).

@bitcrazed

This comment has been minimized.

Copy link
Collaborator

commented Feb 9, 2018

@mattmon1 - your issue is somewhat different to the issue described in this thread. Please start a new thread so that we can keep discussions more focused. Thanks.

@harakka

This comment has been minimized.

Copy link

commented Feb 9, 2018

@DarthSpock not an option, local account on a local machine, no domain involved.

@WSLUser

This comment has been minimized.

Copy link

commented Feb 9, 2018

@harakka in that case, use your new account to reset the old one. I would suggest leaving the appdata apps alone so you don't have to reinstall anything including Ubuntu but removing the rest of the profile should be enough. If you still have issues then I'd do the full removal including appdata and reinstalling after backing up all relevant data (put it on an external usb or separate drive).

@mattmon1

This comment has been minimized.

Copy link

commented Feb 9, 2018

@bitcrazed Issue moved to new thread #2931.

@rotech

This comment has been minimized.

Copy link

commented Feb 10, 2018

It seems WSL may not be the only store app affected by this issue. I found this bug report https://trac.kodi.tv/ticket/17430. I tried to install and run Kodi from the Windows Store, and have the exact same problem.

@batmanlovesuperman

This comment has been minimized.

Copy link

commented Feb 21, 2018

I don't know if this is related to Ubuntu on Windows, but I have the same problem with some UWP apps from Windows Store (technically, every app I download from now on, I even downloaded a random app) and I think I've solved it. I got this problem a long time ago, with my Spotify UWP and Telegram UWP suddenly stopped working and reported this problem, which brought me back to the normal Win32 apps.

Anyway, back to the problem: I went into the apps directory C:\Program Files\WindowsApps\, look for the app's folder (which is 186maxdenis.AccentApplicator_1.0.0.0_x86__chmn07j67hqvg in my case), right-click it and "Take Ownership" the folder. (I used a registry hack to add it to right-click menu, which you can find anywhere on the Internet). And I opened the folder, looked for the *.exe file and ran it. Worked.

Btw the thing that confuses me that when I click on the shortcut in Start, I still have the same dialogue that says "Windows cannot access the specified...", but when I go into the directory and run the *.exe file, it works like a charm. Any explanation for this?

@WSLUser

This comment has been minimized.

Copy link

commented Feb 21, 2018

@batmanlovesuperman (really that name?)

This was a UWP issue the Windows team addressed. Upgrading to the latest Insider will resolve the issue. Otherwise, you'll have to wait for the Spring release.

@batmanlovesuperman

This comment has been minimized.

Copy link

commented Feb 21, 2018

@DarthSpock Great. Thought I messed it up. I got that issue a long time ago, but glad to hear that they're working on it
And yes, I am a DC fan. I couldn't think of something else so I picked this. Got it after watching Batman v. Superman, but @batmanvsuperman on Facebook is already taken. Still a nice username tho, distinguishable and available everywhere.

@WSLUser

This comment has been minimized.

Copy link

commented Feb 21, 2018

The DC part isn't the issue, it's the "love" part that gets me. Prefer the original DC comics to the stuff they have out now. Heck even Justice League was superior as it was based on the original animations.

glad to hear they are working on it

Work is already complete. It just depends on what version of Windows you are running if you have the fix or not. Various UWP bugs appear between builds and not all of them are caught in time before stable release.

@DarkAH

This comment has been minimized.

Copy link

commented Mar 10, 2018

I am getting " windows cannot access the specified device path or file you may not have appropriate permissions" after changing and accessing the "Windows Apps" folder form C:\Program files\Windows Apps.
I don't remember how permission was set before modify and I can't able to fix the permission. Now Only way to launch those Windows apps is just opening them manually from the folder. I need to fix permission so windows can access them.
Any body here???

@mattmon1

This comment has been minimized.

Copy link

commented Mar 12, 2018

@DarkAH - I've experienced the same error, though in my case the 'cannot access' errors only happen during certain blocks of time e.g. 1-9am. Though the errors only occur intermittently, when they do occur, WSL Ubuntu operations are blocked for the entire period of time. I applied the workaround documented in #2323 to get around the issue. Also, per an earlier request on this thread, I posted my findings on thread #2931. Since applying the workaround, I have not seen this issue occur on my devices. My hopes are to get a timeframe on a fix from the WSL community.

@mattmon1

This comment has been minimized.

Copy link

commented Mar 12, 2018

My apologies, one correction to my earlier post. The workaround that I applied is documented in #2577.

@Andoryuuta

This comment has been minimized.

Copy link

commented Apr 8, 2018

Have you tried deleting your IE browsing history?

No, but seriously though. The problem for me seems similar to @rkeithhill's issue, except with the folder pointed at by the Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders@History key, instead of the Cache key.

The solution for me (after getting frustrated by trying to fix the permissions 😅 ) was simply deleting the %USERPROFILE%\AppData\Local\Microsoft\Windows\History folder.

For anybody else trying to debug this on their machine, I highly recommend using ProcMon with a 'Result is "ACCESS DENIED"' filter. It makes it super easy to see what is causing the access denied error.
image

procmon image

OS: Windows 10 Version 1709 (OS Build 16299.309) (Upgraded from Windows 7)

@rotech

This comment has been minimized.

Copy link

commented Apr 24, 2018

I am still having the same issue as in the first post, I see the following error in the event log when trying to launch WSL:

0x80070005: Cannot create the Desktop AppX container for package CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc because an error was encountered configuring the runtime.

@rotech

This comment has been minimized.

Copy link

commented May 20, 2018

I found a solution for my case. My work domain uses folder redirection for roaming profiles, my domain user (which I also use offline with cached credentials) has access to the profile folder, but the WSL setup uses a different system user that doesn't have access to the profile folder.

The answer is to give the domain account for my computer access (COMPNAME$), when you add the user you will have to make sure to select "computers" under object types, or it won't show up.

@MovGP0

This comment has been minimized.

Copy link

commented Aug 14, 2018

Identify Access Denied Errors

Use the Process Monitor to identify which access is denied.

Select Filters, add a filter for Result is ACCESS DENIED, click OK, Clear the log, click capture (the magnifire class should not have a red cross), and try to start Ubuntu (or any other distro with that error) again. When you have the error, stop the capture and check the log entries.

You can than check the log for file folders that haven't set the required access rules.

Roaming Profiles

You should check if you have a roaming profile for AppData. In PowerShell you can do this like this:

Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Property AppData

short version:

$env:APPDATA

If there is a path like \\{servername}\... instead of C:\Users\{user.name}\... than you have a roaming profile. Since your distribution (Windows Subsystem for Linux, WSL) runs with different Windows credentials, it needs to have access to those folders.

Use the following command to get the computer name:

$env:computername

Now get the Access Control List for the $env:APPDATA\Microsoft folder

get-acl $env:APPDATA\Microsoft | fl

Make sure that there is an entry in Access that reads DOMAIN/COMPUTERNAME$ Allow FullControl.

If that is missing, ask your System administrator to allow full access for the computer to the appropriate roaming profile folder.

Setting Permissions in File Explorer

If you are the administrator, than right-click the folder in file explorer, choose Properties, select the Security tab, Edit..., Add..., enter the computer name, Check Names, Object Types, Select Computers checkmark, OK, OK, OK. Select the computer and check the Full control checkmark, OK. OK.

Setting Permissions in PowerShell

You can use the ACL cmdlets from the Microsoft.PowerShell.Security Module to do set the permissions.

(i won't go into details here, since it's too much work; you will probably find help on StackOverflow for those cmdlets)

@WangZixuan

This comment has been minimized.

Copy link

commented Aug 15, 2018

For those who are still in trouble with this problem, I followed @Andoryuuta and solved this problem.
Which is: Use Process Monitor and identify ACSESS DENIED errors and remove all the folders of the 'path' field. Besides, if you do not see the folders in Explorer, please delete them via Command Prompt.
In my scenario, I deleted some folders related to IE cache and cookies.
Hope this solution helps.

@mrchief

This comment has been minimized.

Copy link

commented Aug 28, 2018

For me, I upgraded from Windows 7 to 10. Not a fresh install but in place upgrade. I'm also on a domain account. I followed @Andoryuuta's post and found that Ubuntu was trying to access C:\Documents and Settings folder. This folder no longer exists in Windows 10. Instead, anything pointing to this location should be pointed to C:\Users\<your id> or %APPDATA%\....

I checked my env vars and my path was pointing to C:\Documents and Settings\<my id>. I changed it to C:\Users\<my id>. I did the same for TEMP var which should now point to %APPDATA%\Temp.

You may have to do this for other vars depending on your install.

Once you save it, clicking on Ubuntu from recent apps worked like a charm.

Hope this helps.

@bitcrazed

This comment has been minimized.

Copy link
Collaborator

commented Aug 28, 2018

Thanks for sharing @mrchief. I've seen people post similar issues, esp. on machines that were upgraded from Win7 --> Win10, and/or who're part of a corporate domain which may be specifying the temporary browser cache folder as being under C:\Documents and Settings\<my id>\....

@scimax

This comment has been minimized.

Copy link

commented Oct 2, 2018

I have the same issue here in a corporate environment. But so far I couldn't fix the problem.

I followed the great instructions from @MovGP0, because I have Roaming profile. The permissions for %APPDATA%\Microsoft are DOMAIN/COMPUTERNAME$ Allow FullControl now, but it still does not work. Now with Process Monitor I figured out that there are in total 5 operations which return a ACCESS DENIED result. But three of them, CreateFile operations from svchost.exe point to a path, which is not like \\{servername}\{userid}, but rather \\{servername}\home. So it makes totally sense that the access is denied as the operation is done diectly on the - let's say - root directory of the network drive. Shouldn't it be something like \\{servername}\{userid}\home? In that case it should be possible to grant it access.

Or am I misinterpreting the result from the Process Monitor?

Thanks in advance for any help!

@szmarczak

This comment has been minimized.

Copy link

commented Oct 27, 2018

+1 I got the same error :/

@scimax

This comment has been minimized.

Copy link

commented Nov 21, 2018

Could someone take a look at that problem? Or does someone have an idea how to work around the access to that directory?

@PuzzledMind

This comment has been minimized.

Copy link

commented Mar 6, 2019

afbeelding

This error was (in my case) found to be reladed to a GPO. This caused the Ubuntu (and perhaps other store apps) app to malfuntion.

Turn off Automatic Download and Install of updates
Description : GPO: Computer Configuration\Administrative Templates\Windows Components\Store

Once disabled, the ubuntu app started functioning as normal again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.