Shut Down and Restart features in UiPath

studio

#1

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


#2

Hi @Sivasakthi123
You can shutdown and restart if you make a shortcut icon executing shutdown command.
https://technet.microsoft.com/en-us/library/bb491003.aspx


#3

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”.