User Profiles - Create and Move During Windows 7 Installation


  1. Posts : 5
    Windows 7 Pro x64 SP1
       #1120

    Hi Kari,
    I have tried various files without the <Display> section with the same results.
    The <Display> section is superfluous, but it was present in the version I used in the successful installation. Sysprep just ignored it. Here is the corresponding section from the setupact.log of the previous, successful installation:
    Code:
    2012-12-08 12:41:52, Info                         [Shell Unattend] Running 'oobeSystem' pass
    2012-12-08  12:41:52, Info                         [Shell Unattend] Display:  Requested Display Settings [1280 x 768, 32 bpp, 0 hz]
    2012-12-08  12:41:52, Warning                      [Shell Unattend] Display:  ChangeDisplaySettings(all) failed (-2), trying separate parts... 
    2012-12-08 12:41:52, Warning                      [Shell Unattend] Display: Attempt to set width & height failed. (-2)
    2012-12-08 12:41:52, Warning                      [Shell Unattend] Display: Attempt to set bits per pixel failed. (-2)
    2012-12-08 12:41:59, Info                         [Shell Unattend] FolderLocations: Moved 'C:\Users' to 'd:\Users' 
    2012-12-08 12:41:59, Info                         [Shell Unattend] FolderLocations: 'ProfilesDirectory' set to 'd:\Users' 
    2012-12-08 12:41:59, Info                         [Shell Unattend] FolderLocations: 'Public' set to 'd:\Users\Public' 
    2012-12-08 12:41:59, Info                         [Shell Unattend] FolderLocations: 'Default' set to 'd:\Users\Default' 
    2012-12-08 12:41:59, Info                         [Shell Unattend] FolderLocations: 'ProfileImagePath' set to 'd:\Users\test' 
    2012-12-08  12:41:59, Info                         [Shell Unattend]  FolderLocations: 'ProfileImagePath' set to 'd:\Users\Administrator' 
    2012-12-08 12:42:04, Info                         [Shell Unattend] FolderLocations: Moved 'C:\ProgramData' to 'd:\ProgramData' 
    2012-12-08 12:42:04, Info                         [Shell Unattend] FolderLocations: 'ProgramData' set to 'd:\ProgramData' 
    2012-12-08 12:42:04, Info                         [Shell Unattend] Exiting 'oobeSystem' pass with status 0x001f1000
    However, looking at the old setupact.log file revealed my error: I was expecting the <FolderLocations> move to have already taken place when I rebooted to audit mode. However, in your instructions, it doesn't take place until the final restart exits from Audit Mode, as you suggested above. Thanks for your help!
      My Computer


  2. Posts : 1
    64 bit
       #1121

    Hi kari, Is there any changes to the latest win 7 version regarding userprofile relocation?
    followed your guide for win 7 x64 september 2017 but nothing changes, here's my xml
    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:\User</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>
    Dont see anything strange on Logfile either : setupact.log - Google Drive

    DISM command shows ULTIMATE as well, so i can't figure out what i missed..

    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0
    
    Details for image : G:\sources\install.esd
    
    Index : 1
    Name : Windows 7 ULTIMATE x64
    Description : Windows 7 ULTIMATE
    Size : 16,966,825,417 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : acpiapic
    Version : 6.1.7601
    ServicePack Build : 23889
    ServicePack Level : 1
    Edition : Ultimate
    Installation : Client
    ProductType : WinNT
    ProductSuite : Terminal Server
    System Root : WINDOWS
    Directories : 19180
    Files : 92447
    Created : 11/21/2010 - 11:39:25 AM
    Modified : 9/18/2017 - 3:12:07 PM
    Languages :
            en-US (Default)
    
    The operation completed successfully.
      My Computer


  3. Posts : 1
    Windows 7 Ultimate
       #1122

    Kari said:

    [...]

    Now continue from beginning of page 4 in tutorial, and follow the steps described.

    Kari
    It would be really helpful if this message could be amended to read "beginning of page 4 in the PDF version of the tutorial". I spent hours today studying page 4 of this thread and it was only when I thought to visit page 1 that I realised that page 4 referred not to the thread but to the 8pp PDF instructions.
      My Computer


  4. Posts : 12
    Windows 7 Enterprise x64
       #1123

    Thanks to Kari, I've successfully done this years ago. I liked it very much.
    A simple more straightforward way is just to cut files which are saved in Windows default folders, then copy to wherever is more preferred. I did this in Win10 and now do this in Windows 11. Been awhile since my last sip of of Laphroaig though.

    But I'm the only user on my PC. If you have more than one user profile, then moving 'User Profiles' to another drive with Kari's excellent method might be the best idea.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 06:58.
Find Us