Local accounts and custom profile

Discussion in 'Windows 7 Installation' started by balubeto, Aug 4, 2012.

  1. balubeto

    balubeto Well-Known Member

    Joined:
    Apr 27, 2012
    Messages:
    53
    Likes Received:
    0
    Hi

    I have Windows 7 SP1 and I want to create a custom default profile so that, when I will have to create the local accounts, they already will have the custom profile.

    Thanks

    Bye
     
  2. balubeto

    balubeto Well-Known Member

    Joined:
    Apr 27, 2012
    Messages:
    53
    Likes Received:
    0
    After reading the Customize the default local user profile when preparing an image of Windows article, I have some questions:

    1) Where can I find Unattend.xml files already made ​​valid for each version and edition of Windows 7 SP1 to change the default profile using parameter CopyProfile?

    2) I am obliged to enable the Administrator account and configure it or I could use my administrator account, already configured, to run the Sysprep utility?

    Thanks

    Bye
     
    #2 balubeto, Aug 6, 2012
    Last edited: Aug 6, 2012
  3. balubeto

    balubeto Well-Known Member

    Joined:
    Apr 27, 2012
    Messages:
    53
    Likes Received:
    0
    I created the CopyProfile.xml file:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
    <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[URL="[URL]http://schemas.microsoft.com/WMIConfig/2002/State"][COLOR=#0000aa]http://schemas.microsoft.com/WMIConfig/2002/State[/COLOR][/URL[/URL]]" xmlns:xsi="[URL="[URL]http://www.w3.org/2001/XMLSchema-instance"][COLOR=#0000aa]http://www.w3.org/2001/XMLSchema-instance[/COLOR][/URL[/URL]]">
    <SkipRearm>1</SkipRearm>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[URL="[URL]http://schemas.microsoft.com/WMIConfig/2002/State"][COLOR=#0000aa]http://schemas.microsoft.com/WMIConfig/2002/State[/COLOR][/URL[/URL]]" xmlns:xsi="[URL="[URL]http://www.w3.org/2001/XMLSchema-instance"][COLOR=#0000aa]http://www.w3.org/2001/XMLSchema-instance[/COLOR][/URL[/URL]]">
    <CopyProfile>true</CopyProfile>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim://<computerName>/<Source_dir>/install.wim#Windows 7 <Edition>" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    
    and I put it in an USB stick.
    So, I planned to install Windows 7 normally, install the additional drivers, update Windows, go to audit mode with the c:\windows\system32\sysprep\sysprep.exe /audit command, delete the account created during installation, customize the Administrator account. Finally, I run the c:\windows\system32\sysprep\sysprep.exe /oobe /reboot /generalize /unattend:<USB stick unit>:\CopyProfile.xml command to go into OOBE mode. Right? Is there a better way to do this?

    Thanks

    Bye
     

Share This Page

Loading...