I'm trying to change registry with my PowerShell script:
Set-ItemProperty -Path "HKLM:\SOFTWARE\Intel" -Name LDAPUser -Value Admin
it works when executing in Powershell console, but does NOT when distributing as package.
I'm distributing on LocalSystem account. All package settings are standard. Distribution setting also rather standard.
What am I missing?
I made sure the execution policy is unrestricted on test computer.