<?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>thebackroomtech &#187; remote access</title>
	<atom:link href="http://thebackroomtech.com/tag/remote-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebackroomtech.com</link>
	<description>serving up the info back room techs everywhere find interesting</description>
	<lastBuildDate>Sat, 20 Nov 2010 03:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto: Enable Remote Desktop on a Windows 2008 Server Core System</title>
		<link>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/</link>
		<comments>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 10:36:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Terminal Services]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=291</guid>
		<description><![CDATA[Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\Windows\System32 to configure Terminal Services (TS) behavior. TS is the method of remote controlling your Server Core system through Remote Desktop (RDP). To view the current Terminal Server settings for Vista/Windows 2008 clients, at the server command prompt type: c:\windows\system32\scregedit.wsf /AR /v The following values [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\Windows\System32 to configure Terminal Services (TS) behavior.  TS is the method of remote controlling your Server Core system through Remote Desktop (RDP).</p>
<p>To view the current Terminal Server settings for Vista/Windows 2008 clients, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR /v</i></p>
<p>The following values correspond to the  response generated by the scregedit.wsf script.</p>
<p><i>1</i> = Terminal Services Disabled  (remote access disabled)</p>
<p><i>0</i> = Terminal Services Enabled (remote access enabled)</p>
<p>To enable Terminal Services access from Vista/Windows 2008, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR 0</i></p>
<p>To disable Terminal Services access from Vista/Windows 2008, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR 1</i></p>
<p><b>Note:</b></p>
<p>The /AR setting applies to Windows Vista/2008 machines.  If you want to allow Terminal Services connections to the Windows 2008 server from Windows XP machines, you have to use the /CS switch.</p>
<p>To view the current Terminal Server settings for Windows XP clients, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /AR /v</i></p>
<p>To enable Terminal Services access from Windows XP,  at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /CS 0</i></p>
<p>To disable Terminal Services access from Windows XP, at the server command prompt type:</p>
<p><i>c:\windows\system32\scregedit.wsf  /CS 1</i></p>
<p>You could also edit the registry directly to enable Terminal Services using the same registry entry I wrote about when describing <a href="http://thebackroomtech.wordpress.com/2007/05/18/how-to-enable-remote-desktop-on-a-windows-xp-machine-remotely/" target="_blank">how to enable remote access for Windows XP machines remotely</a>.</p>
<p>Finally you will need to create a hole in your server&#8217;s Windows Firewall for inbound RDP  traffic on port 3389.  <a href="http://support.microsoft.com/kb/947709" target="_blank">KB 947709</a> details how to use the <i>netsh advfirewall firewall</i> command to configure the firewall in several different ways.  I suggest running the following at the server command prompt:</p>
<p><i>netsh advfirewall firewall set rule group=&#8221;remote desktop&#8221; new enable=yes</i></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/01/30/portable-remote-desktop-connection/" title="A Portable Remote Desktop Connection (mstsc.exe)">A Portable Remote Desktop Connection (mstsc.exe)</a></li><li><a href="http://thebackroomtech.com/2008/03/18/howto-configure-the-windows-2008-server-core-screensaver-activation-period/" title="Howto: Configure the Windows 2008 Server Core Screensaver Activation Period">Howto: Configure the Windows 2008 Server Core Screensaver Activation Period</a></li><li><a href="http://thebackroomtech.com/2008/03/14/howto-shut-down-or-reboot-a-windows-2008-server-core-system/" title="Howto: Shut down or reboot a Windows 2008 Server Core System">Howto: Shut down or reboot a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/03/11/installing-vmware-tools-on-windows-2008-server-core/" title="Howto: Install VMware Tools on Windows 2008 Server Core">Howto: Install VMware Tools on Windows 2008 Server Core</a></li><li><a href="http://thebackroomtech.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/" title="Howto: Log Connections to Specific Ports and Processes on Windows Machines">Howto: Log Connections to Specific Ports and Processes on Windows Machines</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Howto: Log Connections to Specific Ports and Processes on Windows Machines</title>
		<link>http://thebackroomtech.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/</link>
		<comments>http://thebackroomtech.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 08:04:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Port Reporter]]></category>
		<category><![CDATA[Port Reporter Parser]]></category>
		<category><![CDATA[PortQry]]></category>
		<category><![CDATA[PortQuery UI]]></category>
		<category><![CDATA[RDC]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Remote Desktop]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/</guid>
		<description><![CDATA[A client asked me for a report that showed who connected to his server on port 3389 via RDP, Microsoft&#8217;s Remote Desktop Protocol . Apparently some of his techs had been connecting to his servers through the Microsoft Remote Desktop Connection (RDC) to perform maintenance, and he wanted to know when they connected to the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A client asked me for a report that showed who connected to his server on port 3389 via RDP, Microsoft&#8217;s Remote Desktop Protocol .  Apparently some of his techs had been connecting to his servers through the Microsoft Remote Desktop Connection (RDC) to perform maintenance, and he wanted to know when they connected to the server and where they connected from.</p>
<p>I figured I could enable RDC logging through a registry hack, but couldn&#8217;t find a documented solution anywhere.  Finally I found a few tools available from Microsoft that I could use to do the job.</p>
<p>The first tool I used was the <a href="http://support.microsoft.com/kb/837243/" target="_blank">Microsoft Port Reporter</a> utility.  This program installs as a service on Windows XP and Server 2003.  It does generate a large amount of log files, so make sure to configure the log file location on a drive with plenty of free disk space per <a href="http://support.microsoft.com/kb/837243/" target="_blank">KB 837243</a>, which has detailed installation and usage instructions.</p>
<p>The Port Reporter service is initially set to manual startup, so you&#8217;ll have to start it yourself in services.msc.  Once the service is running, three detailed log files are created.  These files can generate an overwhelming amount of information, so to help you decipher all the data Microsoft released the <a href="http://download.microsoft.com/download/2/8/8/28810043-0e21-4004-89a3-2f477a74186f/prparser.exe" target="_blank">Port Reporter Parser Tool</a>.</p>
<p>The Port Reporter Parser Tool turns the log file data into a sortable spreadsheet. You can sort and filter the sheet based upon factors such as date, time, local and remote IP and port, Process ID, account name, etc.   See<a href="http://support.microsoft.com/default.aspx?kbid=884289" target="_blank"> KB 884289</a> for specifics on analyzing logs and tracking suspicious data.  You can do so many things with Port Reporter that Microsoft even created a support webcast for the utility.  See <a href="http://support.microsoft.com/kb/840832/" target="_blank">KB 840832</a> for more information.</p>
<p>Once I had my Port Reporter log file loaded into Port Reporter Parser, I filtered my data to show only rows where the connection to the local port was made on TCP port 3389.  Port Reporter Parser made me a nice report showing all data regarding RDP connections to the server.</p>
<p>My only complaint with Port Reporter Parser is I couldn&#8217;t save my filtered queries or export them to a .csv or similar format.</p>
<p>Microsoft also has some related tools to Port Reporter -<a href="http://www.microsoft.com/downloads/details.aspx?familyid=89811747-C74B-4638-A2D5-AC828BDC6983&amp;displaylang=en" target="_blank">PortQry</a> and  <a href="http://download.microsoft.com/download/3/f/4/3f4c6a54-65f0-4164-bdec-a3411ba24d3a/portqryui.exe" target="_blank">PortQuery UI</a>.  See <a href="http://support.microsoft.com/kb/832919/" target="_blank">KB 832919</a> for instructions on using PortQry.  Other applicable KB articles include:</p>
<p><a href="http://support.microsoft.com/kb/310456/" target="_blank">KB  310456</a> &#8211;  How to Use Portqry to Troubleshoot Active Directory Connectivity Issues</p>
<p><a href="http://support.microsoft.com/kb/310298/" target="_blank">KB 310298</a> &#8211; How to Use Portqry.exe to Troubleshoot Microsoft Exchange Server Connectivity Issues</p>
<p><a href="http://support.microsoft.com/kb/325494/" target="_blank">KB 325494</a> &#8211;  Support WebCast: Port Scanning Using PortQry</p>
<p><a href="http://support.microsoft.com/kb/890381/en-us" target="_blank">KB 890381</a> &#8211;  TechNet Support WebCast: TCP/IP port and process auditing</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/01/30/portable-remote-desktop-connection/" title="A Portable Remote Desktop Connection (mstsc.exe)">A Portable Remote Desktop Connection (mstsc.exe)</a></li><li><a href="http://thebackroomtech.com/2008/09/26/howto-install-rdesktop-on-sles-10-sp2-linux/" title="Howto: Install rdesktop on SLES 10 SP2 Linux">Howto: Install rdesktop on SLES 10 SP2 Linux</a></li><li><a href="http://thebackroomtech.com/2009/05/14/fix-rdpclip-exe-wont-run-on-windows-server-2003/" title="Fix:  rdpclip.exe won&#8217;t run on Windows Server 2003">Fix:  rdpclip.exe won&#8217;t run on Windows Server 2003</a></li><li><a href="http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/" title="Howto: Enable Remote Desktop on a Windows 2008 Server Core System">Howto: Enable Remote Desktop on a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2010/02/11/ie7-rdp-web-client-fix/" title="IE7 RDP web client fix">IE7 RDP web client fix</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/12/05/howto-log-connections-to-specific-ports-and-processes-on-windows-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: &#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; when attempting to access a Windows 2003 server from a Windows Vista Remote Desktop Session</title>
		<link>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/</link>
		<comments>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 18:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[solved]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/</guid>
		<description><![CDATA[&#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; had almost made me scrap Vista on my home PC. Ever since my hard drive died and I committed to Vista, I&#8217;ve received this error message when attempting to access my Windows 2003 SBS Server. I&#8217;ve had no problems accessing Windows XP based machines, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>&#8220;The connection has been lost. Attempting to reconnect to your session…&#8221; had almost made me scrap Vista on my home PC.  Ever since my hard drive died and I committed to Vista, I&#8217;ve received this error message when attempting to access my Windows 2003 SBS Server.  I&#8217;ve had no problems accessing Windows XP based machines, but I experienced the exact same issue using <a href="http://thebackroomtech.wordpress.com/2007/08/10/managing-multiple-remote-desktopterminal-server-connections-using-terminals/" target="_blank">Terminals</a> from this machine.</p>
<p>I was sick of having to break out my XP laptop to administer my work network from home, so I decided today was the day to fix this problem.  I searched and Googled and read the entire <a href="http://blogs.msdn.com/ts/archive/2007/01/22/vista-remote-desktop-connection-authentication-faq.aspx#_When_to_use" target="_blank">Vista Remote Desktop Connection Authentication FAQ</a>, but did not find the answer.</p>
<p>I hoped setting the <em><a href="http://www.vistax64.com/vista-general/77631-authenticationleveloverride.html#post381302" target="_blank">AuthenticationLevelOverride</a> </em>registry key would do it, but that didn&#8217;t make a difference.</p>
<p>Finally, when I thought all hope was lost (and dinner was on the table), I came across <a href="http://i.nconspicuo.us/2007/04/10/remote-desktop-freezes-when-connecting-through-windows-vista/" target="_blank">this</a> post, which said to run the following from an <a href="http://thebackroomtech.wordpress.com/2007/10/01/howto-elevate-scripts-programs-and-prompts-to-administrator-rights-in-windows-vista/" target="_blank">elevated </a>command prompt:</p>
<p><em>netsh interface tcp set global autotuninglevel=disabled</em></p>
<p>This disabled Vista&#8217;s  TCP/IP autotuning feature.  I didn&#8217;t even have to reboot, Remote Desktop has worked great ever since I made this change.  No more problems, not even once.</p>
<p>If for some reason you want to re-enable TCP/IP auto tuning, the command is:</p>
<p><em>netsh interface tcp set global autotuninglevel=normal</em></p>
<p>Check out my <a href="http://thebackroomtech.wordpress.com/2007/07/10/problems-with-windows-vista-and-outlook-2007-connecting-to-exchange-2003-sp2-in-cached-mode-over-the-internet/" target="_blank">other post</a> concerning problems with Vista&#8217;s auto tuning and Microsoft Outlook 2007&#8242;s cached mode.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/03/17/howto-enable-remote-desktop-on-a-windows-2008-server-core-system/" title="Howto: Enable Remote Desktop on a Windows 2008 Server Core System">Howto: Enable Remote Desktop on a Windows 2008 Server Core System</a></li><li><a href="http://thebackroomtech.com/2008/01/29/howto-speed-up-your-network-connection-on-windows-vista/" title="Howto: Speed up your Network Connection on Windows Vista">Howto: Speed up your Network Connection on Windows Vista</a></li><li><a href="http://thebackroomtech.com/2008/01/08/64-bit-windows-isnt-displaying-files-saved-in-the-office-2007-format-when-searching-for-documents/" title="64-bit Windows isn&#8217;t displaying files saved in the Office 2007 format when searching for Documents">64-bit Windows isn&#8217;t displaying files saved in the Office 2007 format when searching for Documents</a></li><li><a href="http://thebackroomtech.com/2007/12/26/microsoft-windows-service-pack-blocker-tool-kit/" title="Microsoft Windows Service Pack Blocker Tool Kit">Microsoft Windows Service Pack Blocker Tool Kit</a></li><li><a href="http://thebackroomtech.com/2007/11/06/howto-enable-windows-vista-uac-quiet-mode/" title="Howto: Enable Windows Vista UAC quiet mode">Howto: Enable Windows Vista UAC quiet mode</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/10/08/solved-the-connection-has-been-lost-attempting-to-reconnect-to-your-session%e2%80%a6-when-attempting-to-access-a-windows-2003-server-from-a-windows-vista-remote-desktop-session/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 16/28 queries in 0.013 seconds using disk: basic
Object Caching 507/515 objects using disk: basic

Served from: thebackroomtech.com @ 2012-05-22 22:31:54 -->
