Shut Down and Restart features in UiPath



Can we shut down the machine using UiPath ?
Can we restart the machine using UiPath ?
Can we perform Switch User operation using UiPath?


Hi @Sivasakthi123
You can shutdown and restart if you make a shortcut icon executing shutdown command.


you can do that by using following steps.
1. use start process activity and in executable path type “cmd”.
2. then use a “type into” activity and select cmd command prompt and type “shutdown -s -t 00”. “00” is the time in which shutdown should happen.
3. Similarly, for restarting you can type “shutdown -r -t 00”.