Seite 2 von 3
Re: Win11-24H2 WINPE Module?
Verfasst: 16 Okt 2024, 10:33
von m.radtke
Hi
Ja das habe ich eben auch gesehen, das verhindert auch den Extend von der C Partition um die Größe der Winpe Partition.......
Bin dran

Re: Win11-24H2 WINPE Module?
Verfasst: 17 Okt 2024, 15:35
von holgy58
ostaehr hat geschrieben: ↑15 Okt 2024, 15:54
Hi,
Asche auf mein Haupt, mit dem richtig gebauten PE klappt es natürlich auch mit der HW Prüfung.
-------------
Moin,
wie hast du die Optionen WinPe-WMI und WinPE-Securestartup im PE Aktiviert?
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 03:02
von SisterOfMercy
holgy58 hat geschrieben: ↑17 Okt 2024, 15:35
wie hast du die Optionen WinPe-WMI und WinPE-Securestartup im PE Aktiviert?
Install the latest Windows ADK WinPE add-on.
Create two directories:
'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\'
'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\temp\'
Open powershell, we're mounting the image, and adding the components:
Code: Alles auswählen
Mount-WindowsImage -ImagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim' -Index 1 -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\'
Add-WindowsPackage -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\' -PackagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab'
Add-WindowsPackage -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\' -PackagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab'
Add-WindowsPackage -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\' -PackagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-SecureStartup.cab'
Add-WindowsPackage -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\' -PackagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-SecureStartup_en-us.cab'
In a command window (my windows 10 version does not have this as a powershell command yet):
Code: Alles auswählen
dism /cleanup-image /image:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount" /StartComponentCleanup /ResetBase /ScratchDir:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\temp"
More powershell to save and export the image:
Code: Alles auswählen
Dismount-WindowsImage -Path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\mount\' -Save
Export-WindowsImage -SourceImagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim' -SourceIndex 1 -DestinationImagePath 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe-export.wim' -CheckIntegrity
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 08:57
von holgy58
Thanks,
but the mounting doesn't work, I don't know what I'm doing wrong?

- Screenshot 2024-10-18 085403.png (80.4 KiB) 5542 mal betrachtet
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 09:10
von ostaehr
zwischen - und Path darf kein Leerzeichen rein
Hier sind meine Zeilen, die ich NACH dem opsi-winpe Paket erst ausführe:
Code: Alles auswählen
dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\de-de\WinPE-WMI_de-de.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-SecureStartup.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-SecureStartup_en-us.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\de-de\WinPE-SecureStartup_de-de.cab"
dism /image:"c:\winpe_amd64\mount" /add-package /packagepath:"c:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\de-de\lp.cab"
dism /Unmount-Image /MountDir:"C:\WinPE_amd64\mount" /commit
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 09:23
von holgy58
Hat Funktioniert ...
Vielen Dank!
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 11:43
von SisterOfMercy
ostaehr hat geschrieben: ↑18 Okt 2024, 09:10
zwischen - und Path darf kein Leerzeichen rein
Sorry, I had copied the wrong one, edited my post.
Re: Win11-24H2 WINPE Module?
Verfasst: 18 Okt 2024, 17:58
von JakobCGN
Kurzes Danke von mir für eure Snippets!

hab mehrmals ein WinPE für win10 erstellt, aber für Win11 nur 1-2x. Hat damals funktioniert, wollte ungerne wieder mich durch MS Seiten/Google wegen Secure/wmi wurschteln.
Re: Win11-24H2 WINPE Module?
Verfasst: 22 Okt 2024, 12:39
von m.radtke
ostaehr hat geschrieben: ↑16 Okt 2024, 09:51
Offenbar fummelt das 24h2 Setup ungefragt an der Partitionierung rum und erstellt eine WinRE Partition.
Hi
Das Problem ist nun behoben. In opsi 4.3 experimental gibt es nun Version 4.3.0.2-6.
Diese behebt das Problem der von der setup.exe erstellten Recovery Partition.
Feedback erwünscht
Gruß
Mathias
Re: Win11-24H2 WINPE Module?
Verfasst: 22 Okt 2024, 13:22
von holgy58
Hallo Mathias,
sieht sehr gut aus

- Screenshot 2024-10-22 132017.png (211.13 KiB) 5122 mal betrachtet
VG
Holger