Notices

Tips and Tricks Share tips that can save others time and frustration here !

Reply
 
LinkBack Thread Tools
Old 01-16-05, 08:49 PM   #1 (permalink)
KPDUTY
Guest
 
Posts: n/a
Remote Restart of Desktop Computer

Probably already been mentioned, but I just had a need to restart my office desktop computer from home (after a very long TSC session).

Here are the instructions to setup a desktop shortcut on a remote computer that when executed will shutdown then restart, allowing you to initiate a new remote client session.

pretty handy (will work with any remote client software)

To create a restart shortcut on the desktop:

Right click on an open area of the desktop
Select New / Shortcut

Enter in "shutdown -r -t 00" - no quotes

Press the Next button
For the name, enter in anything you like. I just use shutdown. Click on the Finish button.

For a shutdown (no restart), enter "shutdown -s -t 00"

Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

Parameters

-l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s - Shuts down the local computer.
-r - Reboots after shutdown.
-a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f - Forces running applications to close.
-m [\\ComputerName] - Specifies the computer that you want to shut down.
-t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.

Last edited by KPDUTY; 01-16-05 at 09:00 PM.
  Reply With Quote
Sponsor Ads
Old 01-18-05, 05:06 AM   #2 (permalink)
Aximsite All Star
 
DavidLennartz's Avatar
Elite Member
 
Join Date: Sep 2004
Location: California
Posts: 976
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Bronze Contributors 
Total Awards: 1

Originally Posted by KPDUTY
Probably already been mentioned, but I just had a need to restart my office desktop computer from home (after a very long TSC session).

Here are the instructions to setup a desktop shortcut on a remote computer that when executed will shutdown then restart, allowing you to initiate a new remote client session.

pretty handy (will work with any remote client software)

To create a restart shortcut on the desktop:

Right click on an open area of the desktop
Select New / Shortcut

Enter in "shutdown -r -t 00" - no quotes

Press the Next button
For the name, enter in anything you like. I just use shutdown. Click on the Finish button.

For a shutdown (no restart), enter "shutdown -s -t 00"

Shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

Parameters

-l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s - Shuts down the local computer.
-r - Reboots after shutdown.
-a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f - Forces running applications to close.
-m [\\ComputerName] - Specifies the computer that you want to shut down.
-t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
Thanks for posting this in detail....could be very useful for me soon....off to meetings and may need the offce system etc.....
__________________
Life is its own answer....
SkypeName: aximfrog


DavidLennartz is offline   Reply With Quote
Old 01-19-05, 06:33 PM   #3 (permalink)
Aximsite Veteran
 
star882's Avatar
Uber Member
 
Join Date: Oct 2004
Posts: 1,858
Thanked 3 Times in 3 Posts

Awards Showcase
Aximsite Active Bronze Member 
Total Awards: 1

Is there an Axim equivalent (besides logging in via Telnet or VNC and executing the command on the remote system)?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

TCPA would take your freedom! Say NO!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

HDTV the way it should be:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Originally Posted by A friend of mine who has a Linux kernel named after his girlfriend.
If I was VirtualBox, I could load my virtualization module into Hannah and boot up another kernel in the same address space.
star882 is offline   Reply With Quote
Reply

Tags
computer, desktop, remote, restart

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:55 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC