Windows 10 22H2 update

Antworten
Peckatop
Beiträge: 8
Registriert: 20 Mär 2023, 15:35

Windows 10 22H2 update

Beitrag von Peckatop »

Liebe Forenmitglieder,

ich erstelle gerade ein 22h2-Update-Paket, aber es funktioniert nicht. Es startet, aber dann passiert nichts und es wird angezeigt, dass es erfolgreich installiert wurde. Kann mir jemand einen Weg vorschlagen, wie ich es machen kann oder mich anleiten?

https://drive.google.com/file/d/1y6Ecrg ... drive_link

Vielen Dank im Voraus!
Benutzeravatar
ThomasT
uib-Team
Beiträge: 565
Registriert: 26 Jun 2013, 12:26

Re: Windows 10 22H2 update

Beitrag von ThomasT »


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Peckatop
Beiträge: 8
Registriert: 20 Mär 2023, 15:35

Re: Windows 10 22H2 update

Beitrag von Peckatop »

ThomasT hat geschrieben: 12 Jul 2023, 14:08 Hallo Peckatop,

wie wäre es mit:
https://download.uib.de/opsi4.2/stable/ ... 2h2-2.opsi
Hi,

ich habe versucht aber konnte ich nicht verstehen wie soll es funktionieren.. ich habe manual da gefunden im PDF, aber funktionierte bei mir nicht (mit diese ISO Datei)
feltel
Beiträge: 280
Registriert: 09 Dez 2014, 07:22

Re: Windows 10 22H2 update

Beitrag von feltel »

Du willst das kleine Enablement-Update verteilen, um von z.B. 21H2 auf 22H2 zu kommen, richtig? Ich habe für unseren Einsatz ff. Skript:

Code: Alles auswählen

[Actions]
requiredWinstVersion >= "4.11.5.16"

DefVar $bitmap$
DefVar $headline$
DefVar $ExitCode$
DefVar $CurrentWindowsBuild$
DefVar $CurrentWindowsPatchlevel$
include_append "%WinstDir%\lib\section_sub_check_exitcode.opsiinc"
Set $headline$ = getValue("name", getProductMap)
Set $bitmap$ = "_logo.png"


ShowBitmap "%ScriptPath%\" + $bitmap$ $headline$
Message "installiere " + $headline$ + " %installingProdVersion%"

set $CurrentWindowsBuild$ = GetRegistryStringValueSysNative ("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] CurrentBuild")
set $CurrentWindowsPatchlevel$ = GetRegistryStringValueSysNative ("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] UBR")

Switch $CurrentWindowsBuild$

        Case "19041"
                Comment "Windows 10 2004 found."
                if $CurrentWindowsPatchlevel$ INT>= "1415"
                        comment "Windows 10 2004 Cummulative Update KB5008212 or later found. 22H2 Upgrade can be applied."
                        DosInAnIcon_22H2Upgrade
                        opsiServiceCall_setProductActionRequest_Install_Edge
                        ExitWindows /Reboot
                else
                        LogError "Windows 10 2004 Cummulative Update KB5008212 not found. 22H2 Upgrade cannot be applied."
                        isFatalError
                endif
        EndCase
        
        Case "19042"
                Comment "Windows 10 20H2 found."
                if $CurrentWindowsPatchlevel$ INT>= "1706"
                        comment "Windows 10 20H2 Cummulative Update KB5013942 or later found. 22H2 Upgrade can be applied."
                        DosInAnIcon_22H2Upgrade
                        ExitWindows /Reboot
                else
                        LogError "Windows 10 20H2 Cummulative Update KB5013942 not found. 22H2 Upgrade cannot be applied."
                        isFatalError
                endif
        EndCase

        Case "19043"
                Comment "Windows 10 21H1 found."
                if $CurrentWindowsPatchlevel$ INT>= "1806"
                        comment "Windows 10 20H2 Cummulative Update KB5014666 or later found. 22H2 Upgrade can be applied."
                        DosInAnIcon_22H2Upgrade
                        ExitWindows /Reboot
                else
                        LogError "Windows 10 21H1 Cummulative Update KB5014666 not found. 22H2 Upgrade cannot be applied."
                        isFatalError
                endif
        EndCase 

        Case "19044"
                Comment "Windows 10 21H2 found"
                if $CurrentWindowsPatchlevel$ INT>= "1806"
                        comment "Windows 10 21H2 Cummulative Update KB5014666 or later found. 22H2 Upgrade can be applied."
                        DosInAnIcon_22H2Upgrade
                        ExitWindows /Reboot
                else
                        LogError "Windows 10 21H1 Cummulative Update KB5014666 not found. 22H2 Upgrade cannot be applied."
                        isFatalError
                endif
        EndCase

        Case "19045"
                Comment "Windows 10 22H2 already installed. Nothing to do."
        EndCase

        DefaultCase
                LogError "Windows 10 2004, 20H2, 21H1 or 21H2 is needed for this upgrade."
                isFatalError
        EndCase

EndSwitch

[DosInAnIcon_22H2Upgrade]
%Systemroot%\System32\dism.exe /online /Add-Package /PackagePath:%ScriptPath%\Setup\windows10.0-kb5015684-x64.cab /NoRestart /quiet

[opsiServiceCall_setProductActionRequest_Install_Edge]
        "method": "setProductActionRequestWithDependencies"
        "params": [
                "microsoft-edge",
                "%HostID%",
                "setup"
                ]
Das Edge auf Setup stellen ist noch ein Überbleibsel aus früheren Zeiten, wo der Chromium Edge noch nicht auf bestimmten Windows 10-Versionen Standard war. Das kann eigentlich weg, weil ja niemand mehr 20H2 o.ä. produktiv einsetzen wird.
NorbertKoch
Beiträge: 149
Registriert: 26 Aug 2021, 08:37

Re: Windows 10 22H2 update

Beitrag von NorbertKoch »

Guten Morgen Feltel,

hast Du das als normales Paket erstellt?

Ich habe auch Probleme mit dem Paket von opsi.

Danke!
Liebe Grüße

Norbert
feltel
Beiträge: 280
Registriert: 09 Dez 2014, 07:22

Re: Windows 10 22H2 update

Beitrag von feltel »

Ja, ist ein OPSI-Paket.
Benutzeravatar
ThomasT
uib-Team
Beiträge: 565
Registriert: 26 Jun 2013, 12:26

Re: Windows 10 22H2 update

Beitrag von ThomasT »

Wir haben dafür auch ein OPSI-Paket:
https://download.uib.de/opsi_stable/pro ... 2h2-1.opsi


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten