Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Ask your Seven xml ? here


  • Please log in to reply
597 replies to this topic

#101
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
TNX maxXPsoft,
Therefore the command will looks like this?
<FirstLogonCommands>  
                <SynchronousCommand wcm:action="add">  
                  <Order>1</Order>  
                  <Description>Office 2010</Description>  
                  <CommandLine>cmd /C for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%a:\%Office2010\Office14.exe% start /Wait  "%%a:\%Office2010\Office14.exe%"</CommandLine>
                </SynchronousCommand>  
           </FirstLogonCommands>
What about the further command <Order>2</Order> <Order>3</Order> ... do the'll looks as normal?

<SynchronousCommand wcm:action="add"> 
                  <Order>2</Order> 
                  <Description>UberPack</Description> 
                  <CommandLine>cmd /C start /wait c:\Install\Win7_UberPacK_v4.exe</CommandLine> 
                </SynchronousCommand> 
                <SynchronousCommand wcm:action="add"> 
                  <Order>2</Order> 
                  <Description>Windows Post Installation</Description> 
                  <CommandLine>cmd /C c:\Windows\Setup\scripts\WPI.exe /Q</CommandLine> 
                </SynchronousCommand>

Regards


How to remove advertisement from MSFN

#102
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
been awhile since I used this so off the top of my head. someone correct me if wrong

You don't want blank spaces in these or you have to add the quote for xml
<Order>1</Order>  
<Description>Set CDROM Variable</Description>  
<CommandLine>cmd /c FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\sources\install.wim SET CDROM=%%i:</CommandLine>

<Order>2</Order>  
<Description>Office2010</Description>  
<CommandLine>cmd /C start /Wait %CDROM%\Office2010\Office14.exe</CommandLine>
any others will use same thing %CDROM%\

Edited by maxXPsoft, 06 April 2011 - 07:58 AM.


#103
dyehardfan

dyehardfan
  • Members
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Is this the place for a noob to ask questions re: Win7 Unattend.xml? I certainly hope so, because I am highly frustrated at the moment and could really use some help figuring this one out.

Background: Using a KACE K2100 Appliance to push out scripted installation of Windows 7 Professional VL MAK. I do not think the method of delivery plays into this, but I could certainly be wrong. Also, I am using a batch script post install to insert the Product Key and commence Activation. The following is the code that I am attempting to use based on the Wizard that is built into the KACE Appliance. When the Install Setup is in it's final stage it prompts for a username and then for a password for that username. I am confused as to what I am missing to make this happen. This is in no way a complete Unattend.xml as I plan to put a lot of other stuff in here, but I want the damned thing to at least run through the most basic of unattended installs with no hiccups before I move forward. I would really appreciate any feedback y'all might have.


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UseConfigurationSet>true</UseConfigurationSet>
      <UserData>
        <AcceptEula>true</AcceptEula>
        <FullName>User</FullName>
        <Organization>Camellia Home Health and Hospice</Organization>
      </UserData>
      <ImageInstall>
        <OSImage>
          <InstallToAvailablePartition>true</InstallToAvailablePartition>
          <InstallFrom>
            <MetaData>
              <Key>/IMAGE/Name</Key>
              <Value>windows 7 professional</Value>
            </MetaData>
          </InstallFrom>
        </OSImage>
      </ImageInstall>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <UILanguage>en-US</UILanguage>
      <SetupUILanguage>
        <UILanguage>en-US</UILanguage>
      </SetupUILanguage>
      <InputLocale>en-us</InputLocale>
      <SystemLocale>en-us</SystemLocale>
      <UserLocale>en-us</UserLocale>
    </component>
  </settings>
  <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <RegisteredOwner>User</RegisteredOwner>
      <RegisteredOrganization>Camellia Home Health and Hospice</RegisteredOrganization>
      <TimeZone>Central Standard Time</TimeZone>
      <AutoLogon>
        <Enabled>true</Enabled>
        <Username>Administrator</Username>
        <Password>
          <PlainText>true</PlainText>
          <Value>P@ssw0rd</Value>
        </Password>
        <LogonCount>3</LogonCount>
      </AutoLogon>
      <ComputerName>*</ComputerName>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <Identification>
        <JoinWorkgroup>Workgroup</JoinWorkgroup>
      </Identification>
    </component>
    <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <RunSynchronous>
        <RunSynchronousCommand wcm:action="add">
          <Path>reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path>
          <Description>Setting Network Location</Description>
          <Order>1</Order>
          <WillReboot>OnRequest</WillReboot>
        </RunSynchronousCommand>
      </RunSynchronous>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
      <OOBE>
        <HideEULAPage>true</HideEULAPage>
        <NetworkLocation>Work</NetworkLocation>
        <SkipMachineOOBE>false</SkipMachineOOBE>
        <SkipUserOOBE>false</SkipUserOOBE>
        <ProtectYourPC>3</ProtectYourPC>
      </OOBE>
      <UserAccounts>
        <AdministratorPassword>
          <Value>P@ssw0rd</Value>
          <PlainText>true</PlainText>
        </AdministratorPassword>
      </UserAccounts>
    </component>
  </settings>
</unattend>


#104
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Are you logging in with Administrator on every machine? you need LocalAccounts even with Admin
This would come right behind /AdministratorPassword
<UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Group>Administrators</Group>
                        <DisplayName>Administrator</DisplayName>
                        <Description>Local Account</Description>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>


#105
dyehardfan

dyehardfan
  • Members
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Are you logging in with Administrator on every machine? you need LocalAccounts even with Admin
This would come right behind /AdministratorPassword

<UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Group>Administrators</Group>
                        <DisplayName>Administrator</DisplayName>
                        <Description>Local Account</Description>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>


Thanks, I will give this a shot. And yes, each machine will be logged into as the Local Admin post Win7 Installation for Application Deployment and furthur setup. I appreciate your help.

#106
Mindwarper

Mindwarper

    Newbie

  • Members
  • 15 posts
  • OS:XP Pro x86
  • Country: Country Flag
Hello all,

This thread is going to have a bump :)
Since I have been making some efforts in making a 64-bit autounattend.xml file (code below)
Is my 1st attempt...
I am curently working from XP now...

Now I am unsure about the correctness of it, maybe I have put too much in there... I don't know...
All what I want to achieve is to install Win 7 Ultimate N with SP1 onto my machine using the DVD and an "semi-unattended" way of installing it by using an unattended file...

most important though is this code-bit below... which I think warrants to have the auditUser & auditSystem passes to be in place, is it not?

    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" 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">
            <Reseal>
                <ForceShutdownNow>false</ForceShutdownNow>
                <Mode>Audit</Mode>
            </Reseal>
            <FolderLocations>
                <ProgramData>F:\DATA\SYSTEM\PROGS</ProgramData>
                <ProfilesDirectory>F:\DATA\USERS</ProfilesDirectory>
            </FolderLocations>
        </component>
    </settings>


Questions:
  • is this a correct way of dealing with the whole autounattend.xml file data (complete code below)?
  • are the audit passes needed for what I am trying to achieve keeping in mind I want programdata and user profiles dir changed...?
  • very important question actually, where do I best put the autologon for administrator, i.e. in which pass, as there are multiple options to put it.. It confuses me...
  • Is it necessary to be consistent in this? i.e. timezone and username and registeredorg entries for all the passes mentioned?
  • copyprofile line is needed for me, I think, or is the use of it not needed for what I am trying to achieve (apply all what I want and gets copied to user account Chris in this case)? or am I overlooking something?
  • The key values are intentionally X-es, as I want to enter my Key manually when needed, will this also work?
  • the SkipOOBE settings set to false, is that also correct? as I have added in oobeSystem pass an extra account, which is going to be mine... Unsure...

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" 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">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>nl-BE</UserLocale>
        </component>
        <component name="Microsoft-Windows-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">
            <ComplianceCheck>
                <DisplayReport>Never</DisplayReport>
            </ComplianceCheck>
            <Diagnostics>
                <OptIn>false</OptIn>
            </Diagnostics>
            <DiskConfiguration>
                <WillShowUI>Always</WillShowUI>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
                <!--<ColorDepth>32</ColorDepth>
                <HorizontalResolution>1920</HorizontalResolution>
                <VerticalResolution>1080</VerticalResolution>-->
                <!--<RefreshRate>60</RefreshRate>-->
            </Display>
            <DynamicUpdate>
                <Enable>true</Enable>
                <WillShowUI>OnError</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 ULTIMATEN</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName>Christian P. Sakalis</FullName>
                <Organization>Mindwarper Home</Organization>
                <ProductKey>
                    <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
            </UserData>
        </component>
    </settings>
    <settings pass="offlineServicing">
        <component name="Microsoft-Windows-LUA-Settings" 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">
            <!--<EnableLUA>true</EnableLUA>-->
            <!--<EnableLUA>false</EnableLUA>-->
            <EnableLUA>false</EnableLUA>
        </component>
        <!--<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
            <DriverPaths>
                <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                    <Path>%systemdrive%\Drivers</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>-->
    </settings>
    <settings pass="generalize">
        <component name="Microsoft-Windows-PnpSysprep" 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">
            <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        </component>
        <component name="Microsoft-Windows-Security-SPP" 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">
            <SkipRearm>1</SkipRearm>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-IE-InternetExplorer" 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">
            <Home_Page>about:blank</Home_Page>
            <FilterLevel>High</FilterLevel>
            <!--<CompanyName>Se7en_UA</CompanyName>-->
            <!--<FavoritesOnTop>true</FavoritesOnTop>
            <FavoritesOnTop>false</FavoritesOnTop>-->
            <!--<Help_Page>http://people.consolidated.net/veeger/</Help_Page>-->
            <!--<DisableFirstRunWizard>true</DisableFirstRunWizard>-->
            <!--<DisableWelcomePage>true</DisableWelcomePage>-->
            <!--<PlaySound>false</PlaySound>-->
            <!--<ShowInformationBar>false</ShowInformationBar>-->
            <!--<UserAgent>UAtest</UserAgent>-->
            <!--<Window_Title_CN>Se7en_UA</Window_Title_CN>-->
            <SearchScopes>
                <Scope wcm:action="add">
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                    <ScopeKey>Search1</ScopeKey>
                    <!--<ScopeUrl>http://www.google.com/advanced_search?hl=en</ScopeUrl>-->
                    <!--<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>-->
                    <ScopeUrl>http://www.google.com/search?q=</ScopeUrl>
                </Scope>
            </SearchScopes>
            <Help_Page>http://www.google.com</Help_Page>
            <DisableFirstRunWizard>false</DisableFirstRunWizard>
            <PlaySound>true</PlaySound>
            <ShowInformationBar>true</ShowInformationBar>
        </component>
        <component name="Microsoft-Windows-powercpl" 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">
            <PreferredPlan>381b4222-f694-41f0-9685-ff5bb260df2e</PreferredPlan>
        </component>
        <component name="Microsoft-Windows-Printing-Spooler-Core" 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">
            <RemoveMXDW>1</RemoveMXDW>
        </component>
        <component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
            <fAllowFullControl>false</fAllowFullControl>
            <fAllowToGetHelp>false</fAllowToGetHelp>
        </component>
        <component name="Microsoft-Windows-Security-SPP-UX" 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">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
        <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">
            <CopyProfile>true</CopyProfile>
            <ComputerName>MindDragon</ComputerName>
            <ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
            <RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
            <RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
            <Display>
                <!--<ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>800</VerticalResolution>-->
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
                <!--<RefreshRate>60</RefreshRate>-->
            </Display>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
        <component name="Microsoft-Windows-SQMApi" 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">
            <CEIPEnabled>0</CEIPEnabled>
        </component>
        <component name="Microsoft-Windows-International-Core" 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">
            <InputLocale>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>nl-BE</UserLocale>
        </component>
        <component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>net user administrator /active:yes</Path>
                    <!--<Path>cmd /c net user administrator /active:yes</Path>-->
                    <Description>EnableAdmin</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Description>UnfilterAdministratorToken</Description>
                    <Order>2</Order>
                    <Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
                    <!--<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>-->
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
        <component name="Microsoft-Windows-UnattendedJoin" 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">
            <Identification>
                <JoinWorkgroup>CRUQ15</JoinWorkgroup>
            </Identification>
        </component>
    </settings>
    <settings pass="auditSystem">
        <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">
            <AutoLogon>
                <Enabled>true</Enabled>
                <!--<LogonCount>5</LogonCount>-->
                <!--<LogonCount>3</LogonCount>-->
                <!--<LogonCount>2</LogonCount>-->
                <LogonCount>2</LogonCount>
                <!--<Username>administrator</Username>-->
                <Username>ADMIN</Username>
                <!--<Password>
                    <Value>REMOVED</Value>
                    <PlainText>false</PlainText>
                    <Value>REMOVED</Value>
                    <PlainText>true</PlainText>
                </Password>-->
            </AutoLogon>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>REMOVED</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Group>Administrators</Group>
                        <!--<Name>Admin</Name>-->
                        <Name>ADMIN</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <TimeZone>W. Europe Standard Time</TimeZone>
        </component>
    </settings>
    <settings pass="auditUser">
        <!--<component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>400</Order>
                    <Path>cmd /C start /wait %systemdrive%\Install\AuditUser.cmd</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>-->
        <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">
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
            <RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" 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">
            <Reseal>
                <ForceShutdownNow>false</ForceShutdownNow>
                <Mode>Audit</Mode>
            </Reseal>
        </component>
        <component name="Microsoft-Windows-International-Core" 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">
            <InputLocale>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>nl-BE</UserLocale>
        </component>
        <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">
            <!--<AutoLogon>
                <Password>
                    <Value>REMOVED</Value>
                    <PlainText>false</PlainText>
                    <Value>REMOVED</Value>
                    <PlainText>true</PlainText>
                </Password>
                <Enabled>true</Enabled>-->
            <!--<LogonCount>5</LogonCount>-->
            <!--<LogonCount>3</LogonCount>-->
            <!--<LogonCount>5</LogonCount>
                <Username>administrator</Username>
            </AutoLogon>-->
            <Display>
                <!--<ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>800</VerticalResolution>-->
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
                <!--<RefreshRate>60</RefreshRate>-->
            </Display>
            <RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
            <RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
            <TimeZone>W. Europe Standard Time</TimeZone>
            <!--<FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Description>Running FirstLog.cmd</Description>
                    <CommandLine>cmd /C start /wait %systemdrive%\Install\FirstLog.cmd</CommandLine>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk <KEY></CommandLine>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <Order>2</Order>
                    <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>-->
            <!--<OEMInformation>
                <Logo>%WINDIR%\System32\OEM\SystemLogo.bmp</Logo>
                <Manufacturer>Dell</Manufacturer>
                <Model>Studio XPS Desktop 435MT</Model>
                <SupportHours>Anytime, visit the Forums</SupportHours>
                <SupportPhone>BR549</SupportPhone>
                <SupportURL>http://people.consolidated.net/veeger/</SupportURL>
            </OEMInformation>-->
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipUserOOBE>false</SkipUserOOBE>
                <SkipMachineOOBE>false</SkipMachineOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>REMOVED</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>REMOVED</Value>
                            <!--<PlainText>true</PlainText>-->
                            <!--<PlainText>false</PlainText>-->
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Christian P. Sakalis Account</Description>
                        <DisplayName>Chris</DisplayName>
                        <Name>Chris</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>REMOVED</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Admin Local Account</Description>
                        <DisplayName>Administrator</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <VisualEffects>
                <!--<FontSmoothing>ClearType</FontSmoothing>-->
                <FontSmoothing>Standard</FontSmoothing>
            </VisualEffects>
            <WindowsFeatures>
                <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
            </WindowsFeatures>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <FolderLocations>
                <ProgramData>F:\DATA\SYSTEM\PROGS</ProgramData>
                <ProfilesDirectory>F:\DATA\USERS</ProfilesDirectory>
            </FolderLocations>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:x:/sources/install.wim#Windows 7 ULTIMATEN" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

can you guys give me feedback on it and show me the pitfalls I obviously must have made... :)
later on I will make a x86 version of it (easy :P), when all seems to be correct in the end...

Edited by Mindwarper, 04 April 2011 - 11:56 AM.


#107
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
With N version I would remove all the IE settings as it may error. Like
<component name="Microsoft-Windows-IE-InternetExplorer

Microsoft-Windows-powercpl doesn't work. best run a cmd file
REM Adding Powerplan
POWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
REM ALL TO 120 minutes time and you can change.
POWERCFG -X -monitor-timeout-ac 120
POWERCFG -X -disk-timeout-ac 120
POWERCFG -X -standby-timeout-ac 120
POWERCFG -X -hibernate-timeout-ac 120
REM or hibernate OFF
POWERCFG -H OFF

Don't add default values remove <DisableAutoDaylightTimeSet>

You will Autologon in Auditsystem with Administrator and use his full name by setting Username to Administrator (only the English word

I'll look at the rest but time for work and am on OT

Edited by maxXPsoft, 04 April 2011 - 06:42 PM.


#108
Mindwarper

Mindwarper

    Newbie

  • Members
  • 15 posts
  • OS:XP Pro x86
  • Country: Country Flag

With N version I would remove all the IE settings as it may error. Like
<component name="Microsoft-Windows-IE-InternetExplorer

Microsoft-Windows-powercpl doesn't work. best run a cmd file
REM Adding Powerplan
POWERCFG -SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
REM ALL TO 120 minutes time and you can change.
POWERCFG -X -monitor-timeout-ac 120
POWERCFG -X -disk-timeout-ac 120
POWERCFG -X -standby-timeout-ac 120
POWERCFG -X -hibernate-timeout-ac 120
REM or hibernate OFF
POWERCFG -H OFF

Don't add default values remove <DisableAutoDaylightTimeSet>

You will Autologon in Auditsystem with Administrator and use his full name by setting Username to Administrator (only the English word

I'll look at the rest but time for work and am on OT


and

N editions
The features in the N Editions are the same as their equivalent full versions, but do not include Windows Media Player. The cost of the N Editions are the same as the full versions, as Windows Media Player can be downloaded without charge from Microsoft for the N Editions.


I think you are confused, the N editions are without Windows Media Player, exactly what I want :)
Nevertheless I thank you for your input & feedback...

I will wait till you have had time to investigate the rest as well... and answer my questions above... Thanks again!
Do you think the audit passes are still needed? as I am unsure
Will try this in a VMWare host perhaps first when I have a bit more spare time this week...

Edited by Mindwarper, 05 April 2011 - 03:04 AM.


#109
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
maxXPsoft was talking about IE Settings:

With N version I would remove all the IE settings as it may error.

Like:<component name="Microsoft-Windows-IE-InternetExplorer



Windows 7 Editions:

http://en.wikipedia.org/wiki/Windows_7_editions

Edited by myselfidem, 05 April 2011 - 04:55 AM.


#110
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
crud I get confused between the 2 since I have neither.

I think you want your auditSystem with this

<AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Group>Administrators</Group>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>


#111
Mindwarper

Mindwarper

    Newbie

  • Members
  • 15 posts
  • OS:XP Pro x86
  • Country: Country Flag

crud I get confused between the 2 since I have neither.

I think you want your auditSystem with this

<AutoLogon>
                <Enabled>true</Enabled>
                <LogonCount>2</LogonCount>
                <Username>Administrator</Username>
            </AutoLogon>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Group>Administrators</Group>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>

maxXPsoft, thanks a bunch for your feedback so far!
some questions (still) remain, sorry to bother you so much, I apologize...
  • Does the above auditSystem mean that the oobeSystem does no longer need an Administrator account to be created as Local Account?
  • Is it necessary to be consistent to set timezone and username and registeredorg entries for all the passes mentioned?
  • copyprofile line is needed for me, I think, or is the use of it not needed for what I am trying to achieve (apply all what I want and gets copied to user account Chris in this case)? or am I overlooking something?
  • The key values are intentionally X-es, as I want to enter my Key manually when needed, will this also work?
  • the SkipOOBE settings set to false, is that also correct? as I have added in oobeSystem pass an extra account called Chris, which is going to be mine... Unsure...

Edited by Mindwarper, 05 April 2011 - 10:39 AM.


#112
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Administrator is there already hidden, you are only calling him to login
Not needed for all passes just one's you need to do something in
Haven't used copyprofile but it should work
<ProductKey>
<WillShowUI>Always</WillShowUI>
</ProductKey>
<SkipUserOOBE> <SkipMachineOOBE> are no longer used. look them up in unattend.chm

#113
Major

Major

    Advanced Member

  • Members
  • PipPipPip
  • 308 posts
I would like to use sysprep, would you please tell me if it correct in order to apply copyprofile
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SetupUILanguage>
                <UILanguage>es-ES</UILanguage>
            </SetupUILanguage>
            <InputLocale>0c0a:0000040a</InputLocale>
            <SystemLocale>es-ES</SystemLocale>
            <UILanguage>es-ES</UILanguage>
            <UserLocale>es-ES</UserLocale>
        </component>
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>xxxxxxxxxxxxxxxxxx</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>xxxxxxxxxx</FullName>
                <Organization>xxxxxxxxxxxxx</Organization>
            </UserData>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value> Windows 7 ULTIMATE</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Extend>true</Extend>
                            <Order>1</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Extend>false</Extend>
                            <Format>NTFS</Format>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SearchScopes>
                <Scope wcm:action="add">
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                    <ShowSearchSuggestions>false</ShowSearchSuggestions>
                    <ScopeUrl>http://www.google.com/search?sourceid=ie7&amp;rls=com.microsoft:en-US&amp;ie=utf8&amp;oe=utf8&amp;q={searchTerms}</ScopeUrl>
                    <ScopeKey>SearchProvider1</ScopeKey>
                </Scope>
            </SearchScopes>
            <DisableOOBAccelerators>true</DisableOOBAccelerators>
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <EnableLinksBar>false</EnableLinksBar>
            <FilterLevel>High</FilterLevel>
            <Home_Page>www.google.es</Home_Page>
            <BlockPopups>yes</BlockPopups>
            <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
            <PlaySound>false</PlaySound>
            <ShowInformationBar>true</ShowInformationBar>
            <UserAgent>UATEST</UserAgent>
            <ShowMenuBar>true</ShowMenuBar>
            <FavoritesDelete>true</FavoritesDelete>
        </component>
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m&quot;</Path>
                    <Description>SET %AppsRoot%</Description>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <Reseal>
                <Mode>Audit</Mode>
                <ForceShutdownNow>false</ForceShutdownNow>
            </Reseal>
        </component>
    </settings>
    <settings pass="generalize">
        <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        </component>
    </settings>
    <settings pass="auditSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <AutoLogon>
                <Username>Administrator</Username>
                <Enabled>true</Enabled>
                <LogonCount>5</LogonCount>
            </AutoLogon>
            <TimeZone>Romance Standard Time</TimeZone>
            <ShowWindowsLive>false</ShowWindowsLive>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
        </component>
    </settings>
    <settings pass="auditUser">
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>4</Order>
                    <Path>CMD /C msiexec.exe /i "%AppsRoot%\Install\Adobe.Reader.10.0.1\AdobeReader.msi" TRANSFORMS="%AppsRoot%\Install\Adobe.Reader.10.0.1\AdobeReader.mst" /qr /norestart</Path>
                    <Description>Adobe Reader X 10.0.1</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>8</Order>
                    <Path>CMD /C msiexec.exe /i "%AppsRoot%\Install\Flash.Player.10.2.153.1\Flash.Player.msi" /qr</Path>
                    <Description>Adobe Flash Player 10.2.153.1</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>12</Order>
                    <Path>CMD /C REGEDIT /S %AppsRoot%\Install\HKCU.reg</Path>
                    <Description>RegTweaks Current User</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>16</Order>
                    <Path>CMD /C REGEDIT /S %AppsRoot%\Install\HKLM.reg</Path>
                    <Description>RegTweaks Local Machine</Description>
                </RunSynchronousCommand>
                <RunSynchronousCommand wcm:action="add">
                    <Order>20</Order>
                    <Path>CMD /C %WINDIR%\system32\sysprep\sysprep.exe /generalize /oobe /reboot /Unattend:%AppsRoot%\Oobe.xml</Path>
                    <Description>Reboot to Oobe</Description>
                    <WillReboot>OnRequest</WillReboot>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/windows%207/windows.sysprep/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Here is my oobe.xml:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>MiEQUIPO</ComputerName>
            <CopyProfile>true</CopyProfile>
            <TimeZone>Romance Standard Time</TimeZone>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <ShowWindowsLive>false</ShowWindowsLive>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>0c0a:0000040a</InputLocale>
            <SystemLocale>es-ES</SystemLocale>
            <UserLocale>es-ES</UserLocale>
            <UILanguage>es-ES</UILanguage>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <TimeZone>Romance Standard Time</TimeZone>
            <ShowWindowsLive>false</ShowWindowsLive>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <Display>
                <ColorDepth>32</ColorDepth>
                <DPI>96</DPI>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <NetworkLocation>Home</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>xxxxxxxxxxxxxxxxxxxxxxxxxxxx</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <DisplayName>xxxxxxxxxxx</DisplayName>
                        <Name>xxxxxxxxxxxxxx</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <VisualEffects>
                <FontSmoothing>ClearType</FontSmoothing>
            </VisualEffects>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/windows%207/windows.sysprep/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


#114
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Major
CopyProfile move to first xml. When you run audt and it comes out of there it will only be running oobeSystem ex /oobe /reboot

Edited by maxXPsoft, 09 April 2011 - 07:29 AM.


#115
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts
Hey maxXPsoft, I wonder can we have a autounattend.xml (for unattended installation) for multiboot OS (x86 and x64)??????????????

Edited by nice_guy75, 22 April 2011 - 09:47 AM.


#116
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Yes! We can use only one Autounattend.xml for multiboot x86 and amd64!

Example for Windows 7 Ultimate x86 and x64 (image index: 1 and image index: 2):
Adapt to your needs!


Autounattend.xml

<?xml version="1.0" encoding="utf-8"?> 
<unattend xmlns="urn:schemas-microsoft-com:unattend"> 
    <settings pass="windowsPE"> 
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
          <SetupUILanguage>          
             <UILanguage>fr-FR</UILanguage> 
          </SetupUILanguage>      
          <InputLocale>100c:0000100c</InputLocale> 
          <SystemLocale>fr-CH</SystemLocale> 
          <UILanguage>fr-FR</UILanguage> 
          <UserLocale>fr-CH</UserLocale> 
        </component> 
        <component name="Microsoft-Windows-International-Core-WinPE" 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"> 
            <SetupUILanguage> 
                <UILanguage>fr-FR</UILanguage> 
            </SetupUILanguage> 
            <InputLocale>100c:0000100c</InputLocale> 
            <SystemLocale>fr-CH</SystemLocale> 
            <UILanguage>fr-FR</UILanguage> 
            <UserLocale>fr-CH</UserLocale> 
        </component> 
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <UserData> 
                <ProductKey> 
                    <WillShowUI>OnError</WillShowUI> 
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> 
                </ProductKey> 
                <AcceptEula>true</AcceptEula> 
                <FullName>Your Name</FullName> 
               <Organization></Organization> 
            </UserData> 
            <DiskConfiguration>
                <WillShowUI>Always</WillShowUI>
            </DiskConfiguration>
            <ImageInstall> 
                <OSImage> 
                   <WillShowUI>Always</WillShowUI> 
                    <InstallFrom> 
                        <MetaData wcm:action="add"> 
                            <Key>/IMAGE/INDEX</Key> 
                            <Value>1</Value> 
                        </MetaData> 
                    </InstallFrom> 
                </OSImage> 
            </ImageInstall> 
            <Display> 
                <ColorDepth>32</ColorDepth> 
                <HorizontalResolution>1280</HorizontalResolution> 
               <VerticalResolution>1024</VerticalResolution> 
           </Display> 
        </component> 
        <component name="Microsoft-Windows-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"> 
            <UserData> 
                <ProductKey> 
                    <WillShowUI>OnError</WillShowUI> 
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> 
                </ProductKey> 
                <AcceptEula>true</AcceptEula> 
                <FullName>Your Name</FullName> 
                <Organization></Organization> 
            </UserData> 
            <DiskConfiguration>
                <WillShowUI>Always</WillShowUI>
           </DiskConfiguration>
            <ImageInstall> 
               <OSImage> 
                    <WillShowUI>Always</WillShowUI> 
                    <InstallFrom> 
                        <MetaData wcm:action="add"> 
                            <Key>/IMAGE/INDEX</Key> 
                            <Value>2</Value> 
                        </MetaData> 
                    </InstallFrom> 
                </OSImage> 
            </ImageInstall> 
            <Display> 
                <ColorDepth>32</ColorDepth> 
                <HorizontalResolution>1280</HorizontalResolution> 
                <VerticalResolution>1024</VerticalResolution> 
            </Display> 
        </component> 
    </settings> 
    <settings pass="specialize"> 
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <SkipAutoActivation>true</SkipAutoActivation> 
        </component> 
        <component name="Microsoft-Windows-Security-SPP-UX" 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"> 
            <SkipAutoActivation>true</SkipAutoActivation> 
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
           <ComputerName>Se7en</ComputerName> 
            <TimeZone>W. Europe Standard Time</TimeZone> 
        </component> 
        <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"> 
            <ComputerName>Se7en</ComputerName> 
            <TimeZone>W. Europe Standard Time</TimeZone> 
        </component> 
        <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <DisableOOBAccelerators>true</DisableOOBAccelerators> 
            <DisableFirstRunWizard>true</DisableFirstRunWizard> 
            <EnableLinksBar>false</EnableLinksBar> 
            <FilterLevel>High</FilterLevel> 
            <Home_Page>www.google.fr</Home_Page> 
            <BlockPopups>yes</BlockPopups> 
            <SuggestedSitesEnabled>false</SuggestedSitesEnabled> 
            <PlaySound>false</PlaySound> 
            <ShowInformationBar>true</ShowInformationBar> 
            <ShowMenuBar>true</ShowMenuBar> 
        </component> 
        <component name="Microsoft-Windows-IE-InternetExplorer" 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"> 
            <DisableOOBAccelerators>true</DisableOOBAccelerators> 
            <DisableFirstRunWizard>true</DisableFirstRunWizard> 
            <EnableLinksBar>false</EnableLinksBar> 
            <FilterLevel>High</FilterLevel> 
            <Home_Page>www.google.es</Home_Page> 
            <BlockPopups>yes</BlockPopups> 
            <SuggestedSitesEnabled>false</SuggestedSitesEnabled> 
            <PlaySound>false</PlaySound> 
            <ShowInformationBar>true</ShowInformationBar> 
            <ShowMenuBar>true</ShowMenuBar> 
        </component> 
    </settings> 
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <InputLocale>100c:0000100c</InputLocale> 
            <SystemLocale>fr-CH</SystemLocale> 
            <UserLocale>fr-CH</UserLocale> 
            <UILanguage>fr-FR</UILanguage> 
        </component> 
        <component name="Microsoft-Windows-International-Core" 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"> 
            <InputLocale>100c:0000100c</InputLocale> 
            <SystemLocale>fr-CH</SystemLocale> 
            <UserLocale>fr-CH</UserLocale> 
            <UILanguage>fr-FR</UILanguage> 
        </component> 
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
            <TimeZone>W. Europe Standard Time</TimeZone> 
            <Display> 
                <ColorDepth>32</ColorDepth> 
                <DPI>96</DPI> 
                <HorizontalResolution>1280</HorizontalResolution> 
                <VerticalResolution>1024</VerticalResolution> 
            </Display> 
            <OOBE> 
                <HideEULAPage>true</HideEULAPage> 
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> 
                <NetworkLocation>Home</NetworkLocation> 
                <ProtectYourPC>1</ProtectYourPC> 
            </OOBE> 
            <UserAccounts> 
                <LocalAccounts> 
                    <LocalAccount wcm:action="add"> 
                        <Password>
                            <Value>xxxxxxxxxxx</Value>
                            <PlainText>false</PlainText> 
                        </Password> 
                        <DisplayName>myselfidem</DisplayName> 
                        <Name>myselfidem</Name> 
                        <Group>Administrators</Group> 
                    </LocalAccount> 
                </LocalAccounts> 
            </UserAccounts> 
        </component> 
        <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"> 
            <TimeZone>W. Europe Standard Time</TimeZone>             
            <Display> 
                <ColorDepth>32</ColorDepth> 
                <DPI>96</DPI> 
                <HorizontalResolution>1280</HorizontalResolution> 
                <VerticalResolution>1024</VerticalResolution> 
            </Display> 
            <OOBE> 
                <HideEULAPage>true</HideEULAPage> 
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> 
                <NetworkLocation>Home</NetworkLocation> 
                <ProtectYourPC>1</ProtectYourPC> 
            </OOBE> 
            <UserAccounts> 
                <LocalAccounts> 
                    <LocalAccount wcm:action="add"> 
                         <Password> 
                                <Value>xxxxxxxxxxxx</Value>                            
                                <PlainText>false</PlainText> 
                        </Password> 
                        <DisplayName>myselfidem</DisplayName> 
                        <Name>myselfidem</Name> 
                        <Group>Administrators</Group> 
                    </LocalAccount> 
                 </LocalAccounts> 
            </UserAccounts> 
         </component> 
     </settings> 
   </unattend>

Edited by myselfidem, 21 January 2012 - 04:16 AM.


#117
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts
Thanks brother, is this the tested one, Can I put this xml directly in my OS, ofcourse after editing some part of this xml like the language n all.

Secondly I wish to know that you have used

<Password> 
<Value>xxxxxxxxxx</Value> 
<PlainText>false</PlainText> 
</Password>

See I want my OS to login as admin without asking for password, so should I delete all "xxx" and make it like this:

<Password> 
<Value></Value> 
<PlainText>false</PlainText> 
</Password>


#118
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag

See I want my OS to login as admin without asking for password, so should I delete all "xxx" and make it like this:

<Password> 
<Value></Value> 
<PlainText>false</PlainText> 
</Password>

look at 110 above

Edited by maxXPsoft, 03 July 2012 - 07:03 PM.


#119
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

look at 110 above

Thanks mate, I have edited my xml. I want you to check my xml so I am attaching my xml here. Please check it and tell me is this the right xml for an unattended installation for a multiboot (x86 + x64) OS?

Attached Files



#120
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I see errors inside your Autounattend.xml: Check

<component name="Microsoft-Windows-Setup" processorArchitecture="x86"...

Change to:
<FullName>nice_guy75</FullName> 
<Organization>Team ARC</Organization> 
Change to your values!:
<settings pass="oobeSystem"> 
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86"....
<InputLocale>100c:0000100c</InputLocale> 
<UserLocale>fr-CH</UserLocale> 
<UILanguage>fr-FR</UILanguage>
It's not the correct values for you! ;)

You can just keep:
<Password> 
           <Value></Value> 
</Password> 

Check first one Autounattend.xml file, example x86, with WSIM to see if errors! After you can duplicate the same values for amd64.

Edited by myselfidem, 23 April 2011 - 01:57 PM.


#121
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts
Thanks for helping me so much mate,

Please see the attached xml and let me know is it ok now?

Attached Files


Edited by nice_guy75, 23 April 2011 - 07:14 PM.


#122
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
After many tests. I see that it's needed to set (for x86 and amd64):

<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>

1) Because on a 64 bits computer if this value is OnError, the Windows 7 x86 is installed automatically.

We need to choose between x86 or x64 bits versions. To do this, change this value like above for x86 and amd64 inside Autounattend.xml file.

2) Check if you have removed all catalogs files and ie.cfg file inside %DVD%\sources

3) Name your file: Autounattend.xml

4) <PlainText>true</PlainText> (or false: lowercase letter)


I've updated my post about to display the image installation user interface (UI):

Always: Specifies that the UI is always displayed.

Like this your Autounattend.xml file will be good!

Edited by myselfidem, 24 April 2011 - 02:09 AM.


#123
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

After many tests. I see that it's needed to set (for x86 and amd64):

<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>

1) Because on a 64 bits computer if this value is OnError, the Windows 7 x86 is installed automatically.

We need to choose between x86 or x64 bits versions. To do this, change this value like above for x86 and amd64 inside Autounattend.xml file.

2) Check if you have removed all catalogs files and ie.cfg file inside %DVD%\sources

3) Name your file: Autounattend.xml

4) <PlainText>true</PlainText> (or false: lowercase letter)


I've updated my post about to display the image installation user interface (UI):

Always: Specifies that the UI is always displayed.

Like this your Autounattend.xml file will be good!



Hey mate I have tried to test my xml with wsim but I got this error:

Posted Image

please help me in this as well.

#124
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
There is an error inside your Autounattend.xml: Check the ligne 39: <MetaData wcm:action="add">

Could you attach your new Autounattend.xml file!

Edited by myselfidem, 24 April 2011 - 09:52 AM.


#125
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

There is an error inside your Autounattend.xml: Check the ligne 39: <MetaData wcm:action="add">

Could you attach your new Autounattend.xml file!

sure mate, here is my latest xml.

Attached Files






5 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users


    Bing (1), Exalead (2)


How to remove advertisement from MSFN