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

24 Apr 2013   #640
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Quote   Quote: Originally Posted by tacenator View Post
Quote   Quote: Originally Posted by Britton30 View Post
You raise some good questions and suggestions Tom. However, I don't understand this part in the snip below. I've use this answer file 3 times with no issues.

Attachment 265402
You must have had the drive you were moving the folders to be the d drive in that case. If you assign any other drive letter to the "target" drive for moving the folders, then you need to edit that line in the answer file.

Regards,

Tom
Oh, no it was different, but Kari covered that below the text.
Ohh, never mind, I see the new directory change isn't covered, but I figured I had to change it, to H:\ in my case.


My System SpecsSystem Spec
24 Apr 2013   #641
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

I will rewrite it in a next few days.
My System SpecsSystem Spec
25 Apr 2013   #642
Arnie714

Buenos Aires
 
 

Hi ! first post and question. First of all, thanks a LOT for making this tutorial, it shows some really good stuff to improve your system using a SSD expanding his life and most of all, not degrading his perfomance with all the temp files and cache of browsers etc... But, i have a strange problem... i can install the SO without any issues, appdata and programdata folder in E: sysprep working fine, its all perfect. The issue comes with the use. It is the change of the boot time it takes to starts windows. At first is 100 % fast as it have to be. when i install the updates of windows 0 problems. It comes any time when i install the programs i use. It boots fines without issues, but when it says starting windows and the flag comes up with the 4 colours it stucks for 10 or 15 seconds !! WTF !!??? and always it never finish to form the window that its going to the screen of starting session with the light blue wallpaper. What can be the cause of this ?? when i moved the appdata folder with the windows already installed i had the same problem, i thought in this way with the fresh install it couldnt happen, but it did. Any help will be really appreciated and again Thanks a lot for the good work and time dedicated
My System SpecsSystem Spec
25 Apr 2013   #643
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Hi Arnie, welcome to the Seven Forums.

When you move Appdata (in Users folder) and ProgramData to a normal HDD instead of SSD, the boot time will of course be longer.

It's your choice: If you want to boot faster, you need to keep all system folders on SSD. If you are OK with a slower boot then you can use the method told in this tutorial and relocate Users and ProgramData.

Kari
My System SpecsSystem Spec
25 Apr 2013   #644
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

for reference I have a setup as per this tutorial and my boot times, from hitting the Restart Button till the desktop is active, ranges from 54-62 seconds. With my other spinner only system it is 215-228 seconds.
My System SpecsSystem Spec
28 Apr 2013   #645
jpolika

Windows 7 Professional 64 bit
 
 
Error when following relocate instructions during win 7 instalation

I followed the instructions penned by Kari for relocating user and program data folders during a new install of win 7 prof. All went well up to the point of running relocate.xml. The computer rebooted back in audit mode and then I hit ok making sure cleanup action and shutdown action were as instructed. The computer rebooted and then displayed the following error message: "Windows could not parse or process unattend answer file [C:\Windows\Panther\Unattend.xml] for pass [oobesystem]. The answer file is invalid."
When I closed the dialogue box the machine rebooted with the following error message: "Windows could not complete the installation. To install Windows on this computers restart the instalation."
When I closed the dialogue box the computer rebooted with the same error message and keeps on doing so.
I did another completely fresh clean install after formatting the hard drive on which I am doing the install with the same result.
Has anybody a solution?

Jpolika
My System SpecsSystem Spec
28 Apr 2013   #646
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Your error message tells the reason, there is an error in your answer file. Most typical errors are, forgetting typos:
  • The partition to relocate folders does not exist
  • Install.wim path is wrong
  • Processor architecture is wrong
Please post the answer file you used here.

Kari
My System SpecsSystem Spec
06 May 2013   #647
jpolika

Windows 7 Professional 64 bit
 
 
Error when following relocate instructions during win 7 instalation

Thanks for the reply. My new computer is 100 miles north without internet connection thus the delay.

The following is the relocate.xml file I used:

<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">-<settings pass="oobeSystem">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMlConfig/2002/State" versionScope="nonSxS" publicKeyTokens="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">-<FolderLocations><ProfilesDirectory>d:\Users</ProfilesDirectory><ProgramData>d:\ProgramData</ProgramData></FolderLocations></component></settings><cpifflineimage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:G:/sources/install.wim#Windows 7 Professional"/></unattend>

This was the result in the Panther subdirectory, the unattend.xml file:

<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">-<settings pass="oobeSystem">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMlConfig/2002/State" versionScope="nonSxS" publicKeyTokens="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">-<FolderLocations><ProfilesDirectory>d:\Users</ProfilesDirectory><ProgramData>d:\ProgramData</ProgramData></FolderLocations></component></settings><cpifflineimage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:G:/sources/install.wim#Windows 7 Professional"/></unattend>

G: is the directory where Windows install disk is located.
The new machine is an has an I7 CPU, C: is on a 256 SSD drive and D: is a 4T drive that is fully recognized.

Jpolika
My System SpecsSystem Spec
06 May 2013   #648
Kari

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Quote   Quote: Originally Posted by jpolika View Post
Thanks for the reply. My new computer is 100 miles north without internet connection thus the delay.

The following is the relocate.xml file I used:
...
...
Please use Code tags [CODE]Your code here[/CODE] when posting scripts and code!

OK, although difficult to read as you posted it, there's clearly a major typo in your script, a variable should be PublicKeyToken, you have it written PublicKeyTokens. Also, the component name(*) and processor architecture variables are wrongly based, they must be written in correct order.
Component sentence in your answer file looks like this:

Code:
<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMlConfig/2002/State" versionScope="nonSxS" publicKeyTokens="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
See the difference, it should be and is written in tutorial like this (red text = wrongly placed or written in your answer file):
Code:
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Other than that the syntax seems to be OK.

Kari


(*) = Components and configuration passes, see explanation in part 1 of this tutorial: System Preparation Tool - Use to Customize Windows.
My System SpecsSystem Spec
12 May 2013   #649
jpolika

Windows 7 Professional 64 bit
 
 
Create and Move During Windows 7 Installations

Thanks for the reply Kari. I am back up north with a backup computer with a slow Internet connection. I still have problems.

This is my relocate xml file:

Code:
<?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" publicKeyTokens="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>d:\Users</ProfilesDirectory>
<ProgramData>d:\ProgramData</ProgramData>
</FolderLocations>
</component>
</settings>
<cpi:offlineimage cpi:source="wim:G:/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
It was stored in D: and the Windows 7 install disck was in G:. I then changed directories to Sysprep and ran it in audit mode using the following command as instructed:

Code:
 sysprep.exe /audit /reboot /unattend:D:\relocate.xml
It script ran and I was brought back in audit mode to the the screen set out in the tutorial with the System Preparation Tool 3.14 screen. At that point I checked to see the state of the Panther subdirectory. Added to the subdirectory was the following unatten.xml file:

Code:
<?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" publicKeyTokens="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>d:\Users</ProfilesDirectory>
<ProgramData>d:\ProgramData</ProgramData>
</FolderLocations>
</component>
</settings>
<cpi:offlineimage cpi:source="wim:G:/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
As instructed to continue bthe windows instalation I exited audit mode ensuring that the system clenup action showed "Enter System Out-of-Box Experience (OOBE)" and shutdown options "reboot". The computer did its thing and rebooted with the following Install Windows message:

"Windows could not parse or process unattend answer file {C:\Windows\Panther\unattend.xml] for pass [oobe System]. The answer file is invaled."

I then pressed the "OK" button. The system rebooted and then came up with the following Install Windows message:

"Windows could not complete this installation. To Install Windows on this computer, restart the installation."

I then pressed the "OK" button and the computer restarted with the same message. I then attempted an installation but it starts with a choice of repair or a new instalation. The new instalation restarts the same cycle. Repair was of no use but gave me the DOS prompt. I checked the unattend.xml file in the Panthe subdirectory and it had changed as follows:

Code:
<?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" publicKeyTokens="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>d:\Users</ProfilesDirectory>
<ProgramData>d:\ProgramData</ProgramData>
</FolderLocations>
</component>
</settings>
<cpi:offlineimage cpi:source="wim:G:/sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineimage>
</unattend>
The second last line changed by deleting "/" at the end and a new line was added thereafter "</cpifflineimage>" before the last line.

Any suggestions as I am stymied.

J. Polika
My System SpecsSystem Spec
Comment

 User Profiles - Create and Move During Windows 7 Installation




Tutorial Tools



Similar help and support threads for2: User Profiles - Create and Move During Windows 7 Installation
Windows 7 Tutorial Category
How to move Thunderbird/Firefox profiles to Truecrypt Drive properly? Browsers & Mail
Firefox - Create and Run Multiple Profiles Tutorials
User Profiles General Discussion
Solved user profiles General Discussion
New to Win7 move User profiles or use Libraries? General Discussion
user profiles 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 01:38 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App