aktuell bin ich am Upgraden unserer Windows 10 Installationen von 1803 auf 1903. Das OPSI Paket Windows10-Upgrade leistet hier natürlich hervorragende Arbeit.
Ich habe allerdings noch einen Fehler, den ich einfach nicht wegbekomme.
Sobald der OPSI Setup User angelegt wurde und das System neustartet, fährt Windows hoch, der OpsiSetupUser meldet sich an.
Code: Alles auswählen
comment: now let the autologon work
comment: it will stop with a reboot
Code: Alles auswählen
comment: Part after 3. Reboot
comment: we will do the stuff with logged on user
Leider kein Erfolg!
Code: Alles auswählen
~~~~~~~ Start Sub ~~~~~~~ sub_wait_for_user
If
$LoggedInUser$ = "" <<< result true
"1" INT< $timeout_sec$ <<< result true
("1" INT< $timeout_sec$) <<< result true
($LoggedInUser$ = "") and ("1" INT< $timeout_sec$) <<< result true
Then
Set $LoggedInUser$=GetLoggedInUser
The value of the variable "$LoggedInUser$" is now: ""
EndIf
~~~~~~~ End Sub ~~~~~~~ sub_wait_for_user
~~~~~~~ Start Sub ~~~~~~~ sub_wait_for_user
If
$LoggedInUser$ = "" <<< result true
"2" INT< $timeout_sec$ <<< result true
("2" INT< $timeout_sec$) <<< result true
($LoggedInUser$ = "") and ("2" INT< $timeout_sec$) <<< result true
Then
Set $LoggedInUser$=GetLoggedInUser
The value of the variable "$LoggedInUser$" is now: ""
EndIf
~~~~~~~ End Sub ~~~~~~~ sub_wait_for_user
Gibt es hier irgendwas zu beachten? Sobald ich on demand ausführe, macht er weiter...das steht ja so auch in der "Fehlermeldung"
Code: Alles auswählen
comment: no user logged in setup will fail
comment: we try to suspend the script
comment: perhaps you have to retry with a user logged in and fire on_demand
Error: no user logged in setup will fail
set ActionProgress to: no user logged in setup will fail, perhaps you have to retry with a user logged in and fire on_demand
Ich wäre für jede Hilfe super dankbar!
Beste Grüße,
Valentino