<?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>yesJames.com &#187; Uncategorized</title>
	<atom:link href="http://www.yesjames.com/index.php/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yesjames.com</link>
	<description>ahuh... sure... what ever you say...</description>
	<lastBuildDate>Fri, 13 Nov 2009 02:59:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling Remote Desktop access&#8230; remotely</title>
		<link>http://www.yesjames.com/index.php/2008/11/enabling-remote-desktop-access-remotely/</link>
		<comments>http://www.yesjames.com/index.php/2008/11/enabling-remote-desktop-access-remotely/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 22:37:06 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Batch file]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yesjames.com/?p=47</guid>
		<description><![CDATA[Firstly you can edit the Registry of the remote machine by hand:
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server on the remote machine, and find the key: fDenyTSConnections
If it doesn&#8217;t exist create it, then set it&#8217;s value to &#8220;0&#8243;.
Alternatively you can use the following batch file to do the job for you.
Note: You must be logged into your computer [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly you can edit the Registry of the remote machine by hand:</p>
<p>Navigate to <strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server</strong> on the remote machine, and find the key: <strong>fDenyTSConnections</strong><br />
If it doesn&#8217;t exist create it, then set it&#8217;s value to &#8220;0&#8243;.</p>
<p>Alternatively you can use the following batch file to do the job for you.<br />
Note: You must be logged into your computer with credentials that allow you to remotely edit the Registry of the machine in question, otherwise the batch file will fail.</p>
<p>syntax:   <code>EnableRemoteDesktop.bat RemotePC</code><br />
NB: This batch file must be run under Windows XP</p>
<p>Save the following to a file named <strong>EnableRemoteDesktop.bat</strong></p>
<pre name="code" class="">
@echo off
setlocal
if {%1}=={} goto syntax

:loop
if {%1}=={} goto finish
set remote="\\%1\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server"
shift
reg.exe ADD %remote% /v fDenyTSConnections /t REG_DWORD /d 0 /f&gt;nul 2&gt;&amp;1
if NOT %ERRORLEVEL% EQU 0 @echo %remote% NOT found.
goto loop

:syntax
@echo Syntax: RemoteDesktop Computer1 [Computer2 .... Computern]
goto loop

:finish
endlocal
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.yesjames.com/index.php/2008/11/enabling-remote-desktop-access-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
