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

30 Jul 2016   #1100
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by 7of9 View Post
I would just copy and paste from the link you provided, but I get a message saying "that information is oudated and has been archived".
Please tell what link gives you that message?


My System SpecsSystem Spec
.
14 Oct 2016   #1101
ThorsteinO

Win 7 Home Premium x64
 
 
Install Disc Necessary ???

If I already have Win7 installed do I need to have the install DVD in the disc drive to move my user profiles? The script seems to imply that but will it work without it as I am not installing Win7 again?

Thanks,
ThorsteinO
My System SpecsSystem Spec
15 Oct 2016   #1102
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by ThorsteinO View Post
If I already have Win7 installed do I need to have the install DVD in the disc drive to move my user profiles? The script seems to imply that but will it work without it as I am not installing Win7 again?

Thanks,
ThorsteinO
Hi Thorstein, welcome to Seven Forums.

No, you can remove the CPI Source line from answer file. I've highlighted the part that can be left out / removed in this sample answer 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" 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 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Kari
My System SpecsSystem Spec
15 Oct 2016   #1103
ThorsteinO

Win 7 Home Premium x64
 
 
Thanks

Thanks I'll give that a try
My System SpecsSystem Spec
.

18 Oct 2016   #1104
zwitterion42

Windows 7 Home Premium 64bit
 
 

Had to make an account to tell you thanks so much for this information! I Googled for a couple hours trying to remember how I set up my SSD and HDD a year ago and couldn't remember. Finally found this and it was so painless, fast and easy thanks so much! Once I did this it brought back up my old desktop from my HDD. I had to reinstall Windows 7 on my SSD. Had already installed it before I found this and just followed your instruction to get it to audit mode through cmd, run the script (without the cpi line), create the test account and it worked like a charm. Thanks again for your time put in to this and helping others!
My System SpecsSystem Spec
18 Oct 2016   #1105
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by zwitterion42 View Post
Had to make an account to tell you thanks so much for this information!
You are welcome

It is always nice to get positive feedback, especially from users like you who join us just to be able to say thanks. I appreciate it.

A bookmark to save for the day that will eventually (probably?) come in the future for you, too, here's the same tutorial written for Windows 10: Users Folder - Move Location in Windows 10 - Windows 10 Forums

Kari
My System SpecsSystem Spec
21 Oct 2016   #1106
zwitterion42

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Kari View Post
You are welcome

It is always nice to get positive feedback, especially from users like you who join us just to be able to say thanks. I appreciate it.

A bookmark to save for the day that will eventually (probably?) come in the future for you, too, here's the same tutorial written for Windows 10: Users Folder - Move Location in Windows 10 - Windows 10 Forums

Kari
Oh awesome! I'll be using that probably this weekend! I wasn't expecting to go back to 10, but I decided to upgrade again so I will be using this thanks! Weird enough it seems in the upgrade to 10 it moved my ProgramData back from my HDD to the SSD where the OS is. On another note - do I need to clear my HDD and will the Users folder get overwritten in the move? I see your quote here on that page:

"If upgrading from Windows 7 with not only the Users folder but also the ProgramData folder relocated, you have to move the folders back to C: drive before upgrading. as told below. This is not necessary if the ProgramData folder is not relocated."

I believe you also noted to have a cleared Users folder on the HDD? Thanks for all your help.
My System SpecsSystem Spec
22 Oct 2016   #1107
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by zwitterion42 View Post
I believe you also noted to have a cleared Users folder on the HDD? Thanks for all your help.
No users folder at all on target drive, it will be created when you run Sysprep.

This quote from post at this same tutorial at Ten Forums:

Quote:
Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by everway9 View Post
Does the partition that I want the 'Users' folder to be located on HAVE to be empty? Will the method(s) described erase existing data on the selected partition?
It does not have to be empty but it may not contain any system files or folders from any Windows installation.


Quote   Quote: Originally Posted by everway9 View Post
It's just that if at all possible I'd like to have the 'Users' folder on the same partition as my Videos, Documents, Music and Picture folders are on.
If you have used Settings app to change storage location for the folders you mentioned, then these must be removed before you use Sysprep to relocate Users folder. See above what I said about system files or folders.


Quote   Quote: Originally Posted by everway9 View Post
If I'm dual booting two Windows 10 installs can I have both installs using the same 'Users' folder or will this cause problems.
No.

Again, see above what I said about system files and folders: the target drive may contain other folders created by user or third party apps, but it may not contain any system files and folders from any other Windows installation, be it from previous Windows installations on the same machine or from other installations.

Quote   Quote: Originally Posted by everway9 View Post
I know that I can use the same documents, music, video etc folders for both OS's (because I am doing) so I was wondering if the same would apply for App data folders?
No. See all above.
Original post: Users Folder - Move Location in Windows 10 - Page 80 - Windows 10 Forums

Kari
My System SpecsSystem Spec
23 Oct 2016   #1108
ThorsteinO

Win 7 Home Premium x64
 
 
Problem running sysprep

I get an informational alert but it wont run sysprep. When I click OK nothing happens.
Maybe I'm more of a Noob than I thought. Any help would be appreciated.

Sysprep

USAGE: sysprep.exe [/quiet][/generalize][/audit][/oobe][/reboot][/shutdown][/quit][/unattend:<filename>]

If no command-line arguments are provided, a graphical user interface is used to select the desired mode of sysprep operation.

OK
My System SpecsSystem Spec
24 Oct 2016   #1109
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by ThorsteinO View Post
I get an informational alert but it wont run sysprep. When I click OK nothing happens.
Maybe I'm more of a Noob than I thought. Any help would be appreciated.

Sysprep

USAGE: sysprep.exe [/quiet][/generalize][/audit][/oobe][/reboot][/shutdown][/quit][/unattend:<filename>]

If no command-line arguments are provided, a graphical user interface is used to select the desired mode of sysprep operation.

OK
I have no idea what you are talking about, maybe you could try to post some more details.

Yes, if no arguments and switches are given to sysprep command it just opens this:
User Profiles - Create and Move During Windows 7 Installation-2016-10-24_23h24_32.png
Clicking OK starts sysprep with selected system cleanup action and shutdown options.


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 07:30.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App