-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
[MSIX Bucket] Launch issues caused by bad permissions on WindowsApps, and others #9452
Comments
@DHowett here is the output of that command, but inheritance is not enabled for vcruntime140.dll.
In process monitor, I am getting icacls for that file is:
A workaround for me is to enable inheritance on this file: Cheers! |
This comment has been minimized.
This comment has been minimized.
So, CreateFile is the Win32 API for |
That's very curious. I do have inheritance enabled on that file. If you reset inheritance and clear out all locally overridden permissions, does that resolve the issue? |
@DHowett Yes it does. |
@DHowett Just going about my normal business, and the permissions have reset. Inheritance is no longer enabled. I don't know what was the catalyst. Is there any way I can provide more insight? |
Might be worth running Process Monitor with the filter set to include filesystem events for that path. It’ll be noisy and may take a long time to reproduce, but it should definitely point to a culprit! |
This comment was marked as outdated.
This comment was marked as outdated.
@nascar3000 the request for a process explorer trace extends to you, as well. It would be very helpful in figuring out what’s going on! |
This comment was marked as outdated.
This comment was marked as outdated.
for those who are suffered to #15526 , here is my workable solution,
finally it came back |
I encounter a Windows Terminal crash when trying to start Windows Terminal with Run as administrator. The UAC pops up with 'Unknown Program'. Windows Terminal launches normally when not starting with Run as administrator. icacls output: Successfully processed 1 files; Failed processing 0 files Event logs: Fault bucket 1805946374774718074, type 5 Problem signature: Can I provide any more info? |
There is a class of issues whose root cause seems to be bad permissions on
C:\Program Files\WindowsApps
.wt.exe
can launch the "wrong" copy of Terminal without user settings1.7.1991
and1.7.210451004-release1.7
0xc0000022
on launch (Always crashes with 0xc0000022 #9399)REPORTERS: If you have one of these issues, can you share the output of
icacls "C:\Program Files\WindowsApps"
(from an admin shell?)Correct WindowsApps permissions
zadjii-msft notes circa 2023-09-06:
There's a collection of "crash on startup" issues which started around 1.16. They're all in the neighborhood of
Cannot_create_instance_of_type__Microsoft.UI.Xaml.Controls.XamlControlsResources
orwinrt::impl::consume_Windows_ApplicationModel_IPackageStatics_winrt::Windows::ApplicationModel::IPackageStatics_::Current
, depending on how the exception was handled. More notes in:ApplicationModel::IPackageStatics_::Current
/XamlControlsResources
thread) #15583 (comment) (collected notes, resolution steps)ApplicationModel::IPackageStatics_::Current
/XamlControlsResources
thread) #15583 (comment) (x-links a bunch of bugs)The text was updated successfully, but these errors were encountered: