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

Registry setup change #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yee-jonathan
Copy link

If the registry key AutoAdminLogon already exists, using New-ItemProperty results in an error and premature termination of the script.

Changing New-ItemProperty to Set-ItemProperty will create the key if it doesn't exist, or update the value of the key if it already exists.

Screenshot 2022-07-29 153348

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

Successfully merging this pull request may close these issues.

1 participant