Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
- <UILanguage>en-US</UILanguage>
- <InputLocale>0409:00000409</InputLocale>
- <SystemLocale>en-US</SystemLocale>
- <UserLocale>en-US</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>OnError</DisplayReport>
- </ComplianceCheck>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
- <Value>1</Value>
- <Key>/IMAGE/INDEX</Key>
- </MetaData>
- <Path>\\10.118.192.1\osd$\Operating Systems\W2019\sources\install.wim</Path>
- </InstallFrom>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>2</PartitionID>
- </InstallTo>
- <WillShowUI>OnError</WillShowUI>
- </OSImage>
- </ImageInstall>
- <UserData>
- <AcceptEula>true</AcceptEula>
- <FullName>companyname</FullName>
- <Organization>companyname</Organization>
- <ProductKey>
- <Key>prod key</Key>
- <WillShowUI>Never</WillShowUI>
- </ProductKey>
- </UserData>
- </component>
- </settings>
- <settings pass="offlineServicing">
- <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>\Drivers</Path>
- </PathAndCredentials>
- </DriverPaths>
- </component>
- </settings>
- <settings pass="generalize">
- <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">
- <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
- <RegisteredOwner>companyname</RegisteredOwner>
- <RegisteredOrganization>companyname</RegisteredOrganization>
- <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
- </component>
- </settings>
- <settings pass="specialize">
- <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">
- <Description>Call Script C:\Windows\Setup\Scripts\Specialize.cmd</Description>
- <Path>cmd /c C:\Windows\Setup\Scripts\Specialize.cmd</Path>
- <Order>1</Order>
- </RunSynchronousCommand>
- </RunSynchronous>
- </component>
- <component name="Microsoft-Windows-DNS-Client" 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">
- <DNSSuffixSearchOrder>
- <DomainName wcm:action="add" wcm:keyValue="1">ag1.companyname.local</DomainName>
- <DomainName wcm:action="add" wcm:keyValue="3">companyname.local</DomainName>
- <DomainName wcm:action="add" wcm:keyValue="2">ag2.companyname.local</DomainName>
- <DomainName wcm:action="add" wcm:keyValue="5">companynamedev.io</DomainName>
- <DomainName wcm:action="add" wcm:keyValue="4">hkg.companyname.local</DomainName>
- </DNSSuffixSearchOrder>
- <DNSDomain>companyname.local</DNSDomain>
- </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>en-us;0409:00000409</InputLocale>
- <SystemLocale>en-us</SystemLocale>
- <UILanguage>en-us</UILanguage>
- <UserLocale>en-us</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">
- <ComputerName>!COMPUTERNAME!</ComputerName>
- <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
- <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
- <EnableStartMenu>true</EnableStartMenu>
- <RegisteredOrganization>companyname</RegisteredOrganization>
- <RegisteredOwner>companyname</RegisteredOwner>
- <TimeZone>SE Asia Standard Time</TimeZone>
- <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
- </component>
- <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
- <fDenyTSConnections>false</fDenyTSConnections>
- </component>
- <component name="Networking-MPSSVC-Svc" 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">
- <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
- <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
- <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
- </component>
- </settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-International-Core" processorArchitecture="wow64" 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-us;0409:00000409</InputLocale>
- <SystemLocale>en-us</SystemLocale>
- <UILanguage>en-us</UILanguage>
- <UserLocale>en-us</UserLocale>
- </component>
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" 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>pw</Value>
- <PlainText>false</PlainText>
- </Password>
- <Domain>-</Domain>
- <Enabled>true</Enabled>
- <LogonCount>1</LogonCount>
- <Username>Administrator</Username>
- </AutoLogon>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <CommandLine>powershell -executionpolicy unrestricted -command "Set-ExecutionPolicy Unrestricted -Force"</CommandLine>
- <Description>Unrestricted PowerShell ExecutionPolicy</Description>
- <Order>1</Order>
- <RequiresUserInput>false</RequiresUserInput>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <CommandLine>start "Admin CMD Console" /min cmd /k /q "ECHO ==================[THIS IS ADMIN CMD FOR TROUBLESHOOTING]=================="</CommandLine>
- <Description>FirstLogonCommands start admin CMD for troubleshooting during oobeSytem Configuration Passes (Windows Welcome)</Description>
- <Order>2</Order>
- <RequiresUserInput>false</RequiresUserInput>
- </SynchronousCommand>
- </FirstLogonCommands>
- <OOBE>
- <HideEULAPage>true</HideEULAPage>
- <HideLocalAccountScreen>true</HideLocalAccountScreen>
- <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
- <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
- <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
- <ProtectYourPC>1</ProtectYourPC>
- <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
- </OOBE>
- <UserAccounts>
- <AdministratorPassword>
- <Value>pw</Value>
- <PlainText>false</PlainText>
- </AdministratorPassword>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
- <Password>
- <Value>pw</Value>
- <PlainText>false</PlainText>
- </Password>
- <Description>Local Service Account Automation Tasks</Description>
- <DisplayName>Automate</DisplayName>
- <Group>Administrators</Group>
- <Name>Automate</Name>
- </LocalAccount>
- </LocalAccounts>
- </UserAccounts>
- <RegisteredOrganization>companyname</RegisteredOrganization>
- <RegisteredOwner>companyname</RegisteredOwner>
- <TimeZone>SE Asia Standard Time</TimeZone>
- </component>
- </settings>
- <cpi:offlineImage cpi:source="wim://servername/osd$/captures/win2019driversgui.wim#Win2019 Standard Server" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
- </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement