New
#1
runas takes 20-30 seconds to get started
I have a program that I use to script some GUI only programs. I use it to have a one button desktop shortcut with (essentially) the following command:
C:\Windows\System32\runas.exe /user:mycompname\Administrator /savecred "myprogram.exe myscript.ext"
I need the runas since I'm trying to script the easeus todo image backup. Normally, this program requires me to click on a user authorization dialog box, the one that dims the rest of the screen. So, I'm using the runas and Administrator to automate that.
Everything works ok, except when I run this shortcut, there's about a 20-30 second delay as it, apparently, is checking credentials or something. If I run it a second time, just after the first one finishes, then there's no delay. After some minutes, however, there is again a delay on starting it up.
I'm running win10 1903 build 18362.356
Anyone know how to eliminate the delay?