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

04 Jun 2013   #660
mneal

Win7 Ultimate 64bit
 
 

I had some errors in the file at first - kept getting a window showing how to use sysprep with switches. Also, at one point in fixing the file and re-running sysprep, a fatal error. I killed the WMP network svc at the start of the process when I first brought it into audit mode - is it necessary to kill the process each time you reboot to audit?

Finally got a 'normal' "sysprep is working" response so figured all was well. Problem is, I never checked to see that the folders moved after the first normal boot. In retrospect, I should have realized there was a problem when a couple of the programs I had installed in audit mode weren't there.

I made a backup after leaving audit mode - is it possible to go *back* into audit mode at that point and re-run the script and install the other "base" programs, or will I need to completely reinstall?


My System SpecsSystem Spec
.
04 Jun 2013   #661
Kari

Microsoft Community Contributor Award Recipient

 

You can always boot to Audit Mode, simply type %windir%\system32\sysprep\sysprep.exe /audit /reboot to Run dialog or command prompt and hit Enter.

However, every failed sysprep increases the vulnerability of your system. My recommendation is to reinstall, enter Audit Mode, install what you want to, reboot, run sysprep to move Users, exit Audit Mode and finalize installation.

The WMP sharing service is really problematic, I have made a habit of stopping it every time before running sysprep.
My System SpecsSystem Spec
04 Jun 2013   #662
mneal

Win7 Ultimate 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
My recommendation is to reinstall, enter Audit Mode, install what you want to, reboot, run sysprep to move Users, exit Audit Mode and finalize installation.
Can do. *note to self: unplug platter drive before starting re-install. Make sure to plug platter drive *back* in before entering audit mode*

Quote:
The WMP sharing service is really problematic, I have made a habit of stopping it every time before running sysprep.
That was the first thing I did on entering audit mode, just didn't know if it needed to be done on each reboot back into audit mode or not.

Wish there was some way to be sure the script has "taken" before going into the OOBE, though.
My System SpecsSystem Spec
05 Jun 2013   #663
mneal

Win7 Ultimate 64bit
 
 

Finally got it to work correctly, had to re-run audit mode and then login under a 'temp' logon as shown on page 3. Not sure why, though.
My System SpecsSystem Spec
.

06 Jun 2013   #664
Kari

Microsoft Community Contributor Award Recipient

 

You have now the Users main folder on another location, not on C:?
My System SpecsSystem Spec
06 Jun 2013   #665
mneal

Win7 Ultimate 64bit
 
 

Yes, they finally moved/created after doing the temp logon.
My System SpecsSystem Spec
06 Jun 2013   #666
Kari

Microsoft Community Contributor Award Recipient

 

OK, good to know it finally worked for you.
My System SpecsSystem Spec
08 Jun 2013   #667
tacenator

Microsoft Windows 7 Professional SP1 (OEM) (64-bit)
 
 
SSD setup today and moving Users and Progdata

Today was the day I finally got around to setting up my new SSD. What a speed bump. Still working on all the reinstalls of programs, drivers, and the like. But the moving of the User and Programdata folders went as smooth as could be. I will report back later on exactly what I did and what I learned.

Thanks Kari!
My System SpecsSystem Spec
08 Jun 2013   #668
Kari

Microsoft Community Contributor Award Recipient

 

You are welcome .
My System SpecsSystem Spec
12 Jun 2013   #669
tacenator

Microsoft Windows 7 Professional SP1 (OEM) (64-bit)
 
 
My Experience With This Tut

I think it important for anyone attempting this tut to understand what Kari intends for it to accomplish. If you try to move other than the Users and Programdata folders you should consult another tut.

What you need:
Two hard drives (typically an SSD for the OS and a HDD for the folders you move and everything else). You can use one drive with multiple partitions, but this is less likely.
You will need a Windows 7 installation disk or USB (must include the install.wim file in the Sources folder). This is NOT an upgrade disk.
You will need access to the relocate.txt file which is linked in post #199 of this tut.

It is a good idea to insure your BIOS, chipset firmware, etc. is up to date before starting.
That said, here is what I did:

1. First I did redundant backups and system images on an external drive.

2. Having done my backups, and having both hard drives installed, I popped the bootable Win 7 OS installation disk into my DVD drive (insure BIOS boot order selects this drive first if necessary). My old HDD had all my files and the OS installed.

3. When I arrived at the install screen asking where to install the OS (steps 7 & 8 in this tut:
Clean Install Windows 7), I deleted all the partitions on both drives making them unallocated and selected the SSD as the drive to install the OS. (This wipes the HDD.)

4. At step 10 of the clean install tut, I went back to Kari's (this) tut. After entering Audit Mode but prior to running the relocate script, I entered Windows Disk Management through the Control Panel. Here I assigned the drive letters I wanted for drives and created a partition on the HDD that would be a target for the Users and Programdata folders. I noted the drive letters for the next step.

5. I had previously written to a USB stick a copy of the relocate.txt file and another text file that had the command for stopping the WMP Network Service and the two commands for running Sysprep to run the relocate script (also a bunch of support docs, the tut, drivers, etc.). I clicked on the relocate.txt file and it opens in Notebook. Here I made the required edits using the drive letters I noted in step #4, PROFESSIONAL for ULTIMATE, etc. Then I saved the file as a xml file to the root of the target drive (D drive for me).

6. Now I opened the command prompt and ran the commands to run the relocate script. It was nice to have the text file with the commands open in Notebook directly above the command prompt window to make copying easy.

7. Ran the script and all went exactly as planned.

Done.

There was only one surprise and it turned out to be a welcome one. I opted to allow the 100 MB System Reserved Partition to be created expecting this would be on the C drive, the SSD. However, the partition was created on the D drive, the HDD. This was great as it was one less thing to clutter the SSD.

Now I have copied my font files to Windows/Fonts on C and document folders, music and pictures back to the new users locations on D drive. I have installed most of the software I expect to install. Only 28.7 GB of space is used on the SSD (Full install of Windows 7 Professional). Probably should have left the Programdata file alone and am considering moving it back.

With a little planning this tutorial will do what it intends to do without a hiccup. When I open Windows Explorer, there are no surprises and all Libraries and folders are just as before. There is no way to really tell the files are on D without checking that drive. Works great but much faster with the SSD.

As an aside, I could have installed Windows 8. I understand that MS will be coming out with a retro update soon. However, as I read it, this update will not restore the Aero feature. I love the Aero feature and use it all the time to check an open window when working in another app.

Thanks again.
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:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App