Powershell cannot write to registry key HKLM
If you’re dealing with a standard account, you must enter the credential for your administrator account to continue. Otherwise, you won’t be able to make the changes unless you change the account type temporarily to Administrator. When my program runs, no errors are thrown and it seems to write values. My guess is that Windows…