Bypass UAC, Hide Console Windows, Run Apps in the Background with Hidden Start
Console applications and batch files are regularly run at Windows startup or in a schedule. The main inconvenience of this is that each application opens a console window that flickers on the screen. Hidden Start (or Hstart) is a lightweight command line utility that allows you to run console applications and batch files without any window in the background, handle UAC privilege elevation on Windows from Vista to 11, start multiple commands in the specified order, and much more.
Hstart is a must have if you use batch files on an everyday basis for backups, various file sync and copy scripts, automatic source code compilation or code signing. Read the examples section below to see how it works out and how it can help you.
For your convenience, Hstart comes with a handy GUI tool:
Multiple commands with parameters:
The GUI tool makes it easy to create complex command lines and test them immediately.
Examples of Usage
Hstart is usually started by entering the following command line:
It is possible to redirect the console output of batch files into a log file:
"cmd.exe /c "MyDailyBackup.bat > backup-log.txt""
The /IDLE command line switch means that the backup process will run with the lowest priority class, and /D="" sets the starting directory of the batch file (required if the command line or script contain relative paths).
Run Applications without UAC Prompt
The /NOUAC switch allows you to run applications and batch files with administrative privileges without any UAC prompts. Here is a simple example:
Of course, it can be used with other options:
The following command opens Local Group Policy Editor:
And here is how to open Windows Hosts file for editing:
As you can see from the previous example, Hstart 4.0 expands environment variables in the executed command lines. This may help you to make more system independent commands:
"cmd.exe /c "D:\test.bat > test-output.txt""
For more information, see tutorials and browse the "examples" folder.