Is it possible to use xPSDesiredStateConfiguration/xRegistry resource in winget configuration? #4971
Unanswered
tristanbarcelon
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
-
Adding "securityContext: elevated" is a directive to tell WinGet the DSC Resource needs to be executed with elevated permissions. Some installers will essentially "default" to a machine wide install when they are executed that way, but not all installers behave that way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a winget configuration which would perform the following steps in sequence on Windows:
install the following resources:
etc...
has anyone tried to use xRegistry resource from xPSDesiredStateConfiguration to set LongPathsEnabled to 1 from a winget configuration file successfully? How would you incorporate it in the resource settings?
Beta Was this translation helpful? Give feedback.
All reactions