tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Adminstrator running fallback patch

Open Miiraak opened this issue 2 months ago • 1 comments

Hi @ntdevlabs ! A few months ago, in the readme, we changed the Set-Execution policy to a process scoped one to avoid users exposing their machine.

That induces a new problem. When we start the script without administrator rights, but with the Set-Executionpolicy scoped to Process, the script restarts itself with elevated rights but in the previously set execution policy (likely RemoteSigned).

This patch passes :

  • NoProfile
  • ExecutionPolicy Bypass
  • NoExit
  • File

To the newly created process.

Miiraak avatar Nov 04 '25 19:11 Miiraak

  • Fix #513

NoExit let users see errors. And i think his error is the UnauthorizedAccess. So patched.

Miiraak avatar Nov 04 '25 19:11 Miiraak