Guest User

AutoUnattend.xml

a guest
Sep 24th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  4.  
  5. <settings pass="windowsPE">
  6.  
  7. <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">
  8.  
  9. <UserData>
  10.  
  11. <ProductKey>
  12.  
  13. <WillShowUI>Always</WillShowUI>
  14.  
  15. </ProductKey>
  16.  
  17. </UserData>
  18.  
  19. <UpgradeData>
  20.  
  21. <Upgrade>true</Upgrade>
  22.  
  23. <WillShowUI>Always</WillShowUI>
  24.  
  25. </UpgradeData>
  26.  
  27. </component>
  28.  
  29. <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
  30.  
  31. <DriverPaths>
  32.  
  33. <PathAndCredentials wcm:keyValue="1" wcm:action="add">
  34.  
  35. <Path>$WinPEDriver$</Path>
  36.  
  37. </PathAndCredentials>
  38.  
  39. </DriverPaths>
  40.  
  41. </component>
  42.  
  43. </settings>
  44.  
  45. <settings pass="specialize">
  46.  
  47. <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">
  48.  
  49. <RunSynchronous>
  50.  
  51. <RunSynchronousCommand wcm:action="add">
  52.  
  53. <Order>1</Order>
  54.  
  55. <Path>cmd /c "FOR %i IN (X F E D C) DO (FOR /F "tokens=6" %t in ('vol %i:') do (IF /I %t NEQ "" (IF EXIST %i:\BootCamp\BootCamp.xml Reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v AppsRoot /t REG_SZ /d %i /f )))"</Path>
  56.  
  57. </RunSynchronousCommand>
  58.  
  59. </RunSynchronous>
  60.  
  61. </component>
  62.  
  63. </settings>
  64.  
  65. <settings pass="oobeSystem">
  66.  
  67. <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">
  68.  
  69. <FirstLogonCommands>
  70.  
  71. <SynchronousCommand wcm:action="add">
  72.  
  73. <Description>AMD CCC Setup</Description>
  74.  
  75. <CommandLine>%AppsRoot%:\BootCamp\Drivers\ATI\ATIGraphics\Bin64\ATISetup.exe -Install</CommandLine>
  76.  
  77. <Order>1</Order>
  78.  
  79. <RequiresUserInput>false</RequiresUserInput>
  80.  
  81. </SynchronousCommand>
  82.  
  83. <SynchronousCommand wcm:action="add">
  84.  
  85. <Description>BootCamp setup</Description>
  86.  
  87. <CommandLine>%AppsRoot%:\BootCamp\setup.exe</CommandLine>
  88.  
  89. <Order>2</Order>
  90.  
  91. <RequiresUserInput>false</RequiresUserInput>
  92.  
  93. </SynchronousCommand>
  94.  
  95. </FirstLogonCommands>
  96.  
  97. </component>
  98.  
  99. </settings>
  100.  
  101. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment