<?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>registry | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/registry/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:21:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>registry | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>How to make an old school SUBST virtual drive persistent</title>
		<link>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-make-an-old-school-subst-virtual-drive-persistent</link>
					<comments>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 19 Apr 2010 06:36:22 +0000</pubDate>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[subst]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/2010/04/18/how-to-make-an-old-school-subst-virtual-drive-persistent/</guid>

					<description><![CDATA[<p>If you have touched DOS before, you might still remember what this old school command subst is all about. It&#8217;s a command used for substituting local paths on physical and logical drives, known as virtual drives. For example, if you want to have a logical drive P: mapped to a local folder on your computer, say c:\temp, you can simply [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/">How to make an old school SUBST virtual drive persistent</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>If you have touched DOS before, you might still remember what this old school command subst is all about. It&#8217;s a command used for substituting local paths on physical and logical drives, known as virtual drives. For example, if you want to have a logical drive P: mapped to a local folder on your computer, say c:\temp, you can simply use the following command to make it.</p>
<blockquote><p>subst p: c:\temp</p></blockquote>
<p>It&#8217;s very useful when you test out the application that uses a network mapped drive so you can have a complete test environment right on your local machine.</p>
<p>However, any subst&#8217;d virtual drivers are not persistent. You have to Subst them again once the computer is rebooted. Making a batch file that includes subst commands in it and placing it in startup folder doesn&#8217;t seem to be working for something.</p>
<p>If you want to make them like a permanent driver that doesn&#8217;t disappear, you can either</p>
<p>Create a new registry entry â€œstring valueâ€ in the following key:</p>
<blockquote><p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices</p></blockquote>
<p>The name of the entry should be â€œX:â€ where X is the drive letter you want to make.</p>
<p>And the value of the entry should be the local path in the form of: \??\c:\path. Make sure reboot once to make the change take effect.</p>
<p>Or, if you are not comfortable with playing around the registry keys, you can also use a tool called <a href="http://code.google.com/p/psubst/" target="_blank" rel="noopener">psubst</a> with an option /p as well.</p>The post <a href="https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/">How to make an old school SUBST virtual drive persistent</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-make-an-old-school-subst-virtual-drive-persistent/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1141</post-id>	</item>
		<item>
		<title>The remote computer disconnected the session because of an error in the licensing protocol</title>
		<link>https://www.kjctech.net/the-remote-computer-disconnected-the-session-because-of-an-error/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-remote-computer-disconnected-the-session-because-of-an-error</link>
					<comments>https://www.kjctech.net/the-remote-computer-disconnected-the-session-because-of-an-error/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Fri, 12 Jun 2009 21:50:02 +0000</pubDate>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[remote desktop client]]></category>
		<guid isPermaLink="false">http://kjctech.net/blog/archive/2009/06/12/the-remote-computer-disconnected-the-session-because-of-an-error.aspx</guid>

					<description><![CDATA[<p>One remote user from work called me the other day saying her remote desktop client stopped working because of â€œthere are no terminal server client access licenses available for this computerâ€. Well, that&#8217;s easy, I walked her through and successfully deleted the MSLicensing registry key on her Windows Vista computer, and happily told her you can try it again now. [&#8230;]</p>
The post <a href="https://www.kjctech.net/the-remote-computer-disconnected-the-session-because-of-an-error/">The remote computer disconnected the session because of an error in the licensing protocol</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" title="image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="157" alt="image" src="https://i0.wp.com/www.kjctech.net/images/blog/Theremotecomputerdisconnectedthesessionb_D059/image.png?resize=587%2C157" width="587" border="0" /> </p>
<p>One remote user from work called me the other day saying her remote desktop client stopped working because of â€œ<em>there are no terminal server client access licenses available for this computerâ€. </em>Well, that&#8217;s easy, I walked her through and successfully <a href="http://technet.microsoft.com/en-us/library/cc756826.aspx#BKMK_12" target="_blank" rel="noopener">deleted the MSLicensing registry key</a> on her Windows Vista computer, and happily told her you can try it again now. But surprisingly, she replied a few seconds later saying no, still didn&#8217;t work. But this time the error message was different:</p>
<blockquote>
<p>The remote computer disconnected the session because of an error in the licensing protocol</p>
</blockquote>
<p>It&#8217;s surprising because having been using remote desktop client for ages this is the first time I saw the error message like this. Out of luck after a few checking here and there, I went to Google for help. Nothing had worked until I was landed to this Microsoft KB, <a href="http://support.microsoft.com/kb/187614" target="_blank" rel="noopener">Removing Terminal Server licenses from an RDP client</a>. At the very bottom of this KB, it mentions:</p>
<blockquote>
<p>If you delete the HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing subkey on a client that is running Windows Vista or a later version, later attempts to connect to a Terminal Server may fail. Also, you receive the following error message:</p>
<p>An Error occured in the licensing protocol.</p>
</blockquote>
<p>And suggests that to resolve this problem, right-click the <strong><em>Remote Desktop Connection</em></strong> icon, and then click <strong><em>Run as Administrator.</em></strong>Â </p>
<p>Bingo!! That was it. Did I mention that this problem was actually occurred on a Vista computer above? And it only happens on Vista or later OSs because:</p>
<blockquote>
<p>By default, the remote desktop connection runs as a user with the lowest user permissions. By default, a restricted user does not have permission to write registry entries to HKEY_LOCAL_MACHINE. Therefore, attempts to rewrite the MSLicensing key fail. Starting Remote Desktop Connection with administrative credentials provides the permissions that are necessary to write the needed registry keys. </p>
</blockquote>
<p><strong>Related Posts:</strong></p>
<ul>
<li><a href="http://kjctech.net/Blog/archive/2006/05/22/239.aspx">Terminal License Will be Expired in x Days</a> </li>
<li><a href="http://kjctech.net/Blog/archive/2008/04/30/remote-desktop-keyboard-shortcuts.aspx">Remote Desktop Keyboard Shortcuts</a> </li>
<li><a href="http://kjctech.net/Blog/archive/2008/08/27/remote-desktop-rdp-on-iphone.aspx">Remote Desktop (RDP) on iPhone</a> </li>
</ul>The post <a href="https://www.kjctech.net/the-remote-computer-disconnected-the-session-because-of-an-error/">The remote computer disconnected the session because of an error in the licensing protocol</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/the-remote-computer-disconnected-the-session-because-of-an-error/feed/</wfw:commentRss>
			<slash:comments>24</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">918</post-id>	</item>
	</channel>
</rss>
