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

29 Jun 2013   #680
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Ahh, OK, thanks Kari. Never thought of that.
Since I install from a thumb drive it can also be named as I wish to find the wim file?


My System SpecsSystem Spec
.
29 Jun 2013   #681
Kari

Microsoft Community Contributor Award Recipient

 

Yes.

My procedure, not saying it is the only correct way but works for me:
  • Entering Audit Mode, I disconnect all external drives
  • Now using Disk Management I create partitions on internal disks and change their drive letters according to my own system as told here in Part 1
  • One by one I connect all external drives checking that they get the drive letter I want to and changing it if needed, even inserting a memory card to every card slot to do the same
My System SpecsSystem Spec
29 Jun 2013   #682
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Yup, I have a card reader too and it was fouling things up, so sometimes when the flash drive was inserted it was G other times F. This should help in the future.
Your methods may not be "correct" but do work well and reliably.
My System SpecsSystem Spec
03 Jul 2013   #683
nonosto

Windows 7 Ultimate x64
 
 

Dear

I success to install users in D partition. I would like know the procedure to format and re install in C Windows, and save all my users folder with all link and date (spreadsheet, movie, picture ...).

Thank you

PS: Some of software like antivir, shortcut desktop and programmes doesnot exist.
My System SpecsSystem Spec
.

04 Jul 2013   #684
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

Quote   Quote: Originally Posted by nonosto View Post
Dear

I success to install users in D partition. I would like know the procedure to format and re install in C Windows, and save all my users folder with all link and date (spreadsheet, movie, picture ...).

Thank you

PS: Some of software like antivir, shortcut desktop and programmes doesnot exist.
If you read the tutorial nonosto it will tell you there are several sub tutorilas at the bottom for transferring the stuff you want to.

As for reinstalling the OS after you have saved the stuff you want and disconnected the other drive use this USB Windows 7 Installation Key Drive - Create you can see you can do it with a DVD as well.
My System SpecsSystem Spec
11 Jul 2013   #685
7squid

Win 7 64-bit Home Premium
 
 

Hey Kari/guys,

New user but have been following this forum for quite some time and have found it very useful, so good work and thanks to all. I'm assuming this is the correct place to post as it relates to an error I've received whilst using the relocation script.

I'm in the process of setting up a new 64-bit Win 7 Pro install onto an older, newly formatted SATA HDD as a backup machine and am moving the users, program files (incl. x86) and programdata folders to the D: partition of the drive. System spec is a Celeron D, 2GB DDR2 (for now), Seagate SATA I (?) HDD, Radeon 800GT, Asus P5B.

I'm at the stage of the install where Windows is asking for country/region the second time around, after I've run the script to move the users and programdata folders in audit mode. The script has worked fine in the past for my Home Premium retail CD when installing that version but this time I've removed the ei file from the files on the CD and used wintoflash to copy across to a bootable SD card, so I can install Pro with the relevant key (can't find the disc).

Anyway, the process is going fine as before, until the point where I open a cmd line and try to robocopy the programdata folder over to check it's moved correctly, whereupon the command prompt copies some files that evidently either didn't get moved or were just created, then gives the message "The requested operation cannot be performed on a file with a user-mapped section open". I have no idea why this is occurring, but it seems to be related to files in the Microsoft/Search/Caches folder with long alphanumeric strings for names.

I have disconnected the data drive, the license key IS valid but hasn't been needed at this stage of the install yet, so that's not an issue and I've pulled out all hubs, multi-card readers etc. so only the C:, D: and F: (USB) drives are seen by the PC. As I say, I've not had this issue before and the only difference this time is that I'm installing from USB.

I also thought of this question - if I'm moving all the relevant folders to D: and need to one day reinstall over C:, will the programs need to be reinstalled regardless, as it will be a new registry on C:? And if so, is it possible to either backup and restore the registry post-fresh reinstall over C:, or even to do the same but with individual reg keys to get the programs to work again without reloading them?

Sorry for such a long post - grateful if anyone can help with this.
My System SpecsSystem Spec
15 Jul 2013   #686
Kari

Microsoft Community Contributor Award Recipient

 

Hi 7squid, welcome to the Seven Forums.

I do not understand that with RoboCopy? Please keep in your mind that after the relocation, the C: still have the original Programdata and Users folders. Although they remain almost empty, the folders should not be emptied and deleted manually as some programs and applications are not coded correctly, using absolute folder locations as C:\Programdata and C:\Users instead of environment variables. Read more here: User Profiles - Create and Move During Windows 7 Installation

After reinstall you need of course do relocating again. If and when doing this, remember that the target drive cannot have any system folders from previous Windows installs, so if using the same drive as target as with previous Windows install you need to backup your personal files folders and wipe & format the drive before running the sysprep to relocate folders.

Kari
My System SpecsSystem Spec
15 Jul 2013   #687
7squid

Win 7 64-bit Home Premium
 
 

Hi Kari,

Thanks very much for coming back to me - the more I get into this, the more I find out.

Referring to your comment about poorly-coded apps using the absolute location, won't the existence of junction points (mklink /j "c:\programdata" "d:\programdata") actually redirect those apps? That's the way it seems to be working.

Interesting what you say about the D: drive needing to be clear prior to a rescue reinstall though. In this case, would it be better (although possibly longer-winded) to just delete the newly-reinstalled programdata and users folders from C: and just add the junction points redirecting to the older folders on the D: drive? How would this affect the registry and could you just restore a reg backup?
My System SpecsSystem Spec
15 Jul 2013   #688
Kari

Microsoft Community Contributor Award Recipient

 

You asked about reinstalling, not repair (rescue) installing:

Quote   Quote: Originally Posted by 7squid View Post
I also thought of this question - if I'm moving all the relevant folders to D: and need to one day reinstall over C:, will the programs need to be reinstalled regardless, as it will be a new registry on C:? And if so, is it possible to either backup and restore the registry post-fresh reinstall over C:, or even to do the same but with individual reg keys to get the programs to work again without reloading them?
Reinstall is a new installation; when relocating system folders by sysprepping, the target drive must not contain any system folders from any current or previous installations or the sysprep fails.

Repair installation (= in-place upgrade installation to the same version and edition) should work without any issues also when Programdata and Users are relocated on a non-default location.

I do not recommend, nor do I see any benefit using links and junctions together with sysprepped / relocated system folders.

Kari
My System SpecsSystem Spec
16 Jul 2013   #689
7squid

Win 7 64-bit Home Premium
 
 

Ah, sorry - my bad. Was talking generally and forgot there are two ways to reinstall. I did mean the completely new reinstall (but in my head I was repairing/rescuing an existing one by wiping the slate clean and starting again). Thanks for replying with both in mind though.

Quote:
Interesting what you say about the D: drive needing to be clear prior to a rescue reinstall though. In this case, would it be better (although possibly longer-winded) to just delete the newly-reinstalled programdata and users folders from C: and just add the junction points redirecting to the older folders on the D: drive? How would this affect the registry and could you just restore a reg backup?
What were your views on this, though? I was coming at it from the angle of having sysprepped an installation, needing to reinstall but for whatever reason having no means of clearing the D: drive, so instead reinstalling normally but then replacing a sysprep & clean D: with the junctions & existing D:. Still a no?
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