Most Recent Posts
Version 12.4
by ffac - 06/09/2026 7:30 PM
Member Spotlight
Sandeep
Sandeep
California
Posts: 2,316
Joined: April 2011
Newest Members
Lisawilliam, Denton13173, BPeds, PMG Care, KeepingItAnon
4,609 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2012
Posts: 395
Member
OP Offline
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
Offline
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 Offline
Member
Joined: Aug 2012
Posts: 395
Clever - especially the PAUSE statement. Thanks!


Gianni
Joined: Apr 2011
Posts: 2,316
Likes: 2
G
Member
Offline
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.


Moderated by  ChrisFNP, DocGene, JBS, Wendell365 

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Who's Online Now
0 members (), 337 guests, and 20 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
Raj1 1
ffac 1
Top Posters
Bert 12,908
JBS 3,002
Wendell365 2,370
Sandeep 2,316
ryanjo 2,084
Leslie 2,002
Wayne 1,889
This board is dedicated to the memory of Michael "Indy" Astleford. February 6, 1961 -- April 16, 2019




SiteLock
Powered by UBB.threads™ PHP Forum Software 7.7.5