Category "uac"

Delphi 10.4.2: Why does console application require administrative privileges?

Why does a simple console app require administrative privileges? program LTUpdate; {$APPTYPE CONSOLE} begin WriteLn('Hello World'); end. If I run this prog

Windows batch script - requesting UAC admin rights in a log-friendly way

I'm requesting admin with the following in a batch script: : BatchGotAdmin REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.e

How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?

I want my batch file to only run elevated. If not elevated, provide an option for the user to relaunch batch as elevated. I'm writing a batch file to set a sys