none
Remote restart computer script with user interaction RRS feed

  • Question

  • Hi Support,

    As we are checking the a remote restart PC script for restart user’s PC with user prompt up.

    I tried both psshutdown and shutdown commend.

    Both command is able to restart, but we hope to have a pop up screen for user and let user to terminate the shutdown process if they doesn’t want to restart in 30 sec.

    1. shutdown  /c "Restart by IT"   /r  /m \\192.168.1.123  /t 30
    2. psshutdown -c

    both the above is not work.

    Any suggestion?

    Thanks

    Chong




    • Edited by Chongtsz Tuesday, February 11, 2020 10:20 AM
    Tuesday, February 11, 2020 10:17 AM

All replies

  • You would have to write or purchase a custom program for that.

    shutdown /?

    By default a shutdown without /f will display a message that the computer will shut down in n seconds.


    \_(ツ)_/


    • Edited by jrv Tuesday, February 11, 2020 11:21 AM
    Tuesday, February 11, 2020 11:17 AM