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

14 Dec 2012   #450
Kari

Microsoft Community Contributor Award Recipient

 

Sysprep can be run again using this answer file, for instance if you want / need to move Users and ProgramData back to default locations on C: you just edit the answer file respectively. Just change the FolderLocations values back to default like this:
Code:
<FolderLocations>
<ProfilesDirectory>C:\Users</ProfilesDirectory>
<ProgramData>C:\ProgramData</ProgramData>
</FolderLocations>
Boot to Audit Mode, run Sysprep with edited answer file and that's it.

Kari


My System SpecsSystem Spec
.
14 Dec 2012   #451
frodi

Windows 7 Home Premium 64 bit
 
 

Thanks Kari.
My System SpecsSystem Spec
14 Dec 2012   #452
frodi

Windows 7 Home Premium 64 bit
 
 

Do I have to run the whole script again? I got a fatal error when starting at the beginning of the script. I started with your advice on message 22. C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot,

Should I have put D:\ instead of C:\

Sorry to sound so dense.
My System SpecsSystem Spec
15 Dec 2012   #453
Kari

Microsoft Community Contributor Award Recipient

 

My previous post might have been a bit confusing: Yes, every time you run sysprep with an answer file (= script) it has to meet requirements for an answer file. It is not enough to make an answer file that only contains FolderLocations tags.

An answer file has so called tags to tell sysprep what kind of information it contains. Tags are like names for certain procedure, to mark where it starts and finishes. The start tag is written in between less than ( < ) and greater than ( > ) brackets: <TAGNAME>. The closing tag also contains a slash sign ( / ) to mark end of the tag: </TAGNAME>.

For this relocation task an answer file has to have FolderLocations tags in between Component tags, which have to be in between Settings tags which have to be in between Unattend tags.

Sounds complicated? The structure of an answer file:

<UNATTEND>
<SETTINGS>
<COMPONENT>
<FOLDERLOCATIONS>
</FOLDERLOCATIONS>
</COMPONENT>
</SETTINGS>
</UNATTEND>

The same a bit more graphical:

User Profiles - Create and Move During Windows 7 Installation-answerfile_syntax.png
(Click to enlarge.)

This answer file can be used in both locating Users and ProgramData to a new non-default location as well as in moving said folders back to default location on C: as told in my previous post.

Kari


My System SpecsSystem Spec
.

15 Dec 2012   #454
frodi

Windows 7 Home Premium 64 bit
 
 

Thanks Kari. It all started fine, but when the Sysprep cleanup phase was running, I got another fatal error. So it did not finish. Perhaps I should leave things as they are.

I am trying to activate an intercept dll. (from Geert de Peuter) to Corel Painter X. However, since I redirected the User Accounts to another drive, I cannot access the C drive, which is the SSD, which of course holds the Program Files (x86). I do not know of another way to activate this dll.
My System SpecsSystem Spec
16 Dec 2012   #455
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

I installed my Os this way and I can access my C drive. You must have another issue. I have two rigs setup using Kari's answer file and both C drive are accessible.
My System SpecsSystem Spec
16 Dec 2012   #456
frodi

Windows 7 Home Premium 64 bit
 
 

Hi Britton, so how exactly do you access the c drive?
My System SpecsSystem Spec
16 Dec 2012   #457
Kari

Microsoft Community Contributor Award Recipient

 

Could you please describe what are you trying to do on C: drive, and what do you mean by saying you can't access it?

Kari
My System SpecsSystem Spec
16 Dec 2012   #458
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Quote   Quote: Originally Posted by frodi View Post
Hi Britton, so how exactly do you access the c drive?
I open Computer, see the Cdrive, double click and it opens and shows files on it.
My System SpecsSystem Spec
16 Dec 2012   #459
frodi

Windows 7 Home Premium 64 bit
 
 

Hi Kari, since I changed the Users Account, according to your excellent tutorial, when I do a cmd I get the D drive. I need to activate an intercept dll. to Corel Painter X. For that I need the C drive.

However, I thought that if I could undo the Users Account, then all would be back to normal and I could then access the C drive with a cmd.

Is there a reason why the Sysprep cleanup phase, which was running, returns a fatal error?
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 17:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App