<?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>Digital Journal &#187; Drive Mapping in Windows</title>
	<atom:link href="https://digitaljournal.sg/wp/?feed=rss2&#038;tag=drive-mapping-in-windows" rel="self" type="application/rss+xml" />
	<link>https://digitaljournal.sg/wp</link>
	<description>My Digital Journal</description>
	<lastBuildDate>Mon, 20 Oct 2014 00:32:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Drive Mapping in Windows 2008</title>
		<link>https://digitaljournal.sg/wp/?p=23</link>
		<comments>https://digitaljournal.sg/wp/?p=23#comments</comments>
		<pubDate>Wed, 26 Sep 2012 08:16:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Drive Mapping in Windows]]></category>
		<category><![CDATA[Drive Mapping in Windows 2008]]></category>
		<category><![CDATA[Windows Drive Mapping]]></category>

		<guid isPermaLink="false">http://digitaljournal.sg/wp/?p=23</guid>
		<description><![CDATA[Recently i need to find out on how to create drive mapping or drive alias on Windows 2008, the same result that you can get from ln command in linux or unix operating system. The reason why i need it as in my case there are 2 drives which is C and D , and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i need to find out on how to create drive mapping or drive alias on Windows 2008, the same result that you can get from ln command in linux or unix operating system. The reason why i need it as in my case there are 2 drives which is C and D , and currently all application are installed on D drive, but i need to change D to E drive since the scripts on previous server all points to E drive instead of D drive ,and just rename the drive is just not a good idea on windows.</p>
<p>There are some commands you can try like &#8220;net&#8221; and &#8220;subst&#8221; that can achieved the main goal</p>
<pre>net use E: "\\computername\D$"
or
subst E: D:\</pre>
<p>but the problem is all of the above will not retain during after server rebooted, although you can add &#8220;/PERSISTANT:YES&#8221; parameter on net command, the user might need to logon first before the drive mapping in place and this only works on that particular user only and not all users which is not what i wanted, so figured out and i use this one instead</p>
<p>-)open regedit<br />
-)go to:<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]<br />
-)Create new &#8220;string value&#8221;<br />
&#8220;E:&#8221;=&#8221;\\??\\D:\\&#8221;<br />
-)Reboot</p>
<p><a href="http://digitaljournal.sg/wp/wp-content/uploads/2012/09/windows_drive_mapping-regedit.jpg"><img class="size-medium wp-image-24" title="windows_drive_mapping-regedit" src="http://digitaljournal.sg/wp/wp-content/uploads/2012/09/windows_drive_mapping-regedit-300x157.jpg" alt="" width="300" height="157" /></a></p>
<p>or create new text file called &#8220;subst.reg&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]<br />
&#8220;E:&#8221;=&#8221;\\??\\D:\\&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>And execute that reg file to add to Windows registry.</p>
]]></content:encoded>
			<wfw:commentRss>https://digitaljournal.sg/wp/?feed=rss2&#038;p=23</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
