|
|
Posts: 2,316
Joined: April 2011
|
|
#50714
12/19/2012 3:32 AM
|
Joined: Aug 2012
Posts: 395
Member
|
OP
Member
Joined: Aug 2012
Posts: 395 |
Hi,
Does anyone know of an elegant solution to reboot the host computer when using RDC? The closest I've come is Alt-F4, but it's not really tidy.
Gianni
|
|
|
|
|
Joined: Apr 2011
Posts: 2,316 Likes: 2
G Member
|
G Member
Joined: Apr 2011
Posts: 2,316 Likes: 2 |
Make a Batchfile on the desktop.
PAUSE shutdown -r -t 01
Reboots the computer in 1 seconds. You can add -f to force close any open programs.
shutdown -r -t 01 -f
The PAUSE is to make sure you don't click it on accident.
|
|
|
|
|
Joined: Aug 2012
Posts: 395
Member
|
OP
Member
Joined: Aug 2012
Posts: 395 |
Clever - especially the PAUSE statement. Thanks!
Gianni
|
|
|
|
|
Joined: Apr 2011
Posts: 2,316 Likes: 2
G Member
|
G Member
Joined: Apr 2011
Posts: 2,316 Likes: 2 |
Wait! I made a mistake, change it to -r (restart) instead of -s. -s is to shutdown.
|
|
|
|
0 members (),
337
guests, and
20
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|
|