Windows 10: runas takes 20-30 seconds to get started

Discus and support runas takes 20-30 seconds to get started in Windows 10 Support to solve the problem; 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:... Discussion in 'Windows 10 Support' started by rocket777, Dec 2, 2019.

  1. rocket777 Win User

    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?

    :)
     
    rocket777, Dec 2, 2019
    #1

  2. why is my cursour feezing every 20- 30 seconds?

    why is my cursor freezing every 20- 30 seconds for about 20- 30 seconds?
     
    Miamiconexant, Dec 2, 2019
    #2
  3. sevilla08 Win User
    30 seconds to start gallery>

    Hi, after I take a photo on my N73, it takes upto 30 seconds for the photo to show in gallery. any ideas on why?

    I have only taken around 20-30 photos but gallery seems to be slowing down the more photos I add. To launch it from the button or menu takes 20-40 seconds. Otherwise, the phone works well.
     
    sevilla08, Dec 2, 2019
    #3
  4. runas takes 20-30 seconds to get started

    Stuck at OneDrive screen during Surface Pro 6 initial setup

    Hi,

    Thank you for writing to Microsoft Community Forums.

    Try the below suggested steps.

    Method 1

    1. Unplug all the external devices except Mouse and Keyboard.
    2. Try to reboot the device and check the status of the issue.
    Method 2

    I would suggest you to perform Power drain by following the suggested steps.

    1. Press and hold the Power Button down for 30-40 seconds.
    2. Hold the Volume Rocker up and Power ON for almost 20 second.
    3. Release the power button and wait for next 10-15 seconds.
    4. Press the power button to turn on your Surface and check the status of the issue.

    Hope it helps.

    Muralidhar

    Microsoft Community Moderator
     
    Muralidhar_G, Dec 2, 2019
    #4
Thema:

runas takes 20-30 seconds to get started

Loading...
  1. runas takes 20-30 seconds to get started - Similar Threads - runas takes seconds

  2. Windows boot takes about 20-30 minutes

    in Windows 10 Gaming
    Windows boot takes about 20-30 minutes: I have this error for like 4 weeks and I think narrowed it down to some SSD driver problem. I've recorded the boot process and used performance analyzer. I found out that Boot session init phase takes the most time and freezes the boot process, the only thing going on the...
  3. Windows boot takes about 20-30 minutes

    in Windows 10 Software and Apps
    Windows boot takes about 20-30 minutes: I have this error for like 4 weeks and I think narrowed it down to some SSD driver problem. I've recorded the boot process and used performance analyzer. I found out that Boot session init phase takes the most time and freezes the boot process, the only thing going on the...
  4. nothing works for around 20-30 seconds on startup

    in Windows 10 Gaming
    nothing works for around 20-30 seconds on startup: When I turn on my computer whether its waking up from sleep, restart or shutdown , nothing words for 20-30 seconds. The windows search bar bugs out and becomes an opaque box that stays there for a while. After 20-30 seconds everything suddenly works. No programs load for the...
  5. nothing works for around 20-30 seconds on startup

    in Windows 10 Software and Apps
    nothing works for around 20-30 seconds on startup: When I turn on my computer whether its waking up from sleep, restart or shutdown , nothing words for 20-30 seconds. The windows search bar bugs out and becomes an opaque box that stays there for a while. After 20-30 seconds everything suddenly works. No programs load for the...
  6. Hitman 3 Steam freezing for a few seconds every 20-30 seconds.

    in Windows 10 Software and Apps
    Hitman 3 Steam freezing for a few seconds every 20-30 seconds.: I'm having trouble running Hitman 3. It will load up correctly, but once I'm playing, it will start freezing for a few seconds every 20-30 seconds. This started happening out of the blue, a week or 2 after their most recent update. I didn't change anything in my PC before it...
  7. Specific game freezing for a few seconds every 20-30 seconds.

    in Windows 10 Gaming
    Specific game freezing for a few seconds every 20-30 seconds.: I'm having trouble running Hitman 3. It will load up correctly, but once I'm playing, it will start freezing for a few seconds every 20-30 seconds. This started happening out of the blue, a week or 2 after their most recent update. I didn't change anything in my PC before it...
  8. csgo takes +- 20 seconds to start up

    in Windows 10 Gaming
    csgo takes +- 20 seconds to start up: since yesterday i upgraded to windows 11. everything was fine and worked good. then i started up csgo, noticed it took so long to start up. like 20 seconds what was in win10 only like 2/3 seconds. i tryed to reinstal csgo. steam or even today did a clean reinstal of...
  9. csgo takes +- 20 seconds to start up

    in Windows 10 Software and Apps
    csgo takes +- 20 seconds to start up: since yesterday i upgraded to windows 11. everything was fine and worked good. then i started up csgo, noticed it took so long to start up. like 20 seconds what was in win10 only like 2/3 seconds. i tryed to reinstal csgo. steam or even today did a clean reinstal of...
  10. Google takes 20 seconds to boot up

    in Browsers and Email
    Google takes 20 seconds to boot up: Google takes 20 seconds to boot up. I get an error message "Internet E. restricted this webpage and can't run ActiveX " 176019