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

03 Jun 2012   #310

Windows 7 Professional 64bit
Error Message

Kari, I'm following your instructional to the T. I've tried it 3 times and each time, after I run the script and try to exit Audit mode I get the following Error Message as my machine tries to boot into Windows:

Install Windows

Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobeSystem]. The settings specified in the answer file cannot be applied. The error was detected while processing setting for component [Microsoft-Windows-Shell-Setup].

Once I get that error, there's no way for me to boot into windows, and I'm forced to reinstall again.

Is there a fix for this? Or is it something I'm doing wrong? Please help!

My System SpecsSystem Spec
11 Jun 2012   #311

Windows 7 Home Premium 64 bit

Hi Kari,

I'm stuck, tried your method of moving the USER folder over but no love. In the past I've been able to move a user folder following your guide but am having problems with this system.

My setup includes a C: drive (SSD) on Intel controller, two mirrored 3TB drives partitioned as GPT. The Intel controller is set to RAID so the SSD is on this as well. Does it matter as to the controller, i.e. Intel or Marvell? Does it matter if controller set to RAID? I've disabled the onboard Marvell controller.

Earlier you mentioned not formating drive D: prior to running the xml script in reply to another post. I hadn't tried that but well now. I've been going into Audit mode and partitioning Drive D: and formating it prior to running the xml code. Is the D: drive supposed to be unpartitioned when running the xml code? I'm guessing not as your example copied the xml file to the D: drive root directory prior to running.

Another thing I tried was disabling all the RAID drives and set the controller to AHCI and hooked up a single drive for the D: drive. I install Win 7 to the SSD and in AUDIT mode I create a partition on the single drive and assign drive letter D:. I make sure the DVD drive letter matches the XML code, the OS is "PROFESSIONAL" which is correct and it is a 64 bit OS so AMD64 is being used. I copied the source code to the root of drive D: and run the sysprep command. It closes out fine without error and reboots. Upon the second reboot the user files are created in the C: drive, and, newly created users are in the C: drive.

I am using Windows 7 Professional SP1 OEM 64 bit. Now, this is a copy provided by the computer maker, which I think is a stock OEM DVD. Is it possible something on the install from that DVD is keeping it from working?

Thanks for your help!
My System SpecsSystem Spec
11 Jun 2012   #312

Windows 7 Home Premium 64 bit

Also, am wondering if there is a way after running the sysprep.exe command when it boots the 2nd time in to audit mode to check some way to see if it will actually create the User folder on the target drive? It'd be nice so you wouldn't have to boot into Out-of-box to see if it worked.

Btw - I redid the Win 7 install from scratch again without creating a partition on the D: drive and upon booting into normal mode the USER was on the C: drive and the 2nd harddrive wasn't partitioned or formatted so I answered part of my question in that the D: drive needs to be partitioned, if not formatted.
My System SpecsSystem Spec
11 Jun 2012   #313

Windows 7 Home Premium 64 bit

Btw - here is the script I'm using which I just checked again and seems to match up. Note - the Win 7 DVD is in drive F:.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
<cpifflineImage cpi:source="wim:F:/sources/install.wim#Windows 7 PROFESSIONAL"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />

Also, this is the command I used to execute the xml file...

sysprep.exe /audit /reboot /unattend:c:\relocatepro.xml

I called it relocatepro.xml for Win 7 Professional. I'll make a separate one for Win 7 Home later.

OK - success! Apparently the included Windows 7 PRO DVD from the computer manufacturer is the cause of this not working. When I used a new OEM Windows 7 PRO SP1 DVD the USER folder transferred fine!!!!

Might want to include this little caveat with your guide.
My System SpecsSystem Spec

22 Jun 2012   #314

Windows 7 Ultimate x64

Freaking out! I just built this cpu had win7ultimate x64 on SSD and Formatted WD 2TB HD All working and installed Anti-virus...then tried this but first time was not sure if you ment to make Folders called Users and program data on D first(and am not sure if I deleted before script ran), got distracted came back an ran script but I deleted Users and Program folder without even testing if.....well it seemed easy so I thought I would do a fresh install and do it again to make sure and got error script is already running (this may have had to do with the fact I forgot to take out usb drive with script an note pad commands?) Then forgot with SSD I was suppose to start at forums #22 So reinstalled for like the fourth time and ran it... what I had not knowticed is that my CD drive was D and Data drive was E tried to swich drive letters and run again then swich drive letters reinstall 7 and they come back the same and when I run cd \Windows\Sysprep32\sysprep I get cannot find sysprep or something how do I proceed...How do I Wipe SSD back to factory settings and then can I put in mother board cd and get main drivers on and start again?
My System SpecsSystem Spec
25 Jun 2012   #315

Windows 7 Home Premium 32bit
Specifying target drive

Thank you Kari for a very thorough set of notes. Sorry if my question is basic - I am a complete novice when it comes to xml scripts, audit mode etc. As far as I can see the target drive - D: in your case - is not specified in the script, so is the target drive determined by where you place the xml file? So, I have a logical drive / partition "S:" which I want to house my user profile. Do I simply, load the xml file in the root of "S:" ? (I am aware of changes to the script to state my version of Windows. It is just the target drive I am trying to pin down). Tony
My System SpecsSystem Spec
01 Jul 2012   #316

Windows 7 Ultimatex64

Thanks for the tutorial.
My System SpecsSystem Spec
03 Jul 2012   #317

Windows 7 Home Premium 64bit with SP1, OEM

Should you end up having to reactivate Windows at the end of all this?? It asked for Product Key at some point when I created the temporary account thinking once I was back to my real or actual user account things would be back as they were (i.e., already activated).
My System SpecsSystem Spec
03 Jul 2012   #318

Microsoft Community Contributor Award Recipient


This procedure is as any other Windows installation procedure, you need a valid product key.
My System SpecsSystem Spec
03 Jul 2012   #319
Microsoft MVP

Windows 7 Ultimate X64 SP1

I have just finished up another install using your method Kari and the answer file worked fine. Of course Windows decided to give different drive letters than what I had in the answer file so I had to change them, but all went well, thanks one more time!

Quote   Quote: Originally Posted by piikea View Post
Should you end up having to reactivate Windows at the end of all this?? It asked for Product Key at some point when I created the temporary account thinking once I was back to my real or actual user account things would be back as they were (i.e., already activated).
Anytime you do a repair install or clean install or upgrade, you will have to "reactivate" Windows.
I recommend skipping the key entry during installs and uncheck the box to Activate when I'm Online so you can verify all is working well.
Using a Dell OEM installer is one exception to this.
My System SpecsSystem Spec

 User Profiles - Create and Move During Windows 7 Installation

Thread Tools

Similar help and support threads
Thread Forum
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
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:\ 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 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 05:21.
Twitter Facebook Google+