-
Notifications
You must be signed in to change notification settings - Fork 52
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
Dev Drive DSC error message when not run as admin #284
Labels
documentation
The issue is related to documentation only.
help wanted
The issue is up for grabs for anyone in the community.
question
The issue is a question.
Comments
Yes we'll need to add a check to confirm if we're running the DSC resource as Admin and also mention in the wiki that it is needed as well. FYI for those who don't know the config file above is a WinGet DSC config file see: https://learn.microsoft.com/en-us/windows/package-manager/configuration/create#example-winget-configuration-file |
PlagueHO
added
bug
The issue is a bug.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
help wanted
The issue is up for grabs for anyone in the community.
question
The issue is a question.
documentation
The issue is related to documentation only.
and removed
bug
The issue is a bug.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
labels
Mar 16, 2024
We should add this to the README.md in here as well. |
This was referenced Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
The issue is related to documentation only.
help wanted
The issue is up for grabs for anyone in the community.
question
The issue is a question.
Problem description
Lost a little time running the DSC on a new vm, only to realize I forgot to run it under an admin command prompt. The error message is misleading and that's why took a bit to figure it out.
Verbose logs
DSC configuration
Suggested solution
An error message that notifies the user to run the command as an administrator. I'm not sure if there are other patterns to follow, but something along the lines of:
Error: Administrator privileges required
Operating system the target node is running
PowerShell version and build the target node is running
StorageDsc version
The text was updated successfully, but these errors were encountered: