|   | 17 | Alternativly use following commands: | 
          
          
            |   | 18 |  | 
          
          
            |   | 19 | Install Windows WAIK | 
          
          
            |   | 20 |  | 
          
          
            |   | 21 | {{{ | 
          
          
            |   | 22 | c: | 
          
          
            |   | 23 |  | 
          
          
            |   | 24 | rem Create Initial winpe directory | 
          
          
            |   | 25 | c:\Program Files\Windows AIK\Tools\PETools\copype.cmd amd64 c:\winpe64 | 
          
          
            |   | 26 |  | 
          
          
            |   | 27 | copy c:\winpe64\winpe.wim c:\winpe64\ISO\sources\boot.wim | 
          
          
            |   | 28 |  | 
          
          
            |   | 29 | rem Mount and modify WinPE boot image | 
          
          
            |   | 30 |  | 
          
          
            |   | 31 | cd c:\winpe64 | 
          
          
            |   | 32 | dism /Get-WIMInfo /WimFile:C:\winpe64\ISO\sources\boot.wim | 
          
          
            |   | 33 |  | 
          
          
            |   | 34 | dism /cleanup-wim | 
          
          
            |   | 35 |  | 
          
          
            |   | 36 | dism /Mount-Wim /WimFile:C:\winpe64\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe64\mount | 
          
          
            |   | 37 |  | 
          
          
            |   | 38 | type C:\winpe64\mount\Windows\System32\startnet.cmd | 
          
          
            |   | 39 | echo c:\opsi\startnet.cmd > C:\winpe64\mount\Windows\System32\startnet.cmd | 
          
          
            |   | 40 |  | 
          
          
            |   | 41 | dism /unmount-Wim /MountDir:C:\winpe64\mount /Commit | 
          
          
            |   | 42 | }}} | 
          
          
            |   | 43 |  | 
          
          
            |   | 44 |  | 
          
          
            |   | 45 | Copy ISO subdirectory as winpe Directory to OPSI server: | 
          
          
            |   | 46 |  | 
          
          
            |   | 47 | {{{ | 
          
          
            |   | 48 | cp ISO/. /var/lib/opsi/depot/win*\winpe/. | 
          
          
            |   | 49 | }}} | 
          
          
            |   | 50 |  | 
          
          
            |   | 51 | Hint: The boot.wim file is also accessable by the 7z archiving programm (at least for WinPE versions <4.0) | 
          
          
            |   | 52 |  |