WinPE erstellen für Unattended Install

Antworten
Benutzeravatar
Thomas_H
Beiträge: 524
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

WinPE erstellen für Unattended Install

Beitrag von Thomas_H »

Moinsens,

es gab mal ein schönes Handbuch in welchem die Vorbereitung für die unbeaufsichtigte Installation von Betriebssystemen aufgeführt ist. Ich habe es für Opsi 4.3 nicht gefunden. Ich muss die WinPE aus Win11 erstellen (lassen).

Gibt es das noch oder reicht es nach der Anleitung vom Mickysoft vorzugehen?

Grüsskens,

Thomas
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Benutzeravatar
j.werner
uib-Team
Beiträge: 64
Registriert: 08 Okt 2019, 13:32

Re: WinPE erstellen für Unattended Install

Beitrag von j.werner »

Hallo Thomas,
meinen Sie das hier:

https://docs.opsi.org/opsi-docs-de/4.3/ ... ges-nt6-pe

Grüße Jan
Benutzeravatar
Thomas_H
Beiträge: 524
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: WinPE erstellen für Unattended Install

Beitrag von Thomas_H »

Hallo Jan,
geeenauuuu DAS! :) Danke!

Grüsskens,

Thomas
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Benutzeravatar
Thomas_H
Beiträge: 524
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: WinPE erstellen für Unattended Install

Beitrag von Thomas_H »

Moinsens,

in der Beschreibung ist wahrscheinlich durch's Veralten ein Fehler drin (betrifft Windows 11).

Zunächst reicht es nicht nur das WinPE-Addon zu installieren. Es muss das ADK mit installiert werden. Das opsi-winpe hat in beiden Fällen nicht funktioniert. Dazu mal die Logfiles:

Code: Alles auswählen

(97)      [1] [2024-02-07 14:46:35.477] [opsi-winpe] 
(98)      [1] [2024-02-07 14:46:35.477] [opsi-winpe] ============ Version 4.12.12.1 script "p:\opsi-winpe\once.opsiscript"
(99)      [1] [2024-02-07 14:46:35.477] [opsi-winpe]              used script encoding: utf8
(100)     [1] [2024-02-07 14:46:35.477] [opsi-winpe]              used system encoding: cp1252
(101)     [1] [2024-02-07 14:46:35.477] [opsi-winpe]              start: 2024-02-07  14:46:35
(102)     [1] [2024-02-07 14:46:35.477] [opsi-winpe]              installing product: opsi-winpe_4.2.0-3
(103)     [1] [2024-02-07 14:46:35.477] [opsi-winpe]              on client named    "fangdorn.tux-net.local"
(104)     [1] [2024-02-07 14:46:35.478] [opsi-winpe]              loggedin user    "Administrator"
(105)     [1] [2024-02-07 14:46:35.478] [opsi-winpe]              opsi-script running as    "SYSTEM"
(106)     [1] [2024-02-07 14:46:35.478] [opsi-winpe]              opsi-script running with admin privileges
(107)     [1] [2024-02-07 14:46:35.478] [opsi-winpe]              opsi-script running in standard script mode
(108)     [1] [2024-02-07 14:46:35.478] [opsi-winpe] Scaling for screen DPI: 96
(109)     [1] [2024-02-07 14:46:35.478] [opsi-winpe] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
(110)     [1] [2024-02-07 14:46:35.478] [opsi-winpe] system infos:
(111)     [1] [2024-02-07 14:46:35.480] [opsi-winpe] 18-60-24-F7-00-07  -  PC hardware address
(112)     [1] [2024-02-07 14:46:35.480] [opsi-winpe] fangdorn  -  IP name
(113)     [1] [2024-02-07 14:46:35.480] [opsi-winpe] 192.168.4.3  -  IP address
(114)     [1] [2024-02-07 14:46:35.480] [opsi-winpe] DEU  -  System default locale
(125)     [1] [2024-02-07 14:46:35.480] [opsi-winpe] MS Windows 11.0 (10.0) 64 Bit, Release: 23H2, Edition: PRODUCT_PROFESSIONAL
(129)     [1] [2024-02-07 14:46:35.487] [opsi-winpe] opsi service version : 4 (4.3.5.4)
(130)     [1] [2024-02-07 14:46:35.487] [opsi-winpe] 
(266)     [3] [2024-02-07 14:46:38.594] [opsi-winpe]     Error: move/rename: source: C:\winpe_x86\media\sources\winpe.wim is no existing file or directory
(295)     [3] [2024-02-07 14:46:41.008] [opsi-winpe]     Error: powershellCall_mount failed
(319)     [2] [2024-02-07 14:46:43.330] [opsi-winpe]     Error level set to fatal
(325)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] ___________________
(326)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] script finished: failed
(327)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] 2 errors
(328)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] 0 warnings
(329)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] Exitcode will be: 1
(330)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] 
(331)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] handled product: opsi-winpe Version: 4.2.0-3
(332)     [1] [2024-02-07 14:46:43.330] [opsi-winpe] 
Wenn man das WinPE händisch erstellen lässt, was gut funktioniert hat, soll man laut Anleitung

Code: Alles auswählen

5. Kopieren Sie den Inhalt von C:\winpe\ISO nach /var/lib/opsi/depot/<productid>/winpe...
ein c:\winpe\ISO existiert allerdings nicht nach der Eingabe aller beschriebenen Kommandos. Es existieren danach drei Verzeichnisse:

Code: Alles auswählen

C:\winpe\media
C:\winpe\mount
C:\winpe\fwfiles
Verschiebt man diese in das Verzeichnis winpe der Win11-Installation endet das nur mit einer Fehlermeldung. "Found winpe-folder but it's emtpy"
Richtig ist den Inhalt von c:\winpe\mount zu verschieben.

Grüsskens,

Thomas
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: WinPE erstellen für Unattended Install

Beitrag von SisterOfMercy »

Thomas_H hat geschrieben: 07 Feb 2024, 15:20 in der Beschreibung ist wahrscheinlich durch's Veralten ein Fehler drin (betrifft Windows 11).
(266) [3] [2024-02-07 14:46:38.594] [opsi-winpe] Error: move/rename: source: C:\winpe_x86\media\sources\winpe.wim is no existing file or
Yeah, I'd say there is something wrong with the bitness. Is the productproperty set to 64-bit?
I think you need a specific version of the WinPE Addon for it to contain a 32-bit version of the PE.

https://learn.microsoft.com/en-us/windo ... dk-install
"Windows 11 is not available in a 32-bit architecture, so the 32-bit version of Windows PE for Windows 11 is not supported. The last supported 32-bit version of Windows PE is for Windows 10, and can't be used to deploy Windows 11."
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten