| | 1 | = WinPE = |
| | 2 | |
| | 3 | [[PageOutline]] |
| | 4 | |
| | 5 | Used to install Windows >= 7 with OPSI. |
| | 6 | |
| | 7 | Gernerl Information about WinPE at http://en.wikipedia.org/wiki/Windows_Preinstallation_Environment |
| | 8 | |
| | 9 | Since Windows 8, WinPE 4.0 is available. However, Windows 8 can also be installed using WinPE 3.x. |
| | 10 | |
| | 11 | == WinPE 3.x == |
| | 12 | |
| | 13 | see http://download.uib.de/opsi4.0/doc/html/opsi-getting-started/opsi-getting-started.html#opsi-getting-started-firststeps-osinstall-fill-base-packages-nt6 |
| | 14 | |
| | 15 | == WinPE 4.0 == |
| | 16 | |
| | 17 | === Modify WinPE for OPSI === |
| | 18 | |
| | 19 | Install Windows ADK, see "Windows Deployment with the Windows ADK" at http://technet.microsoft.com/en-us/library/hh824947.aspx |
| | 20 | |
| | 21 | Perform the following commands: |
| | 22 | {{{ |
| | 23 | c: |
| | 24 | |
| | 25 | rem Set Environment variables |
| | 26 | |
| | 27 | cd C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools |
| | 28 | DandIsetenv |
| | 29 | |
| | 30 | |
| | 31 | rem Create Initial winpe directory |
| | 32 | |
| | 33 | cd C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment |
| | 34 | copype amd64 c:\winpe |
| | 35 | |
| | 36 | |
| | 37 | rem Mount and modify WinPE boot image |
| | 38 | |
| | 39 | cd c:\winpe |
| | 40 | dism /Get-WIMInfo /WimFile:C:\winpe\media\sources\boot.wim |
| | 41 | |
| | 42 | dism /cleanup-wim |
| | 43 | |
| | 44 | dism /Mount-Wim /WimFile:C:\winpe\media\sources\boot.wim /index:1 /MountDir:C:\winpe\mount |
| | 45 | |
| | 46 | type C:\winpe\mount\Windows\System32\startnet.cmd |
| | 47 | echo c:\opsi\startnet.cmd > C:\winpe\mount\Windows\System32\startnet.cmd |
| | 48 | |
| | 49 | dism /unmount-Wim /MountDir:C:\winpe\mount /Commit |
| | 50 | |
| | 51 | |
| | 52 | rem Copy media subdirectory as winpe Directory to OPSI server |
| | 53 | |
| | 54 | cp media/. /var/lib/opsi/depot/win*\winpe/. |
| | 55 | }}} |
| | 56 | |
| | 57 | Some other hints concerning OPSI WinPE Images, see http://gruppenkasper.net/tag/opsi/ |