New
#21
Thank you all for your help.
- It seems Option Two of the Elevated Shortcut w/o UAC tutorial is the solution. However, a final, very small issue. The cmd window displays on the desktop and remains displayed upon task completion. So, I added 'exit' to bottom of the code. The cmd window still displayed on the desktop but quickly closed. I then modified the shortcut to run minimized, which I assume causes it to momentarily appear in the taskbar 'only', but it still momentarily appeared on the desktop as before.
Thoughts?
The solution is to set TS to run a vbs script which runs the minimising shortcut. See
Make Task scheduler run a batch file minimised and with a specific icon - TenForums
Then there will be no momentarily appeared on the desktop.
Denis
Thx Ben. However, I did follow the shortcut tutorial to the letter. Do you think it is in error to suggest this possibility? I did wonder why it instructs to use the path of the 'application' instead of the path to the shortcut, but I am a nobody to question a well established tutorial. Perhaps you can provide more detail of this 'possibility' you suggest that I may hunt it down.
Thank you Denis. I should consider Ben's reply first. If no joy I will try your method and report back.
If the task starts the batch file directly, the shortcut is out of the picture.
Ben
It will be in the task scheduler GUI. Double-click the task and look in the "Actions" tab.
Ben
Task scheduler does not allow a shortcut's Minimise setting to take effect.
That's why I had to develop the method I gave you a link for.
Denis