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

19 Nov 2011   #150
Kari

Microsoft Community Contributor Award Recipient

 

@Ibex

Yes, the old ProgramData stays on C:. Read post #30 in this thread for better explanation: User Profiles - Create and Move During Windows 7 Installation

Would you like to tell how did you resolve your update / reboot issue as told in your previous post?

Kari


My System SpecsSystem Spec
.
20 Nov 2011   #151
ibex

Windows 7 Pro 64 SP1
 
 

Quote   Quote: Originally Posted by Kari View Post
@Ibex

Yes, the old ProgramData stays on C:. Read post #30 in this thread for better explanation: User Profiles - Create and Move During Windows 7 Installation

Would you like to tell how did you resolve your update / reboot issue as told in your previous post?

Kari
Sure - the reboot itself was doing no good. Sysprep just wouldn't run. Looking at posts on another forum I found someone who had the same problem so I tried what he did. I uninstalled solitaire and then installed it. The process of uninstalling and then installing (in the example I followed he did the reverse, he installed and then uninstalled) seems to have reset whatever flag was showing that a reboot was required.
After that Sysprep worked perfectly. I had to run Sysprep several times before I got the final result but it worked perfectly every time.

I now have everything working as I wanted it. I have also moved program files (I know it's not recommended but my SSD is way to small to leave it on there) I also used links at the NTFS level to redirect them from C: to E: so far its working fine.
My System SpecsSystem Spec
20 Nov 2011   #152
Kari

Microsoft Community Contributor Award Recipient

 

Thanks for the info, Ibex. That is really interesting.

Kari
My System SpecsSystem Spec
20 Nov 2011   #153
readyrover

Win 7 HomePremium 64bit
 
 
Flawless for me

Kari,
Thanks for your devotion to your craft.

I did your tutorial yesterday and it went off without a hitch. Only "problem" was user error hitting enter instead of backspace while at command prompt...lol.

I have a 60G SSD and a 500G data drive. Have been downloading and installing many Gigs of music software since and have had no glitch or problem. User folder is living on E: and filling up the 500G drive while my 60G ssd is sitting around 29G and only growing by a few small Mb here and there.

The only thing I wonder about is backing up. Do you have any suggestions on that part of the process? I am still reading and absorbing "audit mode" and am curious about junctions as well so I will monitor this thread from time to time.

Once again, thank you so much for the invaluable information!

Readyrover
My System SpecsSystem Spec
.

24 Nov 2011   #154
derryvolgie

xp 32
 
 
User Folder refusing to move

hi Kari,

Thanks to you for staying with this and supporting everyone,
My query may be too vague but I hope you can give some general advice. I am trying a new install on a Fuji-Siemens laptop with a 320Gb drive with a 45Gb C partition and a 225Gb D partition.

As far as i can tell i have done everything you suggest. Sysprep seems to run and the laptop reboots. But when I look on the D drive when still in audit or after OOBE reboot and log-on, the user folders do not appear on D and can only be found on C drive. I get no error messages during the Sysprep procedure and a progress bar appears briefly and looks like the one in your tutorial just before the laptop re-boots.

I would be grateful if there are any obvious problems you or others can suggest - (I have changed settings - x86, PROFESSIONAL, "E" for cd drive in the .XML file)
I have run the procedure on many occasions but the User folder just does not appear on D drive.

Thanks
Martin
My System SpecsSystem Spec
25 Nov 2011   #155
Kari

Microsoft Community Contributor Award Recipient

 

Hi Martin, welcome to the Seven Forums.

The folders are not moved before the computer is booted in OOBE (Out Of the Box Experience) mode. As long as you stay in Audit Mode or reboot to Audit Mode, nothing is done except some preparations; sysprep runs the script preparing computer to be started normally in Welcome / OOBE mode, and only then are the folders created / moved to the new address.

So, after running the script and when computer has booted back to Audit Mode, exit Audit Mode rebooting normally to OOBE as told in tutorial. You should select the SysPrep options as in this screenshot:

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

When you then log in first time to Windows normal mode, you should see the new folders on location you selected.

Kari


My System SpecsSystem Spec
25 Nov 2011   #156
derryvolgie

xp 32
 
 

Hi Kari,

Thanks for the advice about the folders not moving till I boot into normal mode. That saves me looking unnecessarily.

Unfortunately the folders do not appear on D drive even after I boot normally. I have tried the routine several times doing a new install of Windows 7 each time. For the latest attempts I have been following your routine for when W7 is already installed. I will paste the commands and .xml script I have used.

Before doing that I would just add that everything seems to run as expected - eg a progress box saying Sysprep is doing something appears for a few seconds and the laptop reboots. There are no error messages. The only difference to what you describe is that when I set up windows as if a "new install", I am asked to provide a user name and password. I am then taken directly into the new account with no chance to choose my original login. When I reboot again, I am then offered the choice of original or old. Anyway, the main concern is that the User folder(s) have not moved from C to D.

These are the command prompts and the xml script I have used. F is the drive letter for the USB memory stick but I had similar results placing the xml on D drive. The Windows 7 install dvd is in the E drive

1) During install I used cd \Windows\System32\Sysprep

if booting into audit from already installed I used command prompt as administrator and C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot then I used cd \Windows\System32\Sysprep

2) Next I used Sysprep.exe /audit /reboot /unattend:F:\relocate.xml

3) This is the "relocate.xml" script (saved with word wrap off) -

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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" 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:E:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
I would be very grateful if you can spot any stupid mistakes I am making or have any ideas, I am playing with this first W7 install to check which of my XP programmes work on W7 before doing a final install "for keeps"

Thanks,
Martin
My System SpecsSystem Spec
25 Nov 2011   #157
derryvolgie

xp 32
 
 

Hi Brink,
Thanks for the edit and sorry I didn't know about keeping smileys at bay with code boxes!
Martin
My System SpecsSystem Spec
30 Nov 2011   #158
vict555

Windows 7 Ultimate 64 bit
 
 

Hey all, I am having the same issue as above Xosder in post 144. and derryvolge in post 156

-I installed the OS on my new SSD, C: drive
-my old hard drive, 1 TB with Windows 7 pro 32 bit still installed on it is F:
-my DVD drive is E:

my unattended.xml file contains:
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"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations> <ProfilesDirectory>f:\Users</ProfilesDirectory> <ProgramData>f:\ProgramData</ProgramData>
</FolderLocations> </component>
</settings>
<cpi:offlineImage cpi:source="wim:E:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
In bold are the changes I made to the script on the tutorial to math my drives

Additionally, I type:
Code:
Sysprep.exe /audit /reboot /unattend:F:\relocate.xml
After running script, computer reboots in Audit mode, then when I exit Audit mode (by clicking OK on OOBE popup) and reboot occurs, I get:

Quote   Quote: Originally Posted by Xosder View Post
"Windows could not parse or process unattend answer file C:\Windows\Panther\unattend.xml for pass oobeSystem"

This only shows up once and then I'm back to the "Windows could not complete the installation. To intall Windows on this computer, please restart the installation" over the "Setup is preparing your computer for first use" screen.
I have looked all over the internet but have not found any solution, any tips will be greatly appreciated!

Thanks
My System SpecsSystem Spec
30 Nov 2011   #159
Kari

Microsoft Community Contributor Award Recipient

 

Sorry geeks, I have been a bit busy and only occasionally checked in here. Now I had some time and checked your scripts.

First, Martin and Vict555, I find no typos or other mistakes in your scripts. If the Windows installation DVD is on drive E: as you both seem to have, if the install media is valid and includes original install.wim on Sources folder, if the destination drive exists, and if the bit version is correct (x86 for Martin and x64 for Vict), then those scripts are as far as I can tell correct.

I am very sorry but I can not explain this. As I have told earlier on this thread, sometimes it just wont work. My saldo at the moment is 16 out of 18 rigs I have done did work, 2 did not. I have done an enormous amount of Googling, Binging, Yahooing, you name it , and I have found no explanation. I suspect it is some Windows service that causes this. I am going to do some extensive testing next weekend trying to find out more.

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 03:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App