<?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>Just Enough Technology &#187; Windows 7</title>
	<atom:link href="http://justenoughtechnology.com/topics/windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://justenoughtechnology.com</link>
	<description>The passion to see business leverage technology both powerfully and economically</description>
	<lastBuildDate>Thu, 20 May 2010 00:18:00 +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>Move User Profile to 2nd Drive in Win 7</title>
		<link>http://justenoughtechnology.com/move-user-profile-to-2nd-drive-in-win-7/</link>
		<comments>http://justenoughtechnology.com/move-user-profile-to-2nd-drive-in-win-7/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 20:46:48 +0000</pubDate>
		<dc:creator>Dave Ranck</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://justenoughtechnology.com/move-user-profile-to-2nd-drive-in-win-7/</guid>
		<description><![CDATA[Well, this was an interesting foray into Windows 7. I just purchased a new laptop and didn&#8217;t like the way the hard drive was partitioned. Why partition an NTFS drive at all? The manufacturer had created an 80 GB primary partition with a 420 GB extended partition. Of course the OS and user profiles are [...]


Related posts:<ol><li><a href='http://justenoughtechnology.com/windows-7-god-mode/' rel='bookmark' title='Permanent Link: Windows 7 God Mode'>Windows 7 God Mode</a></li>
<li><a href='http://justenoughtechnology.com/test-process/' rel='bookmark' title='Permanent Link: Risk Management in Requisite Pro'>Risk Management in Requisite Pro</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Well, this was an interesting foray into Windows 7. I just purchased a new laptop and didn&#8217;t like the way the hard drive was partitioned. Why partition an NTFS drive at all? The manufacturer had created an 80 GB primary partition with a 420 GB extended partition. Of course the OS and user profiles are stored on the relatively small primary partition. This I did not like. I put a lot of music on my laptop, along with my development projects and multimedia files. 80 GB just won&#8217;t cut it. I could have purchased 3rd party software to repartition the drives (Win 7&#8217;s built in tool won&#8217;t do the job here) but I didn’t want to do that. The solution? Move the files to the d: drive and create a symbolic (hard) link to new location. </p>
<p> <span id="more-281"></span>
</p>
<p>Starting with Vista, Windows finally has a symbolic link tool, similar to its UNIX / LINUX counterparts. To move profiles, however, you must follow a strict procedure. It isn’t hard to do, but you have to do it correctly or it won&#8217;t work. Here&#8217;s an outline of the process:</p>
<ol>
<li>Login with a 2nd admin profile</li>
<li>Use Robocopy to copy the user profile(s) to the new location</li>
<li>Rename the original folder</li>
<li>Create a hard link to the new location, using the original folder name</li>
<li>Check things out and if OK, delete the original files</li>
</ol>
<p><strong><font color="#ff0000">FIRST – CREATE A RESTORE POINT. You knew that already didn’t you?</font></strong></p>
<p><strong>Login as a second user with admin writes</strong></p>
<p>Create a new user if required, restart in safe mode and login. Launch a command window (to launch with admin privileges, type cmd into the run or search bars and hit ctrl+shift+enter). You’ll need to be in safe mode or all of the files may not copy.</p>
<p><strong>User Robocopy – not XCopy</strong></p>
<p>It is very important to use Robocopy and not XCopy. The first time I tried this, I used XCopy and no joy.&#160; The command will look like this (substitute your profile name for [profile name]): </p>
<p>robocopy /mir /xj C:\Users\[profile name] D:\Users\[profile name]. </p>
<p>You should be able to copy the users folder, and then all subsequent user profiles will be created on the new drive. I just moved my primary user profile.&#160; /mir tells robocopy to mirror the directories, this will copy all files and permissions. /xj is very important, this tells robocopy not to follow junction points. If you forget this, you will have a lot of trouble. Make sure no files failed to copy (FAILED column = 0).</p>
<p>Next you must rename the original folder. You can’t create a symlink to a folder name that exists. Rename your old profile to myprofile_old or something like that. Now use mklink to create a hard link to the new location. The command will look like this:</p>
<p>mklink /J c:\users\[profile name] d:\users\[profile name]</p>
<p>This will create an NTFS junction to the new folder. Windows will treat it as if it were on the main drive partition and you can access it via c:\users\[profile name]. The /J switch creates a hard link so you don’t have to muck about in the registry. Now restart and login as the user. Everything *should* be hunk-dory. If you get the message that Windows is creating a temp profile, something went awry. Check the registry using the info at the following link: <a href="http://cherrybyte.blogspot.com/2007/07/fixing-user-profiles-in-vista.html" target="_blank">Fixing profile issues</a>. If that doesn’t work, you always have that restore point <img src='http://justenoughtechnology.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  This worked great for me and now all of my profile info and files are on the large partition and I am happy again.</p>
<p>Cheers!</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:83d3e96f-9e5c-4a55-8f65-44da6870aabe" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Windows+7" rel="tag">Windows 7</a>,<a href="http://technorati.com/tags/Win+7" rel="tag">Win 7</a>,<a href="http://technorati.com/tags/Profiles" rel="tag">Profiles</a>,<a href="http://technorati.com/tags/mklink" rel="tag">mklink</a></div>


<p>Related posts:<ol><li><a href='http://justenoughtechnology.com/windows-7-god-mode/' rel='bookmark' title='Permanent Link: Windows 7 God Mode'>Windows 7 God Mode</a></li>
<li><a href='http://justenoughtechnology.com/test-process/' rel='bookmark' title='Permanent Link: Risk Management in Requisite Pro'>Risk Management in Requisite Pro</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://justenoughtechnology.com/move-user-profile-to-2nd-drive-in-win-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
