-
Notifications
You must be signed in to change notification settings - Fork 1.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
configureSelfElevate fails in hyperv vm #4926
Comments
Was the configuration run in a "user" context? There should have been a UAC (User Account Control) trigger after accepting the configuration agreement. |
Can you share the output from |
Yes. There was a UAC propmt and i confirmed it
|
I ran the configuration on my local machine and it did succeed. I'm spinning up a VM to see if I can repro in Hyper-V. |
OK, I was able to repro this. @SteveL-MSFT is this something you've seen before? Given WinGet is leveraging the DSCR_FileContent/TextFile resource in this configuration, I'm wondering if it's an issue with Hyper-V. |
Brief description of your issue
resources with
securityContext: elevated
fail to apply in hyperv vmSteps to reproduce
securityContext: elevated
directiveExpected behavior
configuration applied successfully
Actual behavior
verbose log log.txt
The configuration unit failed due to an internal error: -532462766
The text associated with this error code could not be found.
Some of the configuration was not applied successfully.
Environment
Windows Package Manager v1.9.25180
Windows: Windows.Desktop v10.0.22631.4317
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25180.0
clean windows installation. no other software
The text was updated successfully, but these errors were encountered: