Local accounts and custom default profile

Author Message
balubeto

  • Total Posts : 6
  • Scores: 0
  • Reward points : 8990
  • Joined: 5/30/2010
  • Status: offline
Local accounts and custom default profile Thursday, August 09, 2012 6:31 AM (permalink)
0
Hi

After reading the http://support.microsoft.com/kb/973289 article, I created these two files:
For Windows 7 SP1 32-bit:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x32" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="[URL]http://schemas.microsoft.com/WMIConfig/2002/State[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/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>

 
For Windows 7 SP1 64-bit:
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="[URL]http://schemas.microsoft.com/WMIConfig/2002/State[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/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>

It is possible to merge the two xml files or not?
It is possible to create an xml file also valid for any edition?
In an installation of Windows 7 SP1, there is the install.wim or I must always specify its source path?
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
balubeto
 
#1
    balubeto

    • Total Posts : 6
    • Scores: 0
    • Reward points : 8990
    • Joined: 5/30/2010
    • Status: offline
    Re:Local accounts and custom default profile Friday, August 10, 2012 5:43 AM (permalink)
    0
    I created the CopyProfile.xml file:
    <?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="http://schemas.microsoft.com/WMIConfig/2002/State"][COLOR=#0000aa]http://schemas.microsoft.com/WMIConfig/2002/State[/COLOR][/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"][COLOR=#0000aa]http://www.w3.org/2001/XMLSchema-instance[/COLOR][/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="http://schemas.microsoft.com/WMIConfig/2002/State"][COLOR=#0000aa]http://schemas.microsoft.com/WMIConfig/2002/State[/COLOR][/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"][COLOR=#0000aa]http://www.w3.org/2001/XMLSchema-instance[/COLOR][/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
    balubeto
     
    #2
      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 3 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2013 ASPPlayground.NET Forum Version 3.9