• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

How to run .exe hidden (not minimized not on front)?

oiiwj

Weaksauce
Joined
Nov 24, 2016
Messages
96
Hello,

i think (not sure) in batch scripts one can use:

start "" /MIN "C:\Windows\System32\taskmgr.exe"

(maybe use /B instead of /MIN)

but when i use Win.+R it do not seem to accept "start". The process i want to run opens a windows shell/terminal and when i close terminal, the app terminates.

Also when i create a shortcut to that .exe and in shortcut properties append "/MIN", it has no effect, still the terminal window is visible. I solved it by downloading Quiet.exe from http://www.joeware.net/freetools/tools/quiet/index.htm
into C:\Windows\System32
and then modifying the shortcut path to:
C:\Windows\System32\Quiet.exe "C:\my.exe"
And it works, window do not bother me anywhere and process is running.
 
It doesn't work in the run dialog (Win + R) because "start" is a command built into the CMD shell. The run dialog executes or opens files directly according to their file associations. Since "start" isn't a command file, the run dialog just doesn't know what to do with it.

Adding the /MIN switch to the .exe shortcut didn't work because you're passing the switch directly to the .exe file for it to parse when it runs. If it's the programmers of the .exe file didn't add that as a valid switch, then it'll either ignore it or give you an error.
"start" was programmed to accept the /MIN switch and knows what to do with it. If you'll notice in your example, it's located before the .exe file "start" is being asked to run.

Hope that helps.
 
  • Like
Reactions: oiiwj
like this
Create a scheduled task (using Task Scheduler in Control Panel -> Admin Tools) and set the task to run as SYSTEM. You'll need to run the task from Task Scheduler, but it should run in the background out of sight.
 
Back
Top