The Artima Developer Community
Sponsored Link

Python Buzz Forum
Moving your Windows profile off of SSD in Windows8

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aaron Brady

Posts: 506
Nickname: insommeuk
Registered: Aug, 2003

Aaron Brady is lead developer for Crestsource
Moving your Windows profile off of SSD in Windows8 Posted: Aug 6, 2013 3:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Aaron Brady.
Original Post: Moving your Windows profile off of SSD in Windows8
Feed Title: insom.me.uk
Feed URL: http://feeds2.feedburner.com/insommeuk
Feed Description: Posts related to using Python. Some tricks and tips, observations, hacks, and the Brand New Things.
Latest Python Buzz Posts
Latest Python Buzz Posts by Aaron Brady
Latest Posts From insom.me.uk

Advertisement

While the below approach worked for me, you should understand each step before attempting it. You should take backups before attempting any system change, especially one which involves moving data and editing your registry

Yesterday, I followed this guide from Prasys on how to move your C:\Users folder to another drive, because my C: was very small and E: was much larger.

I fully take responsibility for this fact, but it ate my Windows 8 install alive, and I had a fun couple of hours trying to convince Windows to let me even get into safe mode. (You have to enable it first, apparently, probably worth everyone’s time to do this)

Reversing the steps (removing the NTFS junction and copying the files back) did not fix my issue.

The most likely thing that went wrong was that the permissions on the Default folder got messed up; once I finally got an Explorer window again, I was able to reset these and my machine was a lot happier. I’m pretty sure that’s what fixed it, anyway.

So, now that we’ve established that playing with NTFS junctions and robocopy is quite dangerous, let me share the solution that actually worked for me. I’m going to assume you haven’t followed the above steps and half-wrecked your machine, just that you have a user on C: you want to move to E:

Create a new administrator user

While you’re doing this work, create a new administrator account - you don’t want to move an account while it’s logged in, so this sacrificial account will be the only one logged in while you do this. Other HOWTO’s that I’ve seen have you boot to safe mode, re-enable the Administrator account, but this will avoid that step.

Log everyone else out

You don’t want have anything else running on the machine, so log out of your normal accounts and only have the new temporary administrator account you’ve created logged in.

Create a new Users folder

mkdir E:\Users

Copy the data over with robocopy

With an administrative command prompt run:

robocopy /mir /copyall C:\Users\Aaron E:\Users\Aaron

This will delete anything at E:\Users\Aaron if it already exists.

Update the profile folder in the Windows registry

Look in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList for a list of profiles.

Just edit ProfileImagePath to point to your folder on E:, log out of your temporary account, and log back in as your original user.

Open a command prompt and verify that it’s opened with your new profile path. If you’re happy, you can delete the temporary user that you created, and the copy of your data from the C: drive.

rmdir /S/Q C:\Users\Aaron

You’re done!

Read: Moving your Windows profile off of SSD in Windows8

Topic: Another Lindy-builder, and other things Previous Topic   Next Topic Topic: More Grimacing


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us