Reboot and wait

Welcome @gbernard !

Are you trying to add Reboot command and wait by swapping out “???”? Or perhaps you want to wait until the restart is not finished and your Remove_RTC.vbs will be restarting?

You can accomplish the following if you wish to add reboot with wait:

Your script command…

waithidden restart 60
pause while {pending restart}

Rest of your script command…

if your vbs file is doing reboot job, you can simply apply my second recommendation, which is pause while