Turn off UAC manually to avoid notifications during not elevated pass. Not elevated pass needed to create files in user home with correct owner
- In not elevated powershell session
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force
irm https://raw.githubusercontent.com/harrhp/configuration/HEAD/install.ps1 | iex
or
& ([ScriptBlock]::Create((Invoke-RestMethod https://raw.githubusercontent.com/harrhp/configuration/HEAD/install.ps1))) -Device pcname
- Repeat 1 in elevated session
- Reboot