Start PowerShell script in administrator mode right-click the Windows start button - Command Prompt (Admin) - "path to ps1 file"