<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx</link><description>Back to Alt+F4.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849607</link><pubDate>Fri, 20 Oct 2006 17:21:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849607</guid><dc:creator>Ian</dc:creator><description>
&lt;p&gt;You can also choose Windows Security from the Start Menu, and then Shutdown.&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;That assumes you're on a domain. -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849627</link><pubDate>Fri, 20 Oct 2006 17:36:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849627</guid><dc:creator>Stu</dc:creator><description>&lt;p&gt;The real question is why does shutdown.exe require admin privs?&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849647</link><pubDate>Fri, 20 Oct 2006 17:48:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849647</guid><dc:creator>Michael Walsh</dc:creator><description>
&lt;p&gt;I generally don't like to shutdown the machine through remote desktop, but I do hibernate it with remote desktop.&lt;/p&gt;

&lt;p&gt;rundll32 powerprof.dll,SetSuspendState&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;&lt;a href="http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx"&gt;Oh no it's rundll32 again&lt;/a&gt;. -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849656</link><pubDate>Fri, 20 Oct 2006 17:51:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849656</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Especially with servers, you SHOULD be required to have admin rights. &amp;nbsp;Just my 2 cents...&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849661</link><pubDate>Fri, 20 Oct 2006 17:53:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849661</guid><dc:creator>Ralf</dc:creator><description>&lt;p&gt;Since it's a remote machine, I'm fond of using shutdown.exe to kill the thing remotely:&lt;/p&gt;
&lt;p&gt;shutdown.exe -s -f -t 01 -m RemoteMachineName&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849666</link><pubDate>Fri, 20 Oct 2006 17:56:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849666</guid><dc:creator>Gabe</dc:creator><description>&lt;p&gt;I recently ran into a problem where a remote machine would reboot fine from the menu, but not with &amp;quot;shutdown -r&amp;quot;. In that case it would start shutting down, but fail somewhere in the middle such that somebody had to physically push the power button. That was really annoying the first few times!&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849668</link><pubDate>Fri, 20 Oct 2006 17:58:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849668</guid><dc:creator>BryanK</dc:creator><description>&lt;p&gt;Ack, don't use rundll32 unless the target function is expecting a specific set of parameters!&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx"&gt;http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You're passing a random value for the Hibernate flag, zero (...I think) for ForceCritical, and a random pointer for the DisableWakeEvent flag. &amp;nbsp;Plus the function isn't cleaning the stack correctly.&lt;/p&gt;
&lt;p&gt;Anyway. &amp;nbsp;It's interesting that Server 2003's RDP server allows you to shut the machine down, while the XP's does not. &amp;nbsp;It's not because of some issue with XP only allowing one client, because allowing The One client to shut down the machine is better than letting one (admin-level) client out of fifty shut it down. &amp;nbsp;It must just be one of those features that was removed from XP's version or something. &amp;nbsp;(Or a feature that was never added, one of the two. &amp;nbsp;I guess I assumed that Server 2003's implementation was copied and modified; that may not be the way it happened.)&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849676</link><pubDate>Fri, 20 Oct 2006 18:04:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849676</guid><dc:creator>Francisco Moraes</dc:creator><description>&lt;p&gt;The issue with using Task Manager to shutdown is that Hibernate is always disabled or the shutdown menu is not present.&lt;/p&gt;
&lt;p&gt;Any reason for that?&lt;/p&gt;
&lt;p&gt;Francisco&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849686</link><pubDate>Fri, 20 Oct 2006 18:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849686</guid><dc:creator>Jamie Gordon</dc:creator><description>&lt;p&gt;I thought that the Windows Security menu was the correct way to shutdown a machine accessed via Terminal Services? Or because it can be removed by group policy you need another way?&lt;/p&gt;
&lt;p&gt;This KB article also seems to suggest yet another way: &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/q303070/"&gt;http://support.microsoft.com/kb/q303070/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849712</link><pubDate>Fri, 20 Oct 2006 18:25:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849712</guid><dc:creator>Ritchie Swann</dc:creator><description>&lt;p&gt;Personally I don't see anything wrong with requiring admin, or at least some escalated, privileges to remotely shut down a server connected via remote desktop. &lt;/p&gt;
&lt;p&gt;It's one more line of defence against some malicious attacker trying to attack your servers by remotely turning them all off. Provided they haven't got an admin login (and if they have, you're already screwed).&lt;/p&gt;
&lt;p&gt;Linux mandates a root login to run the &amp;quot;shutdown&amp;quot; command, and I don't see too many people complaining about that.&lt;/p&gt;
&lt;p&gt;If you're not responsible for the running and upkeep of the server, why do you need to reboot it? I've got several 2003 server boxes that have been up for months without ever requring a reboot, and that's not saying much.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849722</link><pubDate>Fri, 20 Oct 2006 18:29:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849722</guid><dc:creator>Adam</dc:creator><description>
&lt;p&gt;shutdown requires admin privs because you don't want any random
person who happens to be able to remotely log into your system to be
able to shut it down!&lt;/p&gt;

&lt;p&gt;Yes, anyone sat at the physical console can shutdown a system, but
they could also pull the plug out, hit the box with a sledgehammer,
waft large magnets nearby, etc..., so there's not much point preventing
someone sat at the console from shutting down a system.&lt;/p&gt;

&lt;p&gt;However, you don't want everyone who's remotely logged into a system
(not just DB,web servers, think terminal services!) to be able to
Denial-of-service it to everyone else by shutting it down. Therefore,
command-line programs should have access restrictions on them.&lt;/p&gt;

&lt;p&gt;Arguably, that an ordinary user can shut a computer down via remote desktop should be considered a security hole.&lt;/p&gt;

&lt;p&gt;Unless there's a way of configuring it so that this is not possible?&lt;/p&gt;

&lt;p&gt;E.g. a number of unix systems have an option to select who is
allowed to shutdown a system, from which the options are: only root,
member of group (with selectable group), console user, everyone.&lt;/p&gt;

&lt;p&gt;(I generally set this to "console user" and /also/ give sudo (run as administrator) rights to "shutdown" for the "staff" group)&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;The SeShutdownPrivilege privilege controls who
can shut down a Windows machine. The behavior I consider a bug is that
shutdown.exe checks for admin privilege instead of SeShutdownPrivilege.
But there may be a good reason for it (e.g. shutdown.exe writes to the
event log before shutting down). -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849767</link><pubDate>Fri, 20 Oct 2006 18:44:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849767</guid><dc:creator>BryanK</dc:creator><description>&lt;p&gt;&amp;gt; I've got several 2003 server boxes that have been up for months&lt;/p&gt;
&lt;p&gt;And of course they're nice and up-to-date on the latest round of Microsoft patches from last week that required a reboot, aren't they? &amp;nbsp;:-P&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849771</link><pubDate>Fri, 20 Oct 2006 18:46:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849771</guid><dc:creator>temp</dc:creator><description>&lt;p&gt;using the policy editor you can specify which users can shutdown a computer remotely.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849780</link><pubDate>Fri, 20 Oct 2006 18:51:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849780</guid><dc:creator>Maurits</dc:creator><description>&lt;p&gt;Remote_Shutdown_Should_Require_Admin_Privileges++;&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849811</link><pubDate>Fri, 20 Oct 2006 19:08:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849811</guid><dc:creator>Who</dc:creator><description>
&lt;p&gt;This is easy.&lt;/p&gt;

&lt;p&gt;Just open a run prompt dialog (Windows key + R) (Start &amp;gt; Run)&lt;/p&gt;

&lt;p&gt;type:&lt;/p&gt;

&lt;p&gt;shutdown -s -t ##&lt;/p&gt;

&lt;p&gt;Replace ## with the time you want it to take for the computer in question (the one you're connected to) to actually start the shutdown process.&lt;/p&gt;

&lt;p&gt;Restart flag is -r&lt;/p&gt;

&lt;p&gt;So if you wanted to restart, simply connect to the machine, as I'm sure this is what you've been doing and are questioning above and type:&lt;/p&gt;

&lt;p&gt;shutdown -r -t ##&lt;/p&gt;

&lt;p&gt;If you do not specify the -t flag it will default to 30 seconds.&lt;/p&gt;
&lt;div class="post"&gt;[&lt;i&gt;Um, I already described in the article why this doesn't work.
&lt;pre&gt;C:\&amp;gt;shutdown -s -t 30
The operation completed successfully.
A required privilege is not held by the client.
C:\&amp;gt;&lt;/pre&gt; -Raymond&lt;/i&gt;]&lt;/div&gt;</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849869</link><pubDate>Fri, 20 Oct 2006 19:37:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849869</guid><dc:creator>pcooper</dc:creator><description>&lt;p&gt;What most posters here seem to be missing is that shutting down requires Shutdown privledges. By default, just Administrators get this privledge (I think), but you can give a user the shutdown privledge without giving them full Administrator rights. I think that Raymond is saying that shutdown.exe checks for Administrator rights when it should be checking for shutdown privledge rights.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#849978</link><pubDate>Fri, 20 Oct 2006 20:39:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:849978</guid><dc:creator>Maurits</dc:creator><description>&lt;p&gt;By default the &amp;quot;Shut down the system&amp;quot; local security privilege is extended to:&lt;/p&gt;
&lt;p&gt;Administrators&lt;/p&gt;
&lt;p&gt;Backup Operators&lt;/p&gt;
&lt;p&gt;Power Users&lt;/p&gt;
&lt;p&gt;Users&lt;/p&gt;
&lt;p&gt;... which sort of makes sense. &amp;nbsp;I agree that non-admin users should be able to shut down a system if they're logged in interactively, as opposed to through TS.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#850026</link><pubDate>Fri, 20 Oct 2006 21:06:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850026</guid><dc:creator>Gill Bates</dc:creator><description>&lt;p&gt;So once we have shut down the system, how do we turn it back on remotely?&lt;/p&gt;
&lt;p&gt;I'd be interested to hear other people's solutions.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#850028</link><pubDate>Fri, 20 Oct 2006 21:10:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850028</guid><dc:creator>Maurits</dc:creator><description>&lt;p&gt;&amp;gt; how do we turn it back on remotely?&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://en.wikipedia.org/wiki/Wake_on_LAN"&gt;http://en.wikipedia.org/wiki/Wake_on_LAN&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#850030</link><pubDate>Fri, 20 Oct 2006 21:12:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850030</guid><dc:creator>Huh</dc:creator><description>&lt;p&gt;Do people even read the blog post before they comment?&lt;/p&gt;
&lt;p&gt;&amp;quot;I don't use X because of this problem.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Why don't you use X?!?!&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;What a fine suggestion!&amp;quot;&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#850039</link><pubDate>Fri, 20 Oct 2006 21:18:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850039</guid><dc:creator>RyanBemrose</dc:creator><description>&lt;p&gt;For the record, shutdown.exe works more or less &amp;quot;correctly&amp;quot; in Vista. &amp;nbsp;I can execute 'shutdown' non-elevated to get a shutdown, a restart, or to hibernate. &amp;nbsp;Still doesn't appear to support sleep.&lt;/p&gt;
&lt;p&gt;The other (extremely) useful parameter to shutdown.exe is /a, which aborts a shutdown in progress. &amp;nbsp;Sometimes I'm just not ready to go yet.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#850060</link><pubDate>Fri, 20 Oct 2006 21:31:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:850060</guid><dc:creator>Aaron Margosis</dc:creator><description>&lt;p&gt;Shutdown.exe does not explicitly check for admin membership. &amp;nbsp;See my blog post explaining it and offering a workaround:&lt;/p&gt;
&lt;p&gt;Workaround for Shutdown.exe LUA bug&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/aaron_margosis/archive/2006/01/27/518214.aspx"&gt;http://blogs.msdn.com/aaron_margosis/archive/2006/01/27/518214.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#851419</link><pubDate>Sat, 21 Oct 2006 02:07:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:851419</guid><dc:creator>Marcel</dc:creator><description>&lt;p&gt;Of course there's also SysInternals' psshutdown tool: &lt;a rel="nofollow" target="_new" href="http://www.sysinternals.com/Utilities/PsShutdown.html"&gt;http://www.sysinternals.com/Utilities/PsShutdown.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; how do we turn it back on remotely?&lt;/p&gt;
&lt;p&gt;Not having wake-on-lan capable hardware I used to wire the DTR signal of one serial port of my (always on) router to the RING signal of the machine I wanted to wake up and enable wake-on-modem-ring in the BIOS.&lt;/p&gt;
&lt;p&gt;Used that to boot the machine while being a few thousand kilometers away. Amazing stuff, technology.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#851449</link><pubDate>Sat, 21 Oct 2006 02:13:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:851449</guid><dc:creator>Marcel</dc:creator><description>&lt;p&gt;Oh, and of course I could also have just used a real modem and an unused ISDN number. Eliminates the need for a second PC, but then anybody dialing the number even by accident would cause it to boot, which I didn't like.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#852107</link><pubDate>Sat, 21 Oct 2006 10:19:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:852107</guid><dc:creator>KaiArnold</dc:creator><description>&lt;p&gt;Also, if you use Process Explorer from sysinternals (everyone here SHOULD be!), it's TaskMgr.exe-alike menus include all the shutdown/logoff options.&lt;/p&gt;
&lt;p&gt;Process Explorer has a simple menu option that causes it to replace TaskMgr.exe, which works even when you use tm's CTRL-SHIFT-ESC.&lt;/p&gt;
</description></item><item><title>Ways to shutdown/restart your computer via Remote Desktop.</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#853262</link><pubDate>Sat, 21 Oct 2006 22:12:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:853262</guid><dc:creator>Wes' Blog</dc:creator><description>&lt;p&gt;I don't how many times I've needed to reboot a machine while accessing it over Remote Desktop. I usually...&lt;/p&gt;
</description></item><item><title>Ways to shutdown/restart your computer via Remote Desktop.</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#853268</link><pubDate>Sat, 21 Oct 2006 22:17:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:853268</guid><dc:creator>Wes' Puzzling Blog</dc:creator><description>&lt;p&gt;I don't how many times I've needed to reboot a machine while accessing it over Remote Desktop. I usually&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#856093</link><pubDate>Sun, 22 Oct 2006 20:13:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:856093</guid><dc:creator>boxmonkey</dc:creator><description>&lt;p&gt;I have the same problem as Francisco Moraes; task manager's shut down menu has hybernate and standby disabled. I don't know why. I *can* instigate a hybernate by using the ALT-F4 in explorer trick.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#857075</link><pubDate>Sun, 22 Oct 2006 23:27:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:857075</guid><dc:creator>Neil</dc:creator><description>&lt;p&gt;Once I tried to reboot a workstation via Remote Desktop, but the shutdown process hung. According to the event viewer there was more than one person logged in to the computer but I have no idea whom that was supposed to be nor why the warning did not display in the desktop.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#862673</link><pubDate>Mon, 23 Oct 2006 16:38:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:862673</guid><dc:creator>required</dc:creator><description>&lt;p&gt;&amp;gt; how do we turn it back on remotely?&lt;/p&gt;
&lt;p&gt;Buy some canes* from your local garden centre, tape them together (lengthwise), and with practice you should be able to press the power button from quite a distance.&lt;/p&gt;
&lt;p&gt;* I suppose you could also buy canes from your local bdsm shop, but they tend to be somewhat shorter.&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#865480</link><pubDate>Mon, 23 Oct 2006 23:41:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:865480</guid><dc:creator>640k</dc:creator><description>&lt;P&gt;rundll32 user32.dll,ExitWindowsEx&lt;/P&gt;
&lt;DIV class=post&gt;[&lt;I&gt;Uh huh, and &lt;A href="http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx"&gt;what flags does that pass&lt;/A&gt;? -Raymond&lt;/I&gt;]&lt;/DIV&gt;</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#866323</link><pubDate>Tue, 24 Oct 2006 03:04:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:866323</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;What flags do I pass to shutdown.exe or the shutdown dialog so I can restart and install updates? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I only see the Shutdown and Install updates, when I really want Reboot and Install updates.&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#868582</link><pubDate>Tue, 24 Oct 2006 17:17:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:868582</guid><dc:creator>BryanK</dc:creator><description>&lt;p&gt;Mike -- I would *hope* you can just &amp;quot;Reboot&amp;quot;, and that will install the updates. &amp;nbsp;But I don't know for sure...&lt;/p&gt;
</description></item><item><title>re: How do I shut down a workstation via Remote Desktop?</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#868816</link><pubDate>Tue, 24 Oct 2006 18:49:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:868816</guid><dc:creator>MichaelG</dc:creator><description>&lt;p&gt;It may not be optimal, but I use a desktop shortcut with &amp;quot;runas&amp;quot; to elevate privileges. &amp;nbsp;Of course, you *DON'T* want to put the admin password in the shortcut. &amp;nbsp;When you click on the shorcut, you can type your admin password, and it will shut down.&lt;/p&gt;
&lt;p&gt;My desktop shortcut with the following path:&lt;/p&gt;
&lt;p&gt;%windir%\system32\runas.exe /user:AdminAcctNameHere &amp;quot;%windir%\system32\shutdown.exe -s &amp;quot;&lt;/p&gt;
&lt;p&gt;I've got a second shortcut with the &amp;quot;-r&amp;quot; flag to do a restart.&lt;/p&gt;
</description></item><item><title>Ways to shutdown/restart your computer via Remote Desktop.</title><link>http://blogs.msdn.com/oldnewthing/archive/2006/10/20/849575.aspx#900328</link><pubDate>Mon, 30 Oct 2006 06:14:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:900328</guid><dc:creator>Wes' Blog</dc:creator><description>&lt;p&gt;I don't how many times I've needed to reboot a machine while accessing it over Remote Desktop. I usually&lt;/p&gt;
</description></item></channel></rss>