Auto-commit: 2025-10-31 08:59:02
This commit is contained in:
5
Provision/unattend.xml/readme.md
Normal file
5
Provision/unattend.xml/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Documentation
|
||||
|
||||
For the full documentation, please visit the link below:
|
||||
|
||||
[Windows Provisionning With Tanium](https://blog.wuibaille.fr/2024/09/windows-provisionning-with-tanium/)
|
||||
114
Provision/unattend.xml/unattend.xml
Normal file
114
Provision/unattend.xml/unattend.xml
Normal file
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||
<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>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="specialize">
|
||||
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
||||
<Identification>
|
||||
<JoinWorkgroup>MyWorkgroup</JoinWorkgroup>
|
||||
</Identification>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
||||
<ComputerName>nomPC</ComputerName>
|
||||
<RegisteredOrganization>MonOrganisation</RegisteredOrganization>
|
||||
<RegisteredOwner>MonOrganisation</RegisteredOwner>
|
||||
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
|
||||
<TimeZone>Romance Standard Time</TimeZone>
|
||||
<ProductKey>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</ProductKey>
|
||||
</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">
|
||||
<Home_Page>www.google.fr</Home_Page>
|
||||
</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">
|
||||
<Description>EnableAdmin</Description>
|
||||
<Order>1</Order>
|
||||
<Path>cmd /c net user Administrator /active:yes</Path>
|
||||
</RunSynchronousCommand>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Description>UnfilterAdministratorToken</Description>
|
||||
<Order>2</Order>
|
||||
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
|
||||
</RunSynchronousCommand>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Description>disable user account page</Description>
|
||||
<Order>3</Order>
|
||||
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
|
||||
</RunSynchronousCommand>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Description>disable async RunOnce</Description>
|
||||
<Order>4</Order>
|
||||
<Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>
|
||||
</RunSynchronousCommand>
|
||||
</RunSynchronous>
|
||||
</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>fr-fr;040c:0000040c</InputLocale>
|
||||
<SystemLocale>en-us</SystemLocale>
|
||||
<UILanguage>en-us</UILanguage>
|
||||
<UserLocale>en-us</UserLocale>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-TapiSetup" 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">
|
||||
<TapiConfigured>0</TapiConfigured>
|
||||
<TapiUnattendLocation>
|
||||
<AreaCode>""</AreaCode>
|
||||
<CountryOrRegion>1</CountryOrRegion>
|
||||
<LongDistanceAccess>9</LongDistanceAccess>
|
||||
<OutsideAccess>9</OutsideAccess>
|
||||
<PulseOrToneDialing>1</PulseOrToneDialing>
|
||||
<DisableCallWaiting>""</DisableCallWaiting>
|
||||
<InternationalCarrierCode>""</InternationalCarrierCode>
|
||||
<LongDistanceCarrierCode>""</LongDistanceCarrierCode>
|
||||
<Name>Default</Name>
|
||||
</TapiUnattendLocation>
|
||||
</component>
|
||||
<component name="Microsoft-Windows-SystemRestore-Main" 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">
|
||||
<DisableSR>1</DisableSR>
|
||||
</component>
|
||||
</settings>
|
||||
<settings pass="oobeSystem">
|
||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
||||
<UserAccounts>
|
||||
<AdministratorPassword>
|
||||
<Value>Password1</Value>
|
||||
<PlainText>true</PlainText>
|
||||
</AdministratorPassword>
|
||||
</UserAccounts>
|
||||
<AutoLogon>
|
||||
<Enabled>true</Enabled>
|
||||
<Username>Administrator</Username>
|
||||
<Domain>.</Domain>
|
||||
<Password>
|
||||
<Value>Password1</Value>
|
||||
<PlainText>true</PlainText>
|
||||
</Password>
|
||||
<LogonCount>1</LogonCount>
|
||||
</AutoLogon>
|
||||
<Display></Display>
|
||||
<OOBE>
|
||||
<HideEULAPage>true</HideEULAPage>
|
||||
<NetworkLocation>Work</NetworkLocation>
|
||||
<ProtectYourPC>1</ProtectYourPC>
|
||||
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
||||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
||||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
||||
<SkipMachineOOBE>true</SkipMachineOOBE>
|
||||
<SkipUserOOBE>true</SkipUserOOBE>
|
||||
</OOBE>
|
||||
<RegisteredOrganization>MonOrganisation</RegisteredOrganization>
|
||||
<RegisteredOwner>MonOrganisation</RegisteredOwner>
|
||||
<TimeZone>Romance Standard Time</TimeZone>
|
||||
</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>fr-fr;040c:0000040c</InputLocale>
|
||||
<SystemLocale>en-us</SystemLocale>
|
||||
<UILanguage>en-us</UILanguage>
|
||||
<UserLocale>en-us</UserLocale>
|
||||
</component>
|
||||
</settings>
|
||||
<cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||
</unattend>
|
||||
Reference in New Issue
Block a user