<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title>Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx</link><description>In addition to writing really good books on Windows Server, SBS and lots of other technical titles for MS Press, Charlie Russel knows he way around scripts and Powershell. So we started chatting about tricks we use to ensure that our servers reboot..</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Kicking and Screaming I am Bloggin  &amp;raquo; Blog Archive   &amp;raquo; Restart File discussed at Triad SBS Group Meeting</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1566371</link><pubDate>Wed, 02 Apr 2008 01:18:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1566371</guid><dc:creator>Kicking and Screaming I am Bloggin  » Blog Archive   » Restart File discussed at Triad SBS Group Meeting</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Kicking and Screaming I am Bloggin &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; Restart File discussed at Triad SBS Group Meeting&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1566371" width="1" height="1"&gt;</description></item><item><title>re: Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1446101</link><pubDate>Tue, 08 Jan 2008 06:28:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1446101</guid><dc:creator>Charlie Russel</dc:creator><description>&lt;p&gt;To answer Terry Cole - it&amp;#39;s faster, and it works. The straight shutdown /r has been known to hang. But shutting down Exchange first, and adding a /t command seems to solve the problem, even on stubborn systems. &lt;/p&gt;
&lt;p&gt;Charlie. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1446101" width="1" height="1"&gt;</description></item><item><title>re: Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1380793</link><pubDate>Wed, 05 Dec 2007 17:52:21 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1380793</guid><dc:creator>Terry Cole</dc:creator><description>&lt;p&gt;At the risk of looking somewhat naive, what is the value of this script versus &amp;quot;shutdown /r&amp;quot;?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1380793" width="1" height="1"&gt;</description></item><item><title>re: Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1344345</link><pubDate>Wed, 21 Nov 2007 10:34:17 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1344345</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;nice script - a couple of changes. You may want to change the location for the stopexch.cmd file, or at least hard code it into the path. One of the batch files has it in the system32 directory, the other doesn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d also change references to srv1 to %hostname% so the log file has the correct server name in it.&lt;/p&gt;
&lt;p&gt;Also you may want to add the /f to the end of the shutdown commands, otherwise you may get &amp;quot;The machine is locked and can not be shut down without the force option&amp;quot; if someone is logged onto the console of the machine.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1344345" width="1" height="1"&gt;</description></item><item><title>re: Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1330895</link><pubDate>Sun, 18 Nov 2007 18:03:26 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1330895</guid><dc:creator>Charlie Russel</dc:creator><description>&lt;p&gt;Most SBS boxes don't use MTA stacks, so won't see that issue. But if your environment does, then simply add a line just before the system attendent line:&lt;/p&gt;
&lt;p&gt;NET Stop &amp;quot;Microsoft Exchange MTA Stacks&amp;quot;&lt;/p&gt;
&lt;p&gt;and you're in business. You can also include a &amp;quot;/y&amp;quot; at the end of a net stop line and it should act as a &amp;quot;yes&amp;quot; response to that query. But I prefer inserting the missing line and getting the order right in the first place. &lt;/p&gt;
&lt;p&gt;HTH.&lt;/p&gt;
&lt;p&gt;Charlie.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1330895" width="1" height="1"&gt;</description></item><item><title>re: Charlie Russel on shutdown..</title><link>http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx#1330745</link><pubDate>Sun, 18 Nov 2007 17:28:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1330745</guid><dc:creator>Harry Carter</dc:creator><description>&lt;p&gt;In using the stop exchnage script, it hangs with a user prompt:&lt;/p&gt;
&lt;p&gt;C:\scripts&amp;gt;net stop &amp;quot;Microsoft Exchange System Attendant&amp;quot; &lt;/p&gt;
&lt;p&gt;The following services are dependent on the Microsoft Exchange System Attendant service.&lt;/p&gt;
&lt;p&gt;Stopping the Microsoft Exchange System Attendant service will also stop these services.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Microsoft Exchange MTA Stacks&lt;/p&gt;
&lt;p&gt;Do you want to continue this operation? (Y/N) &lt;img src="http://msmvps.com/emoticons/emotion-45.gif" alt="No" /&gt;: &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1330745" width="1" height="1"&gt;</description></item></channel></rss>