Windows 10 Feature Upgrade pausiert UEM Agent

Moderator: epeters

Post Reply
DotzlerJ
Posts: 57
Joined: 08. Jan 2019, 09:20
Contact:

Windows 10 Feature Upgrade pausiert UEM Agent

Post by DotzlerJ » 01. Aug 2019, 11:25

Hallo zusammen,

das aus der Package Cloud kommende Paket für das Inplace Upgrade pausiert laut Setup.inf den UEM Agent für 2h.

Ich verstehe gerade nicht für was das so gewollt ist?

Reebot Pending laut Log um das Inplace Upgrade abzuschließen. Reboot führe ich auch durch. Inplace Upgrade ist eigentlich auch fertig, Agent sagt aber für ca. 2h immernoch Supsend und Reboot Pending auf den InPlace Paket. Dadurch werden evtl. nachfolgende Pakete leider nicht direkt nach den Inplace Upgrade ausgeführt sondern natürlich erst nachdem die Agent Activity wieder da ist. In diesen 2h hat sich der User natürlich schon lange wieder angemeldet...

Auszug aus Setup.inf von Matrix42 Package Cloud:

Code: Select all

[Set:Product]
AddMeter -1
CallHidden "%Src%\%VM_SourceDir%\Setup.exe" /auto upgrade /quiet /DynamicUpdate disable /Telemetry disable /Copylogs "%Temp%\UpgradeLogs" /showoobe none %V_InstParameters% /noreboot
If %Errorlevel% <> "0" Then "Set:UpgradeError" EndIf
SetReboot 1
CallHidden Schtasks.exe /Create /XML "%Src%\Custom\Start Eris.xml" /tn "Start Eris"

[Set:SuspendUEMAgent]
Set V_Day = Mid (%SysDate%, 0, 2)
Set V_Month = Mid (%SysDate%, 3, 2)
Set V_Year = Mid (%SysDate%, 6, 4)
Set V_Hour = Mid (%SysTime%, 0, 2)
Set V_Min = Mid (%SysTime%, 3, 2)

Increment (%V_Hour%, "2")

; Check for day change and hours < 10
If "%V_Hour%" > "23" Then "Set:DayChange" EndIf
If "%V_Hour%" < "10" Then "Set:CorrectFormat" EndIf

Set V_REsult=%V_Year%-%V_Month%-%V_Day%T%V_Hour%:%V_Min%

#Reg:SuspendUEMAgent
#Set:CorrectResult

[Set:DayChange]
Increment (%V_Day%)
Decrement (%V_Hour%, 24)

; Check for month or year change
If "%V_Month%" == "04" | "%V_Month%" == "06" | "%V_Month%" == "09" | "%V_Month%" == "11" Then "Set:ShortMonth" EndIf
If "%V_Day%" == "32" & "%V_Month%" == "12" Then "Set:NewYear" EndIf
If "%V_Day%" == "32" Then "Set:CorrectDate" EndIf
If "%V_Day%" == "31" & "%V_ShortMonth%" == "1" Then "Set:CorrectDate" EndIf
If "%V_Day%" > "28" & "%V_Month%" == "02" Then "Set:CorrectDate" EndIf
If "%V_Month%" < "10" & "%V_Day%" == "01" Then "Set:CorrectMonthFormat" EndIf

[Set:CorrectFormat]
Set V_Hour = 0%V_Hour%

[Set:NewYear]
Increment (%V_Year%)
Set V_Month = 1
Set V_Day = 01

[Set:CorrectDate]
Increment (%V_Month%)
Set V_Day = 01

[Set:ShortMonth]
Set V_ShortMonth = 1

[Set:CorrectMonthFormat]
Set V_Month = 0%V_Month%

[Reg:SuspendUEMAgent]
HKLM,Software\Matrix42\Agent,Suspenduntil,0x00000000,"%V_Result%"

[Set:CorrectResult]
ReplaceRegValue (HKLM,Software\Matrix42\Agent, "Suspenduntil", " ", "", 0)
Hier gibt es bereits einen Foren Thread dazu:
viewtopic.php?f=4&t=19649

User avatar
heinrichmi
Posts: 211
Joined: 12. Nov 2009, 10:13
Location: Würzburg
Contact:

Re: Windows 10 Feature Upgrade pausiert UEM Agent

Post by heinrichmi » 05. Sep 2019, 15:54

Hallo,

mir wurde Seitens M42 gesagt das dies so gewollt ist damit nicht gleich Installationen nach dem Upgrade starten.

Kannst du im Paket einfach abschalten:

V_SuspendUEMAgentTime=0
Michael Heinrich

MIWE Michael Wenz GmbH
Image

Empirum 19.0.0 UEM mit PM, M42-Cloud, PB, VM-Hosting, Citrix Farm Deployment, ServiceStore 9.0.4

Post Reply

Return to “Package Cloud”

Who is online

Users browsing this forum: No registered users and 2 guests