Advertisement
Guest User

Автоматизация Post-Install Windows 7

a guest
Mar 26th, 2016
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.66 KB | None | 0 0
  1. @echo off
  2. :: Драйвер для Realtek PCIe GBE Family Controller
  3. C:\post_install\network\setup.exe -s
  4. TIMEOUT 10
  5. :: Перенос ТЕМР на D:\
  6. SET TEMP=D:\Temp
  7. SET TMP=D:\Temp
  8. TIMEOUT 10
  9. :: Отключение служб
  10. :: Superfetch
  11. net stop SysMain
  12. sc config SysMain start= demand
  13. TIMEOUT 10
  14. :: Windows Defender
  15. net stop WinDefend
  16. sc config WinDefend start= demand
  17. TIMEOUT 10
  18. :: Центр обеспечения безопасности
  19. net stop wscsvc
  20. sc config wscsvc start= demand
  21. TIMEOUT 10
  22. :: Брандмауэр Windows
  23. net stop MpsSvc
  24. sc config MpsSvc start= demand
  25. TIMEOUT 10
  26. :: Windows Update
  27. net stop wuauserv
  28. sc config wuauserv start= demand
  29. TIMEOUT 10
  30. :: Windows Search
  31. net stop WSearch
  32. sc config WSearch start= demand
  33. TIMEOUT 10
  34. :: Установка Chocolatey
  35. @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
  36. :: PowerShell 4.0
  37. choco install -y powershell
  38. :: Net Framework 4.6.1
  39. choco install -y dotnet4.6.1
  40. :: DX Jun2010
  41. choco install -y directx
  42. :: Часовые пояса RTZ2 Update
  43. wusa C:\post_install\Windows6.1-KB2998527-x64.msu /quiet /norestart
  44. TIMEOUT 10
  45. :: OSD
  46. msiexec /i C:\post_install\3RVX_2.5.msi /passive
  47. TIMEOUT 10
  48. :: Репы шоколада временно сломаны, ставим оффлайн
  49. mkdir %appdata%\foobar2000
  50. xcopy /s /e /h C:\post_install\foobar2000\*.* %appdata%\foobar2000
  51. C:\post_install\foobar2000_v1.3.10.exe /S
  52. TIMEOUT 10
  53. :: Устаовка прошла криво, поэтому закоментим
  54. :: msiexec /i C:\post_install\qttabbar-v1.5.0.0b2.msi /passive
  55. :: copy C:\post_install\Lng_QTTabBar_Russian.xml "C:\Program Files (x86)\QTTabBar"
  56. :: regedit /s /q C:\post_install\qttabbar.reg
  57. :: TIMEOUT 10
  58. :: Б-го мерзкий флэш плеер
  59. choco install -y flashplayerplugin
  60. choco install -y flashplayeractivex
  61. choco install -y flashplayerppapi
  62. :: VisualC редисты
  63. choco install -y vcredist2005
  64. choco install -y vcredist2008
  65. choco install -y vcredist2010
  66. choco install -y vcredist2012
  67. choco install -y vcredist2013
  68. choco install -y vcredist2015
  69. :: Жаба
  70. choco install -y jre8
  71. :: Архиватор
  72. choco install -y 7zip.install
  73. :: Google Chrome
  74. :: Для огнелиса:
  75. :: choco install -y firefox
  76. :: или
  77. :: choco install -y firefoxesr
  78. choco install -y googlechrome
  79. :: Годная смотрека PDF, FB2, DjVU
  80. choco install -y stduviewer
  81. :: Для каталогизации музыки
  82. choco install -y mp3tag
  83. :: Media Player Classic Home Cinema
  84. choco install -y mpc-hc
  85. :: Notepad++
  86. choco install -y notepadplusplus.install
  87. :: Установка Far
  88. :: Скопирую свои настройки, предварительно создав папку в %appdata%
  89. mkdir "%appdata%\Far Manager"
  90. xcopy /s /e /h C:\post_install\far\*.* "%appdata%\Far Manager"
  91. choco install -y far
  92. :: FastStone Image Viewer
  93. choco install -y fsviewer
  94. :: Paint.net
  95. choco install -y paint.net
  96. :: Анахронизм
  97. choco install -y cdburnerxp
  98. :: Осёл
  99. choco install -y ie11
  100. :: Установка драйвера на Realtek HD Audio
  101. C:\post_install\Realtek_HDA\setup.exe -s
  102. TIMEOUT 10
  103. :: В поисках решения для установки с ключами
  104. :: C:\post_install\AMD\AMD-Catalyst-15.7.1-SB-SATA-AHCI-Win10-Win8.1-Win7\setup.exe
  105. :: TIMEOUT 10
  106. :: C:\post_install\AMD\Non-WHQL-64Bit-Radeon-Software-Crimson-16.3.1-Win10-Win8.1-Win7-March16\setup.exe
  107. :: TIMEOUT 10
  108. :: Принудительная перезагрузка через 1 мин. 30 сек.
  109. shutdown /r /t 90
  110. @pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement