Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: User Profiles - Create and Move During Windows 7 Installation

09 Jan 2012   #190
Kari

Microsoft Community Contributor Award Recipient

 

Hi Strus, welcome to the Seven Forums. Good to hear this worked for you.

I have successfully reversed this, "re-relocated" both Users and ProgramData folders back to original locations on C: simply by editing the script between FolderLocations tags, changing ProfilesDirectory and ProgramData values back to original locations, booting to Audit Mode and running the script:

<FolderLocations>
<ProfilesDirectory>C:\Users</ProfilesDirectory>
<ProgramData>C:\ProgramData</ProgramData>
</FolderLocations>

Kari


My System SpecsSystem Spec
.
09 Jan 2012   #191
Strus

Windows 7 Ultimate x64
 
 

Thank you for quick replay.

The reason I'm asking is cause I would like to reverse it to check my ssd and hdd performance using both options.
My System SpecsSystem Spec
10 Jan 2012   #192
Kari

Microsoft Community Contributor Award Recipient

 

I have done quite a lot testing with sysprep and answer files (scripts). I suspect certain Windows services sometimes prevent answer files to work as intented, a good example being this Windows Media Networking service that you sometimes have to stop for sysprep to run, as told at the end of this tutorial.

I have had succcess running sysprep with this answer file in most of the cases when done on a new installation, but I have already seen a clear trend: the older the Windows setup, older as in more stuff installed and so on, the higher the precentage that fails.

I would not recommend playing with sysprep and answer files. You might have success to relocate - revert - relocate again a few times but eventually it does not work anymore.

Kari
My System SpecsSystem Spec
10 Jan 2012   #193
Strus

Windows 7 Ultimate x64
 
 

I just want to do it once. I know how both,SSD & HDD are performing with Users on HDD. Now I want to check how it will be with standard setting, so Users on SSD, where my Windows is located
My System SpecsSystem Spec
.

13 Jan 2012   #194
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

I would like to do this user files moving on a new install to SSD. It is recommended to have only the SSD attached with an install. How would I be able to copy the script in?
My System SpecsSystem Spec
13 Jan 2012   #195
Kari

Microsoft Community Contributor Award Recipient

 

1. Install Seven only SSD connected
2. Enter Audit Mode as told in tutorial
3. When Audit Mode starts, you will see SysPrep GUI. Select System Cleanup Action: Enter System Audit Mode and Shutdown Options: Shutdown as shown in screenshot below:

User Profiles - Create and Move During Windows 7 Installation-sysprep.png

4. Click OK
5. PC shuts now down. Connect secondary HHD and boot PC again
6. PC boots now back to Audit Mode and you can continue sysprepping as described in tutorial

Kari


My System SpecsSystem Spec
14 Jan 2012   #196
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Thanks Kari! Seems simple enough that I could do it.
My System SpecsSystem Spec
14 Jan 2012   #197
Kari

Microsoft Community Contributor Award Recipient

 

Please tell how it went.

Kari
My System SpecsSystem Spec
14 Jan 2012   #198
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Well....I can't seem to get the required 12 lines in the script. Do lines 4-7 and 14-15 need to be on one line to function? I am ending up with 11 or 13.
I won't try to type it all in, too much chance for errors...and my typing.
My System SpecsSystem Spec
14 Jan 2012   #199
Kari

Microsoft Community Contributor Award Recipient

 

Britton, here's the answer file (script) as a txt file, 12 lines as it should be: relocate.txt


Change the .txt extension to .xml before using with sysprep. You can use this answer file as it is if
  • You have a 64-bit Windows Ultimate
    • If 32-bit, change value processorArchitecture (line 4) to x86
    • If not Ultimate, change line 11 accordingly (HOMEBASIC, HOMEPREMIUM or PROFESSIONAL)
  • You are relocating both Users and ProgramData to D:
    • If not D: change values ProfilesDirectory (line 6) and ProgramData (line 7) accordingly
    • If not relocating ProgramData, delete line 7
  • Your Windows install media is on E: drive
    • If DVD install media is not on E:, change line 11 accordingly
Kari


My System SpecsSystem Spec
Comment

 User Profiles - Create and Move During Windows 7 Installation




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Help with User Profiles in Windows Server 2008
Hey guys and ladies. So i have scoured the forums looking for answers to my problem and have yet to get a definitive fix. It may just be me though lol. So I am an IT technician for some schools and i have just implemented a new server. It is running Windows Server 2008. My client machines are...
General Discussion
Windows 7 User profiles issue - Shows logging off after entering corru
This issue has become specific as fixing one problem led to the other: 1) I deleted ntuser.* files while working in linux as they had ugly looking file extensions and I thought they are temporary files. 2) I started getting the message "The Group Policy Client service failed the logon....
Installation & Setup
cannot create new user profiles
Win 7 Home Premium. Optiplex 755. I have a working user profile with administartive rights which works fine. I also have a working guest user. However when I try to create a new user, standard or administator, the new user is shown in "mange users" but cannot be logged into. This happens in safe...
General Discussion
Can't move user profiles
Guys ... opening this as separate thread as previous one took a direction of its own. Scenario As per Tutorial moved my profiles off the C:\ http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html In order to use Windows Repair/Upgrade Disk I need to move them...
Installation & Setup
How do I move my user profiles back to C:\user
On advice here to keep OS disk space small, followed the tutorial http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html and moved my user profile from C:\user\name to E:\user\name The problem is Windows upgrade (need to run for repair) will not accept profiles...
Installation & Setup
New to Win7 move User profiles or use Libraries?
I have just upgraded from Vista where we had two user account profiles on the D partition, as I recall, Vista prompted me to set it up this way initially. I got used to using this method, as my single hdd is divided into two partitions, C for the OS and D for Data. I did a new clean install of...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App