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

xUser should have an option to only make sure a user is present #769

Open
GokanDonmez opened this issue Jun 26, 2024 · 0 comments
Open

xUser should have an option to only make sure a user is present #769

GokanDonmez opened this issue Jun 26, 2024 · 0 comments

Comments

@GokanDonmez
Copy link

Problem description

I want to use this to make an account for our LAPS user instead of using the default admin and it fails because the password is 'being managed by a different process'.

Verbose logs

will add later

DSC configuration

xUser name  
 {
                Ensure   = "Present"
                UserName = "[username]"
                Password = $credential
                Disabled = $False
            }

Suggested solution

I would like a version or toggle of this that does not do the password checks and merely creates the user once and then checks if it is still there.

Operating system the target node is running

OsName               : Microsoft Windows Server 2022 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running

PSVersion                      5.1.20348.2400

xPSDesiredStateConfiguration version

9.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant