"Parameter is incorrect" when using runas with trustlevel after Windows 11 22H2 update
I had a script that needed to run as an administrator but then run a single command in a non-elevated context. I was previously doing it with runas /trustlevel:0x20000 program.exe , but after updating Windows 11 to 22H2 the command now gives the following output (running Notepad here as an example): PS > runas /trustlevel:0x20000 notepad RUNAS ERROR: Unab