Guest User

Untitled

a guest
Oct 18th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3. <settings pass="oobeSystem">
  4. <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">
  5. <InputLocale>en-GB</InputLocale>
  6. <SystemLocale>en-GB</SystemLocale>
  7. <UILanguage>en-GB</UILanguage>
  8. <UILanguageFallback>en-GB</UILanguageFallback>
  9. <UserLocale>en-GB</UserLocale>
  10. </component>
  11. <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">
  12. <OOBE>
  13. <HideEULAPage>true</HideEULAPage>
  14. </OOBE>
  15. <FirstLogonCommands>
  16. <SynchronousCommand wcm:action="add">
  17. <CommandLine>cscript //b c:windowssystem32slmgr.vbs /ato</CommandLine>
  18. <Description>Force Windows Activation</Description>
  19. <Order>1</Order>
  20. <RequiresUserInput>false</RequiresUserInput>
  21. </SynchronousCommand>
  22. <SynchronousCommand wcm:action="add">
  23. <Order>2</Order>
  24. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v AUOptions /t REG_DWORD /d 00000004 /f</CommandLine>
  25. <Description>Turn on automatic updates</Description>
  26. <RequiresUserInput>false</RequiresUserInput>
  27. </SynchronousCommand>
  28. <SynchronousCommand wcm:action="add">
  29. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v ElevateNonAdmins /t REG_DWORD /d 00000001 /f</CommandLine>
  30. <Description>Allow all users (regardless of admin) to manage updates</Description>
  31. <Order>3</Order>
  32. <RequiresUserInput>false</RequiresUserInput>
  33. </SynchronousCommand>
  34. <SynchronousCommand wcm:action="add">
  35. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v IncludeRecommendedUpdates /t REG_DWORD /d 00000001 /f </CommandLine>
  36. <Description>Include Recommended as well as important</Description>
  37. <Order>4</Order>
  38. <RequiresUserInput>false</RequiresUserInput>
  39. </SynchronousCommand>
  40. <SynchronousCommand wcm:action="add">
  41. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v ScheduledInstallDay /t REG_DWORD /d 00000000 /f</CommandLine>
  42. <Description>Install every day</Description>
  43. <Order>5</Order>
  44. <RequiresUserInput>false</RequiresUserInput>
  45. </SynchronousCommand>
  46. <SynchronousCommand wcm:action="add">
  47. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto Update" /v ScheduledInstallTime /t REG_DWORD /d 00000003 /f</CommandLine>
  48. <Description>3am installation</Description>
  49. <Order>6</Order>
  50. <RequiresUserInput>false</RequiresUserInput>
  51. </SynchronousCommand>
  52. <SynchronousCommand wcm:action="add">
  53. <CommandLine>reg add "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesSNMPParametersExtensionAgents" /v snmptools /t REG_SZ /d "SOFTWAREsnmptoolsCurrentVersion" /f</CommandLine>
  54. <Description>Registry entry for snmp monitoring</Description>
  55. <Order>7</Order>
  56. <RequiresUserInput>false</RequiresUserInput>
  57. </SynchronousCommand>
  58. <SynchronousCommand wcm:action="add">
  59. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREWow6432Nodesnmptoolscurrentversion" /v counters /t REG_SZ /d "%PROGRAMFILES(x86)%SnmpToolscounter.ini" /f</CommandLine>
  60. <Description>Registry entry for snmp monitoring</Description>
  61. <Order>8</Order>
  62. <RequiresUserInput>false</RequiresUserInput>
  63. </SynchronousCommand>
  64. <SynchronousCommand wcm:action="add">
  65. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREWow6432Nodesnmptoolscurrentversion" /v debug /t REG_SZ /d "0" /f</CommandLine>
  66. <Description>Registry entry for snmp monitoring</Description>
  67. <Order>9</Order>
  68. <RequiresUserInput>false</RequiresUserInput>
  69. </SynchronousCommand>
  70. <SynchronousCommand wcm:action="add">
  71. <CommandLine>reg add "HKEY_LOCAL_MACHINESOFTWAREWow6432Nodesnmptoolscurrentversion" /v pathname /t REG_SZ /d "%systemroot%snmptools.dll" /f</CommandLine>
  72. <Description>Registry entry for snmp monitoring</Description>
  73. <Order>10</Order>
  74. <RequiresUserInput>false</RequiresUserInput>
  75. </SynchronousCommand>
  76. <SynchronousCommand wcm:action="add">
  77. <CommandLine>cmd /c mkdir "%PROGRAMFILES(x86)%SnmpTools" & type NUL > "%PROGRAMFILES(x86)%SnmpToolscounter.ini"</CommandLine>
  78. <Description>Create snmp counter file and folder</Description>
  79. <Order>11</Order>
  80. <RequiresUserInput>false</RequiresUserInput>
  81. </SynchronousCommand>
  82. </FirstLogonCommands>
  83. <UserAccounts>
  84. <AdministratorPassword>
  85. <Value>ADMINPASSWORD</Value>
  86. <PlainText>false</PlainText>
  87. </AdministratorPassword>
  88. </UserAccounts>
  89. </component>
  90. </settings>
  91. <settings pass="offlineServicing">
  92. <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">
  93. <ComputerName>*</ComputerName>
  94. </component>
  95. </settings>
  96. <settings pass="specialize">
  97. <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">
  98. <ComputerName></ComputerName>
  99. <CopyProfile>true</CopyProfile>
  100. <ProductKey>PRODUCTKEY</ProductKey>
  101. </component>
  102. </settings>
  103. <settings pass="windowsPE">
  104. <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">
  105. <UserData>
  106. <AcceptEula>true</AcceptEula>
  107. </UserData>
  108. </component>
  109. </settings>
  110. <cpi:offlineImage cpi:source="wim:c:/users/USER/documents/tasks/windows%202016%20template%20task/install.wim#Windows Server 2016 SERVERDATACENTER" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
  111. </unattend>
  112.  
  113. <?xml version="1.0" encoding="utf-8"?>
  114. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  115. <settings pass="specialize">
  116. <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">
  117. <ShowWindowsLive>false</ShowWindowsLive>
  118. <TimeZone>Central Standard Time</TimeZone>
  119. </component>
  120. <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">
  121. <SkipAutoActivation>true</SkipAutoActivation>
  122. </component>
  123. <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">
  124. <CEIPEnabled>0</CEIPEnabled>
  125. </component>
  126. </settings>
  127. <settings pass="oobeSystem">
  128. <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">
  129. <InputLocale>en-US</InputLocale>
  130. <SystemLocale>en-US</SystemLocale>
  131. <UILanguage>en-US</UILanguage>
  132. <UserLocale>en-US</UserLocale>
  133. </component>
  134. <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">
  135. <OOBE>
  136. <HideEULAPage>true</HideEULAPage>
  137. </OOBE>
  138. </component>
  139. </settings>
  140. </unattend>
  141.  
  142. <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump ">
Add Comment
Please, Sign In to add comment