• 検索結果がありません。

無人応答ファイルのサンプル

ドキュメント内 x_app-wintec.indd (ページ 36-45)

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<OOBE>

<HideEULAPage>true</HideEULAPage>

<HideLocalAccountScreen>true</HideLocalAccountScreen>

<HideOnlineAccountScreens>true</HideOnlineAccountScreens>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

<NetworkLocation>Work</NetworkLocation>

<ProtectYourPC>3</ProtectYourPC>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>LocalP@ssw0rd</Value>

<PlainText>true</PlainText>

</Password>

<Group>Administrators</Group>

<Name>localadmin</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

<TimeZone>Tokyo Standard Time</TimeZone>

</component>

<component name="Microsoft-Windows-International-Core" a

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<InputLocale>ja-JP</InputLocale>

<SystemLocale>ja-JP</SystemLocale>

<UILanguage>ja-JP</UILanguage>

<UserLocale>ja-JP</UserLocale>

</component>

</settings>

</unattend>

Windows 7 用 Unattend.xml

 次のUnattend.xmlは、Windows 7 x86のための無人応答ファイルです。

⿎x64版の場合は、processorArchitecture="x86"をprocessorArchitecture="amd64"に置き換えて ください。

XXXXX-XXXXX-XXXXX-XXXXX-XXXXXは正規のプロダクトキーまたはMAKキーに置き換え てください。KMSクライアントの場合は、プロダクトキーの行を削除します。

⿎アカウント名、ドメイン名、パスワードは、環境に合わせて差し替えてください。

⿎SkipRearmの設定は、ライセンス認証猶予可能回数(既定4回)のカウントダウンをスキップする ための設定です。Windows 8はライセンス猶予可能回数が1000なので不要です。

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="generalize">

<component name="Microsoft-Windows-Security-SPP" a

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SkipRearm>1</SkipRearm>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>*</ComputerName>

<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>

</component>

<component name="Microsoft-Windows-UnattendedJoin" a

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Identification>

<JoinDomain>contoso.com</JoinDomain>

<Credentials>

<Domain>contoso</Domain>

<Username>Administrator</Username>

<Password>DomainP@ssw0rd</Password>

</Credentials>

</Identification>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserAccounts>

<LocalAccounts>

<LocalAccount>

<Name>localadmin</Name>

<Password>

<Value>LocalP@ssw0rd</Value>

<PlainText>true</PlainText>

</Password>

<Group>Administrators</Group>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

<TimeZone>Tokyo Standard Time</TimeZone>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Work</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

</component>

<component name="Microsoft-Windows-International-Core" a

processorArchitecture=" x86" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserLocale>ja-JP</UserLocale>

<SystemLocale>ja-JP</SystemLocale>

<InputLocale>0411:00000411</InputLocale>

<UILanguage>ja-JP</UILanguage>

</component>

</settings>

</unattend>

Windows Server 2012 用 Unattend.xml

 次のUnattend.xmlは、Windows Server 2012のための無人応答ファイルです。

XXXXX-XXXXX-XXXXX-XXXXX-XXXXXは正規のプロダクトキーまたはMAKキーに置き換え てください。

⿎アカウント名、ドメイン名、パスワードは、環境に合わせて差し替えてください。

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>*</ComputerName>

<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>

</component>

<component name="Microsoft-Windows-UnattendedJoin" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a

WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Identification>

<Credentials>

<Domain>contoso</Domain>

<Password>DomainP@ssw0rd</Password>

<Username>Administrator</Username>

</Credentials>

<JoinDomain>contoso.com</JoinDomain>

</Identification>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<OOBE>

<HideEULAPage>true</HideEULAPage>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<UserAccounts>

<AdministratorPassword>

<Value>LocalP@ssw0rd</Value>

<PlainText>true</PlainText>

</AdministratorPassword>

</UserAccounts>

<TimeZone>Tokyo Standard Time</TimeZone>

</component>

<component name="Microsoft-Windows-International-Core" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<InputLocale>ja-JP</InputLocale>

<SystemLocale>ja-JP</SystemLocale>

<UILanguage>ja-JP</UILanguage>

<UserLocale>ja-JP</UserLocale>

</component>

</settings>

</unattend>

Windows Server 2008 R2 用 Unattend.xml

 次のUnattend.xmlは、Windows Server 2008 R2のための無人応答ファイルです。

XXXXX-XXXXX-XXXXX-XXXXX-XXXXXは正規のプロダクトキーに置き換えてください。

⿎アカウント名、ドメイン名、パスワードは、環境に合わせて差し替えてください。

⿎SkipRearmの設定は、ライセンス認証猶予可能回数(既定4回)のカウントダウンをスキップする

ための設定です。Windows Server 2012はライセンス猶予可能回数が1000なので不要です。

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="generalize">

<component name="Microsoft-Windows-Security-SPP" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SkipRearm>1</SkipRearm>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>*</ComputerName>

<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>

</component>

<component name="Microsoft-Windows-UnattendedJoin" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Identification>

<Credentials>

<Domain>contoso</Domain>

<Password>DomainP@ssw0rd</Password>

<Username>Administrator</Username>

</Credentials>

<JoinDomain>contoso.com</JoinDomain>

</Identification>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserAccounts>

<AdministratorPassword>

<Value>LocalP@ssw0rd</Value>

<PlainText>true</PlainText>

</AdministratorPassword>

</UserAccounts>

<TimeZone>Tokyo Standard Time</TimeZone>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

</component>

<component name="Microsoft-Windows-International-Core" a

processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language=a

"neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/a WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserLocale>ja-JP</UserLocale>

<SystemLocale>ja-JP</SystemLocale>

<InputLocale>0411:00000411</InputLocale>

<UILanguage>ja-JP</UILanguage>

</component>

</settings>

</unattend>

WIMイメージ展開用の Windows PE 用 Unattend.xml

 次のUnattend.xmlは、Windows展開サービスのブートイメージでWIMファイルをイメージ展開す る際に使用する無人応答ファイルです。

⿎ブートイメージがx64版の場合は、processorArchitecture="x86"をprocessorArchitecture=

"amd64"に置き換えてください。

⿎ドメイン名、アカウント名、パスワードは、環境に合わせて置き換えてください。

⿎イメージ名、イメージグループ名、WIMファイル名は、環境に合わせて置き換えてください。

⿎Cドライブのラベル名は適宜変更してください。ハードディスクはCドライブの1パーティション で構成され、WIMイメージとブート環境が展開されます。

<?xml version="1.0" ?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-Setup" publicKeyToken=a

"31bf3856ad364e35"

language="neutral" versionScope="nonSxS" processorArchitecture="x86">

<WindowsDeploymentServices>

<Login>

<WillShowUI>OnError</WillShowUI>

<Credentials>

<Username>administrator</Username>

<Domain>contoso</Domain>

<Password>DomainP@ssw0rd</Password>

</Credentials>

</Login>

<ImageSelection>

<WillShowUI>OnError</WillShowUI>

<InstallImage>

<ImageName>Image Name</ImageName>

<ImageGroup>WIM Image Group Name</ImageGroup>

<Filename>filename.wim</Filename>

</InstallImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</ImageSelection>

</WindowsDeploymentServices>

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

<CreatePartitions>

<CreatePartition>

<Order>1</Order>

<Type>Primary</Type>

<Extend>true</Extend>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition>

<Order>1</Order>

<PartitionID>1</PartitionID>

<Letter>C</Letter>

<Label>OS HDD</Label>

<Format>NTFS</Format>

<Active>true</Active>

<Extend>false</Extend>

</ModifyPartition>

</ModifyPartitions>

</Disk>

</DiskConfiguration>

</component>

<component name="Microsoft-Windows-International-Core-WinPE" a publicKeyToken="31bf3856ad364e35"

language="neutral" versionScope="nonSxS" processorArchitecture="x86">

<SetupUILanguage>

<WillShowUI>OnError</WillShowUI>

<UILanguage>ja-JP</UILanguage>

</SetupUILanguage>

<InputLocale>ja-JP</InputLocale>

<SystemLocale>ja-JP</SystemLocale>

<UILanguage>ja-JP</UILanguage>

<UserLocale>ja-JP</UserLocale>

</component>

</settings>

</unattend>

VHDイメージ展開用の Windows PE 用 Unattend.xml

 次のUnattend.xmlは、Windows展開サービスのブートイメージでVHDまたはVHDXファイルをイ メージ展開する際に使用する無人応答ファイルです。

⿎ブートイメージがx64版の場合は、processorArchitecture="x86"をprocessorArchitecture=

"amd64"に置き換えてください。

⿎ドメイン名、アカウント名、パスワードは、環境に合わせて置き換えてください。

⿎イメージ名、イメージグループ名、VHD(VHDX)ファイル名は、環境に合わせて置き換えてく ださい。

⿎Dドライブのラベル名は適宜変更してください。VHD(VHDX)ファイルは、Dドライブに配置 され、ブート環境とVHDネイティブブート環境のCドライブを提供します。

<?xml version="1.0" ?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-Setup" publicKeyToken=a

"31bf3856ad364e35"

language="neutral" versionScope="nonSxS" processorArchitecture="x86">

<WindowsDeploymentServices>

<Login>

<WillShowUI>OnError</WillShowUI>

<Credentials>

<Username>administrator</Username>

<Domain>contoso</Domain>

<Password>DomainP@ssw0rd</Password>

</Credentials>

</Login>

<ImageSelection>

<WillShowUI>OnError</WillShowUI>

<InstallImage>

<ImageName> Image Name </ImageName>

<ImageGroup>VHD Image Group</ImageGroup>

<Filename>filename.vhdx</Filename>

</InstallImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

</ImageSelection>

</WindowsDeploymentServices>

<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>

<Disk>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

<CreatePartitions>

ドキュメント内 x_app-wintec.indd (ページ 36-45)

関連したドキュメント