<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brian Hartsock&#039;s Blog &#187; Windows</title>
	<atom:link href="http://blog.brianhartsock.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brianhartsock.com</link>
	<description>The exciting life of a software developer and nerd</description>
	<lastBuildDate>Thu, 29 Jul 2010 02:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Restarting Terminal Services</title>
		<link>http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/</link>
		<comments>http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 22:16:52 +0000</pubDate>
		<dc:creator>bhartsock</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/</guid>
		<description><![CDATA[A common problem with Windows servers is remoting. Unless you pay a large amount of money, you can only have two terminal services connections per server for administration purposes. Sometimes people leave the office and accidentally stay connected, which ties up a connection and means no one else can connect. Since most of our development [...]]]></description>
			<content:encoded><![CDATA[<p>A common problem with Windows servers is remoting.  Unless you pay a large amount of money, you can only have two terminal services connections per server for <em>administration</em> purposes.  Sometimes people leave the office and accidentally stay connected, which ties up a connection and means no one else can connect.</p>
<p>Since most of our development and live servers are accessed remotely, this quickly becomes a big problem.  Luckily, I found an <a href="http://support.microsoft.com/kb/320188">article</a> that can help in this situation.  I know any Windows sysadmins out there have probably known about this for a long time, but I haven&#8217;t.  Since I am in charge of a few development servers, I need to know these tricks.</p>
<p><strong>UPDATE:</strong> Much better advice from Sebastian.</p>
<blockquote><p>
Hi Brian,<br />
I’m a Windows and Linux enterprise admin and software developer.<br />
tsshutdn will restart the server. Instead you can just ask who’s connected executing “quser /server:YOURSEVER” from another terminal server.<br />
Once you have the current sessionID numbers on the server, you can log them out with the command:<br />
“logoff /server:YOURSERVER SESSIONID”.</p>
<p>I hope this helps you.<br />
regards,<br />
Sebastian.
</p></blockquote>
<p><del datetime="2009-06-16T13:19:18+00:00"><br />
<code><br />
tsshutdn &lt;wait_time&gt; /server:&lt;server_name&gt; /reboot /delay:&lt;log_off_time&gt; /v<br />
</code><br />
This will disconnect everyone remotely connected and then reboot terminal services.<br />
</del></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=@brianhartsock+Restarting+Terminal+Services+http://bit.ly/lpp1O" title="Post to Twitter"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/&amp;title=Restarting+Terminal+Services" title="Post to Digg"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/&amp;t=Restarting+Terminal+Services" title="Post to Facebook"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/&amp;title=Restarting+Terminal+Services" title="Post to Reddit"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-reddit-micro3.png" alt="Post to Reddit" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2008/01/13/restarting-terminal-services/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remote Desktop on Windows Server 2003 R2 SP2</title>
		<link>http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/</link>
		<comments>http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 14:47:13 +0000</pubDate>
		<dc:creator>bhartsock</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/</guid>
		<description><![CDATA[Over the past few years, I have installed Windows Server on a handful of our development machines. Every time, I follow the same steps except it didn&#8217;t work to well this time. Somewhere in the mix of releases and service packs, a major naming change occurred that I had no idea about. In previous versions, [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few years, I have installed Windows Server on a handful of our development machines.  Every time, I follow the same steps except it didn&#8217;t work to well this time.</p>
<p>Somewhere in the mix of releases and service packs, a major naming change occurred that I had no idea about.  In previous versions, to enable remote desktop, I would just install terminal services which would run in administrative mode by default.  This allowed 2 simultaneous connections from administrators which is what I needed.</p>
<p>When I installed terminal services this time, it ran for 120 days and then proceeded to stop accepting connections because it required a licensing server.  It was obviously not running in administrative mode.  What I soon realized was, terminal services in administration mode is now called remote desktop for administration.  Instead of being part of terminal services, it is now separate which means it is installed differently.</p>
<p>To get it up and working, just follow this simple <a href="http://support.microsoft.com/kb/814590">guide</a>.</p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=@brianhartsock+Remote+Desktop+on+Windows+Server+2003+R2+SP2+http://bit.ly/rAmRZ" title="Post to Twitter"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/&amp;title=Remote+Desktop+on+Windows+Server+2003+R2+SP2" title="Post to Digg"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/&amp;t=Remote+Desktop+on+Windows+Server+2003+R2+SP2" title="Post to Facebook"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/&amp;title=Remote+Desktop+on+Windows+Server+2003+R2+SP2" title="Post to Reddit"><img class="nothumb" src="http://blog.brianhartsock.com/wp-content/plugins/tweet-this/icons/tt-reddit-micro3.png" alt="Post to Reddit" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.brianhartsock.com/2007/11/14/remote-desktop-in-windows-server-2003-r2-sp2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
