I’m using this Mouse.bat batch file to keep my screen from locking after 15 minutes (it’s enforced by Group Policy). I have it set as a scheduled task to run every 10 minutes and it works with my logged in user, but it flashes a CMD.exe window on the screen, which I don’t like.
I RDP into this machine so I can use both my monitors (I have no docking station ATM).My questions:
- Will it keep the session active (the screen from locking) by running
this as a different local admin?- If not, is it possible to set a
“quiet” switch to keep the CMD.exe window from popping up?EDIT: The answer to #1 is unfortunately a “no.”
Anyone know a way to make the mouse.bat file run silently so there’s no CMD.exe pop-up? I tried an/s
switch, but no joy.
Answer
Attribution
Source : Link , Question Author : SamAndrew81 , Answer Author : Community