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

16 Dec 2012   #460
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Open a Elevated Command Prompt and see what it says.


My System SpecsSystem Spec
.
16 Dec 2012   #461
Kari

Microsoft Community Contributor Award Recipient

 

Command prompt by default opens on your user profile folder. If your user profile is on C:\Users\Frodi, the command prompt opens there, if on F:\Users\Frodi it opens there.

An elevated command prompt (Run as administrator) by default opens on C:\Windows\System32.

To change drive in command prompt simply type the letter of the drive followed by colon and press Enter. Use then CD commands to move to correct folder, command CD \ always returns to the root of current drive.

If I for instance open the command prompt on this computer, it opens on D:\Users\Kari. If I want to see command prompt on C:\Windows\System32, I first switch to C: drive by typing C:, then move with CD Windows\System32 to that folder. Back to root of the C: drive with CD \ as seen here:

User Profiles - Create and Move During Windows 7 Installation-2012-12-17_012430.png

To answer your question about fatal error we need a lot more information. Which edition of Windows, upgraded or clean install, your answer file (script), which drives you have, where and on which drive you have your Windows installation media when you sysprep, which edition of Windows install media you are using when sysprepping and so on.

Kari


My System SpecsSystem Spec
17 Dec 2012   #462
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Is it possible to do a repair install of the OS and maintain the Users and ProgramData on the separate drive?
My System SpecsSystem Spec
17 Dec 2012   #463
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by Britton30 View Post
Is it possible to do a repair install of the OS and maintain the Users and ProgramData on the separate drive?
Sorry, it is not possible:

User Profiles - Create and Move During Windows 7 Installation-2012-12-17_234218.png

My repair procedure, have done it a few times:
  • Relocate Users and ProgramData back to default locations by booting to Audit Mode and running sysprep with modified answer file (environment variable FolderLocations set to defaults on C:)
  • Do the repair install
  • Relocate Users and ProgramData back to wherever you had them

Kari


My System SpecsSystem Spec
.

17 Dec 2012   #464
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Would this be the correct answer file then? My install media will be a USB stick and it shows up as F as my system is at the moment.
Move.zip


My System SpecsSystem Spec
17 Dec 2012   #465
Kari

Microsoft Community Contributor Award Recipient

 

Yes, that's OK if:
  1. You have a 64-bit Windows 7 Ultimate
  2. The install media (DVD or ISO) is on F: drive

Start > Run > C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot, after reboot run sysprep using this answer file as told in tutorial. It moves Users and ProgramData back to default locations on C:.

After sysprep has run and computer once again rebooted to Audit Mode, do an OOBE boot to exit Audit Mode as told in tutorial. Notice that you need to go through full OOBE / Welcome phase by entering the initial username and computer name and letting Windows to boot to desktop. At this phase although your previous user accounts remain in system you need to use a new not used username. I always use user Test here.

When finally on desktop in normal (OOBE / Welcome) mode, start repair install. When repair install stops after last reboot for username & computer name press CTRL + SHIFT + F3 to enter (reboot to) Audit Mode and run sysprep again to move folders back where you want to. Continue as told in tutorial.

Going to bed, it's half past one here, but I will stay online another 10 to 20 minutes if you have any additional questions. Otherwise it has to wait until tomorrow.

Kari
My System SpecsSystem Spec
17 Dec 2012   #466
Kari

Microsoft Community Contributor Award Recipient

 

Forgot from previous post:

Moving folders back to defaults on C: can take a while, depending on how much there is to move. To avoid an hour long sysprep phase I normally backup docs, pics, music, videos etc. and delete them from user folders to make folders to be moved as empty as possible. DO NOT DELETE ANYTHING ELSE THAN YOUR PERSONAL FILES i.e. let AppData remain intact, as well as the folder structure (OK to delete docs from My Documents but leave the folder itself).

Kari
My System SpecsSystem Spec
17 Dec 2012   #467
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

OK, thanks Kari, go to bed, lol. I think I'm a bit tired to go at this right now. Also upset about the Sandy Hook killings.
My System SpecsSystem Spec
18 Dec 2012   #468
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

After moving my personal data out of Users and starting sysprep I have this error.
User Profiles - Create and Move During Windows 7 Installation-sysprep-error.png


My System SpecsSystem Spec
18 Dec 2012   #469
Kari

Microsoft Community Contributor Award Recipient

 

Did you stop the Windows Media Player Network Sharing Service? Extract from the tutorial:
Quote:
Based on my own experience, sysprep does not always like Windows Media Player Network Sharing Service (WMPNetworkSvc). Reason is unknown to me. If you get an error message when trying to run the XML script, end the service and try again.

Type this to Command Prompt to stop the mentioned service and press Enter:
Code:
net stop WMPNetworkSvc
Now run the script with sysprep command once again.
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:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App