• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Unattended answer file for windows 11

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
3
423
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    robertkwild
    last edited by robertkwild Jan 25, 2025, 5:13 PM Jan 24, 2025, 10:49 PM

    Hi all,

    Has anyone got a good unattended xml answer file I can use for windows 11 when I sysprep the image so I miss all the OOBE

    Thanks,
    Rob

    1 Reply Last reply Reply Quote 0
    • R
      robertkwild
      last edited by Jan 27, 2025, 7:58 PM

      <?xml version="1.0" encoding="utf-8"?>
      <unattend xmlns="urn:schemas-microsoft-com:unattend">
          <settings pass="oobeSystem">
              <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>en-GB</InputLocale>
                  <SystemLocale>en-GB</SystemLocale>
                  <UILanguage>en-GB</UILanguage>
                  <UILanguageFallback>en-GB</UILanguageFallback>
                  <UserLocale>en-GB</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">
                  <OOBE>
                      <HideEULAPage>true</HideEULAPage>
                      <HideLocalAccountScreen>true</HideLocalAccountScreen>
                      <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                      <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                      <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                      <ProtectYourPC>3</ProtectYourPC>
                      <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                  </OOBE>
                  <UserAccounts>
                      <LocalAccounts>
                          <LocalAccount wcm:action="add">
                              <Password>
                                  <Value>admin</Value>
                                  <PlainText>true</PlainText>
                              </Password>
                              <Description>admin</Description>
                              <DisplayName>admin</DisplayName>
                              <Group>Administrators</Group>
                              <Name>admin</Name>
                          </LocalAccount>
                      </LocalAccounts>
                  </UserAccounts>
              </component>
          </settings>
          <cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
      </unattend>
      
      
      S 1 Reply Last reply Jan 28, 2025, 2:54 PM Reply Quote 0
      • S
        sideone @robertkwild
        last edited by Jan 28, 2025, 2:54 PM

        @robertkwild This is ours, it boots into Windows automatically, where FOG starts (using the startup script) and renames the PC and adds to domain

        <?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-GB</UILanguage>
                    </SetupUILanguage>
                    <InputLocale>en-GB</InputLocale>
                    <SystemLocale>en-GB</SystemLocale>
                    <UILanguage>en-GB</UILanguage>
                    <UILanguageFallback>en-US</UILanguageFallback>
                    <UserLocale>en-GB</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">
                    <DiskConfiguration>
                        <WillShowUI>OnError</WillShowUI>
                        <Disk wcm:action="add">
                            <CreatePartitions>
                                <CreatePartition wcm:action="add">
                                    <Order>1</Order>
                                    <Size>500</Size>
                                    <Type>Primary</Type>
                                </CreatePartition>
                                <CreatePartition wcm:action="add">
                                    <Order>2</Order>
                                    <Type>EFI</Type>
                                    <Extend>false</Extend>
                                    <Size>100</Size>
                                </CreatePartition>
                                <CreatePartition wcm:action="add">
                                    <Order>3</Order>
                                    <Size>16</Size>
                                    <Type>MSR</Type>
                                </CreatePartition>
                                <CreatePartition wcm:action="add">
                                    <Extend>true</Extend>
                                    <Order>4</Order>
                                    <Type>Primary</Type>
                                </CreatePartition>
                            </CreatePartitions>
                            <ModifyPartitions>
                                <ModifyPartition wcm:action="add">
                                    <Format>NTFS</Format>
                                    <Label>WinRE</Label>
                                    <Order>1</Order>
                                    <PartitionID>1</PartitionID>
                                    <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
                                </ModifyPartition>
                                <ModifyPartition wcm:action="add">
                                    <Format>FAT32</Format>
                                    <Label>System</Label>
                                    <Order>2</Order>
                                    <PartitionID>2</PartitionID>
                                </ModifyPartition>
                                <ModifyPartition wcm:action="add">
                                    <Order>3</Order>
                                    <PartitionID>3</PartitionID>
                                </ModifyPartition>
                                <ModifyPartition wcm:action="add">
                                    <Format>NTFS</Format>
                                    <Label>Windows</Label>
                                    <Letter>C</Letter>
                                    <Order>4</Order>
                                    <PartitionID>4</PartitionID>
                                </ModifyPartition>
                            </ModifyPartitions>
                            <WillWipeDisk>true</WillWipeDisk>
                            <DiskID>0</DiskID>
                        </Disk>
                    </DiskConfiguration>
                    <ImageInstall>
                        <OSImage>
                            <InstallTo>
                                <DiskID>0</DiskID>
                                <PartitionID>4</PartitionID>
                            </InstallTo>
                        </OSImage>
                    </ImageInstall>
                    <UserData>
                        <ProductKey>
                            <Key>**REDACTED**</Key>
                        </ProductKey>
                        <AcceptEula>true</AcceptEula>
                        <Organization>**REDACTED**</Organization>
                    </UserData>
                    <Display>
                        <HorizontalResolution>1920</HorizontalResolution>
                        <VerticalResolution>1080</VerticalResolution>
                    </Display>
                </component>
            </settings>
            <settings pass="specialize">
                <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>*</ComputerName>
                    <RegisteredOwner>**REDACTED**</RegisteredOwner>
                    <RegisteredOrganization>**REDACTED**</RegisteredOrganization>
                    <TimeZone>GMT Standard Time</TimeZone>
                </component>
            </settings>
            <settings pass="oobeSystem">
                <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>en-GB</InputLocale>
                    <SystemLocale>en-GB</SystemLocale>
                    <UILanguage>en-GB</UILanguage>
                    <UILanguageFallback>en-US</UILanguageFallback>
                    <UserLocale>en-GB</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">
                    <OOBE>
                        <HideEULAPage>true</HideEULAPage>
                        <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                        <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                        <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                        <ProtectYourPC>1</ProtectYourPC>
                    </OOBE>
                    <UserAccounts>
                        <LocalAccounts>
                            <LocalAccount wcm:action="add">
                                <Password>
                                    <Value>**REDACTED**</Value>
                                    <PlainText>false</PlainText>
                                </Password>
                                <Description>Admin</Description>
                                <DisplayName>Admin</DisplayName>
                                <Group>Administrators</Group>
                                <Name>Admin</Name>
                            </LocalAccount>
                        </LocalAccounts>
                    </UserAccounts>
                    <Display>
                        <HorizontalResolution>1920</HorizontalResolution>
                        <VerticalResolution>1080</VerticalResolution>
                    </Display>
                    <AutoLogon>
                        <Password>
                            <Value>**REDACTED**</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Username>Admin</Username>
                        <LogonCount>1</LogonCount>
                        <Enabled>true</Enabled>
                    </AutoLogon>
                    <FirstLogonCommands>
                        <SynchronousCommand wcm:action="add">
                            <CommandLine>C:\Windows\Setup\scripts\SetupComplete.cmd</CommandLine>
                            <Order>1</Order>
                            <RequiresUserInput>false</RequiresUserInput>
                        </SynchronousCommand>
                    </FirstLogonCommands>
                </component>
            </settings>
            <cpi:offlineImage cpi:source="wim:c:/customise/win10/sources/install11edu.wim#Windows 11 Education" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
        </unattend>
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post

        245

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project