opsi-client-agent Update auf neue rename-Technik schlägt fehl

Antworten
Valentino-46
Beiträge: 280
Registriert: 05 Aug 2011, 14:24

opsi-client-agent Update auf neue rename-Technik schlägt fehl

Beitrag von Valentino-46 »

Guten Tag zusammen,

ihr habt ja in den letzten Monaten auf eine neue Technik der Installation umgestellt, soweit super.
Allerdings hatten wir jetzt in der letzten Aktion mehr als 20-30% mit Problemen wo danach gar keine Verbindung mehr zum Server besteht und der Opsi-Client-Agent defekt ist und manuell repariert werden muss.

Hier auch noch eine solche "typische" Installationslog. Was könnte hier schief laufen?

Code: Alles auswählen

[6] [2023-07-28 06:29:49.847] [opsi-client-agent] Actionrequest for Product: opsi-client-agent is: setup
[6] [2023-07-28 06:29:49.861] [opsi-client-agent] HTTPSender Post succeeded
[6] [2023-07-28 06:29:49.861] [opsi-client-agent] Server-FQDN: 192.168.26.86 Server-IP: 192.168.26.86
[6] [2023-07-28 06:29:49.861] [opsi-client-agent] JSON Bench for getProductProperties_hash "params":["opsi-client-agent","pc2302-01733.domain Start: 06:29:49:847 Time: 00:00:00:014
[6] [2023-07-28 06:29:49.869] [opsi-client-agent] HTTPSender Post succeeded
[6] [2023-07-28 06:29:49.869] [opsi-client-agent] Server-FQDN: 192.168.26.86 Server-IP: 192.168.26.86
[6] [2023-07-28 06:29:49.869] [opsi-client-agent] JSON Bench for getProduct_hash "params":["opsi-client-agent","opsi-wgt.domain.l Start: 06:29:49:861 Time: 00:00:00:008
[7] [2023-07-28 06:29:49.869] [opsi-client-agent] in TOpsi4Data.initProduct : opsi-client-agent
[6] [2023-07-28 06:29:49.873] [opsi-client-agent] HTTPSender Post succeeded
[6] [2023-07-28 06:29:49.873] [opsi-client-agent] Server-FQDN: 192.168.26.86 Server-IP: 192.168.26.86
[6] [2023-07-28 06:29:49.873] [opsi-client-agent] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"pc2302-01733.domain.lo Start: 06:29:49:869 Time: 00:00:00:004
[6] [2023-07-28 06:29:49.873] [opsi-client-agent] scriptname: "setup.opsiscript", special path: "p:\opsi-client-agent\"
[6] [2023-07-28 06:29:49.880] [opsi-client-agent] HTTPSender Post succeeded
[6] [2023-07-28 06:29:49.880] [opsi-client-agent] Server-FQDN: 192.168.26.86 Server-IP: 192.168.26.86
[6] [2023-07-28 06:29:49.880] [opsi-client-agent] JSON Bench for productOnClient_updateObject "params":[{"clientId":"pc2302-01733.domain.local Start: 06:29:49:873 Time: 00:00:00:007
[6] [2023-07-28 06:29:49.881] [opsi-client-agent] Using new Depot path:  p:\
[7] [2023-07-28 06:29:49.890] [opsi-client-agent] Load from Unicode file
[7] [2023-07-28 06:29:49.960] [opsi-client-agent] Load from file with encoding: system
[7] [2023-07-28 06:29:49.964] [opsi-client-agent] Load from file with encoding: cp1252
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]
[1] [2023-07-28 06:29:49.970] [opsi-client-agent] ============ Version 4.12.9.1 script "p:\opsi-client-agent\setup.opsiscript"
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              used script encoding: cp1252
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              used system encoding: cp1252
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              start: 2023-07-28  06:29:49
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              installing product: opsi-client-agent_4.2.0.64-1
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              on client named    "pc2302-01733.domain.local"
[1] [2023-07-28 06:29:49.970] [opsi-client-agent]              loggedin user    ""
[1] [2023-07-28 06:29:49.971] [opsi-client-agent]              opsi-script running as    "SYSTEM"
[1] [2023-07-28 06:29:49.971] [opsi-client-agent]              opsi-script running with admin privileges
[1] [2023-07-28 06:29:49.971] [opsi-client-agent]              opsi-script running in standard script mode
[1] [2023-07-28 06:29:49.971] [opsi-client-agent] Scaling for screen DPI: 96
[1] [2023-07-28 06:29:49.971] [opsi-client-agent] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
[1] [2023-07-28 06:29:49.971] [opsi-client-agent] system infos:
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] CC-96-E5-0B-23-F0  -  PC hardware address
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] pc2302-01733.domain.local  -  IP name
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] 192.168.20.34  -  IP address
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] DEU  -  System default locale
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started readonly
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:49.972] [opsi-client-agent] Key closed
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started readonly
[7] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:49.972] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:49.972] [opsi-client-agent] Key closed
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] MS Windows 10.0 64 Bit, Release: 22H2, Edition: PRODUCT_PROFESSIONAL
[1] [2023-07-28 06:29:49.972] [opsi-client-agent] opsi service version : 4
[1] [2023-07-28 06:29:49.972] [opsi-client-agent]
[7] [2023-07-28 06:29:49.973] [opsi-client-agent] Registry started readonly
[7] [2023-07-28 06:29:49.973] [opsi-client-agent] Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:49.973] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [2023-07-28 06:29:49.973] [opsi-client-agent] Key closed
[6] [2023-07-28 06:29:49.976] [opsi-client-agent] Try getting FQDN with WMI:
[6] [2023-07-28 06:29:49.994] [opsi-client-agent] WMI result for FQDN: pc2302-01733.domain.local
[7] [2023-07-28 06:29:50.013] [opsi-client-agent] Starting with script...
[6] [2023-07-28 06:29:50.013] [opsi-client-agent] opsi-script has version  4.12.9.1, required is : >= 4.12.4.35
[6] [2023-07-28 06:29:50.013] [opsi-client-agent]   The value of the variable "$ProductId$" is now: "opsi-client-agent"
[6] [2023-07-28 06:29:50.013] [opsi-client-agent]   The value of the variable "$BaseDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent"
[6] [2023-07-28 06:29:50.013] [opsi-client-agent]   The value of the variable "$VarDir$" is now: "c:\opsi.org"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$ServiceAddress$" is now: "https://192.168.26.86:4447"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$ServiceUsername$" is now: "pc2302-01733.domain.local"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$ServicePassword$" is now: "***(confidential)***"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$ClientId$" is now: "pc2302-01733.domain.local"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$InstallationOptions$" is now: ""
[6] [2023-07-28 06:29:50.014] [opsi-client-agent]   The value of the variable "$Finalize$" is now: "service_restart"
[6] [2023-07-28 06:29:50.014] [opsi-client-agent] Added defined function: install_requirements to the known functions
[6] [2023-07-28 06:29:50.016] [opsi-client-agent] Added defined function: install_opsiclientd to the known functions
[6] [2023-07-28 06:29:50.017] [opsi-client-agent] Added defined function: install_opsiscript to the known functions
[6] [2023-07-28 06:29:50.017] [opsi-client-agent] Added defined function: install_loginblocker to the known functions
[6] [2023-07-28 06:29:50.018] [opsi-client-agent] Added defined function: install_opsinotifier to the known functions
[6] [2023-07-28 06:29:50.018] [opsi-client-agent] Added defined function: install_opsisystray to the known functions
[6] [2023-07-28 06:29:50.018] [opsi-client-agent] Added defined function: install_custom_files to the known functions
[6] [2023-07-28 06:29:50.020] [opsi-client-agent] Added defined function: install_directories to the known functions
[6] [2023-07-28 06:29:50.020] [opsi-client-agent] Added defined function: rotate_instlog to the known functions
[6] [2023-07-28 06:29:50.020] [opsi-client-agent] Added defined function: set_running_netboot_package_to_installed to the known functions
[6] [2023-07-28 06:29:50.021] [opsi-client-agent] Added defined function: set_installed_packages_to_setup to the known functions
[6] [2023-07-28 06:29:50.021] [opsi-client-agent] Added defined function: set_opsi_general_config to the known functions
[6] [2023-07-28 06:29:50.021] [opsi-client-agent] Added defined function: install_configuration to the known functions
[6] [2023-07-28 06:29:50.022] [opsi-client-agent] Added defined function: setup_after_install to the known functions
[6] [2023-07-28 06:29:50.022] [opsi-client-agent] Added defined function: get_config_value to the known functions
[6] [2023-07-28 06:29:50.024] [opsi-client-agent] Added defined function: process_wim_capture to the known functions
[6] [2023-07-28 06:29:50.024] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.024] [opsi-client-agent]   GetOS = "Windows_NT"   <<< result true
[6] [2023-07-28 06:29:50.024] [opsi-client-agent]   not (GetOS = "Windows_NT")   <<< result false
[6] [2023-07-28 06:29:50.024] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.025] [opsi-client-agent]     Checking if "10.0" is "<" than / as "6.0"
[6] [2023-07-28 06:29:50.025] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "6.0")   <<< result false
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] If
[6] [2023-07-28 06:29:50.025] [opsi-client-agent]     Free on Disk C:: 785.106.509.824 bytes  This is more than the required amount of 200.000.000 bytes
[7] [2023-07-28 06:29:50.025] [opsi-client-agent]   HasMinimumSpace("C:", "200 MB")   <<< result true
[6] [2023-07-28 06:29:50.025] [opsi-client-agent]   not (HasMinimumSpace("C:", "200 MB"))   <<< result false
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.025] [opsi-client-agent]   strLength($ClientId$) > "64"   <<< result false
[6] [2023-07-28 06:29:50.025] [opsi-client-agent]   (strLength($ClientId$) > "64")   <<< result false
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.025] [opsi-client-agent] EndIf
[5] [2023-07-28 06:29:50.026] [opsi-client-agent] PowershellCall Executing: echo test ; mode: sysnative
[6] [2023-07-28 06:29:50.026] [opsi-client-agent]
[6] [2023-07-28 06:29:50.026] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
[7] [2023-07-28 06:29:50.027] [opsi-client-agent]   ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "powershell.exe get-executionpolicy"
[7] [2023-07-28 06:29:50.435] [opsi-client-agent]   Save to file with encoding: system
[6] [2023-07-28 06:29:50.640] [opsi-client-agent]   ExitCode 0
[7] [2023-07-28 06:29:50.648] [opsi-client-agent] The file: c:\opsi.org\tmp\_opsiscript_1jvP7g9Z0R.ps1 has been deleted
[7] [2023-07-28 06:29:50.648] [opsi-client-agent]   Search "c:\opsi.org\tmp\_opsiscript_*"
[7] [2023-07-28 06:29:50.648] [opsi-client-agent] output:
[7] [2023-07-28 06:29:50.648] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:50.648] [opsi-client-agent] test
[7] [2023-07-28 06:29:50.648] [opsi-client-agent]
[6] [2023-07-28 06:29:50.650] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.650] [opsi-client-agent]   "0" = GetLastExitcode   <<< result true
[6] [2023-07-28 06:29:50.650] [opsi-client-agent]   not ("0" = GetLastExitcode)   <<< result false
[6] [2023-07-28 06:29:50.650] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.650] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.650] [opsi-client-agent]   The value of the variable "$PreviousOCDVersion$" is now: ""
[6] [2023-07-28 06:29:50.650] [opsi-client-agent] If
[6] [2023-07-28 06:29:50.650] [opsi-client-agent]     Starting query if file exists ...
[6] [2023-07-28 06:29:50.650] [opsi-client-agent]   FileExists($BaseDir$+"\opsiclientd_bin\opsiclientd.exe")   <<< result true
[6] [2023-07-28 06:29:50.650] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]     The value of the variable "$PreviousOCDVersion$" is now: "4.2.0.149"
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] Else
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]   If
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]   Else
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] If
[6] [2023-07-28 06:29:50.651] [opsi-client-agent]   $PreviousOCDVersion$ = ""   <<< result false
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.651] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.651] [opsi-client-agent]   $PreviousOCDVersion$ = "-1"   <<< result false
[7] [2023-07-28 06:29:50.651] [opsi-client-agent]     Checking if "4.2.0.149" is "<" than / as "4.2.0.77"
[7] [2023-07-28 06:29:50.652] [opsi-client-agent]   contains($ServiceAddress$, "localhost")   <<< result false
[7] [2023-07-28 06:29:50.652] [opsi-client-agent]   CompareDotSeparatedNumbers($PreviousOCDVersion$, "<", "4.2.0.77") and contains($ServiceAddress$, "localhost")   <<< result false
[6] [2023-07-28 06:29:50.652] [opsi-client-agent]   not($PreviousOCDVersion$ = "-1") and CompareDotSeparatedNumbers($PreviousOCDVersion$, "<", "4.2.0.77") and contains($ServiceAddress$, "localhost")   <<< result false
[6] [2023-07-28 06:29:50.652] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.652] [opsi-client-agent] EndIf
[5] [2023-07-28 06:29:50.652] [opsi-client-agent] comment: Show product image
[5] [2023-07-28 06:29:50.661] [opsi-client-agent] message Installing opsi-client-agent ...
[6] [2023-07-28 06:29:50.663] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.666] [opsi-client-agent]   getPidOfProc: valid pid for: opsi-script.exe is: 7872
[7] [2023-07-28 06:29:50.666] [opsi-client-agent]   getPidOfProc: valid pid for: opsiclientd.exe is: 4132
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   isProcessChildOf('opsi-script.exe','opsiclientd.exe')   <<< result true
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]     The value of the variable "$RunningInServiceContext$" is now: "true"
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] Else
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.666] [opsi-client-agent]   $RunningInServiceContext$ = "true"   <<< result true
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   ($RunningInServiceContext$ = "true")   <<< result true
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] Then
[5] [2023-07-28 06:29:50.666] [opsi-client-agent]   comment: Running in service context
[6] [2023-07-28 06:29:50.666] [opsi-client-agent] Else
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   If
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   If
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:50.666] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   If
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   If
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]     If
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]     Then
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]       If
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]       Then
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]       EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]     EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.667] [opsi-client-agent]   "SYSTEM" = "SYSTEM"   <<< result true
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]   not ("SYSTEM" = "SYSTEM")   <<< result false
[6] [2023-07-28 06:29:50.667] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.667] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.667] [opsi-client-agent] If
[6] [2023-07-28 06:29:50.667] [opsi-client-agent]     Starting query if file exists ...
[7] [2023-07-28 06:29:50.668] [opsi-client-agent]   FileExists($BaseDir$ + "\opsi-script")   <<< result true
[6] [2023-07-28 06:29:50.668] [opsi-client-agent]   not (FileExists($BaseDir$ + "\opsi-script"))   <<< result false
[6] [2023-07-28 06:29:50.668] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.668] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:50.668] [opsi-client-agent]
[6] [2023-07-28 06:29:50.668] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_vcredist
[5] [2023-07-28 06:29:50.668] [opsi-client-agent] comment: Installing vcredist
[5] [2023-07-28 06:29:50.668] [opsi-client-agent] message Installing vcredist
[6] [2023-07-28 06:29:50.670] [opsi-client-agent] DisableWow64FsRedirection succeeded
[5] [2023-07-28 06:29:50.671] [opsi-client-agent] ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C ""p:\opsi-client-agent\files\vcredist\VC_redist.x86.exe" /install /quiet /norestart"
[6] [2023-07-28 06:29:50.982] [opsi-client-agent] ExitCode 1638
[7] [2023-07-28 06:29:50.982] [opsi-client-agent] output:
[7] [2023-07-28 06:29:50.982] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:50.982] [opsi-client-agent]
[6] [2023-07-28 06:29:50.982] [opsi-client-agent] RevertWow64FsRedirection succeeded
[6] [2023-07-28 06:29:50.984] [opsi-client-agent] If
[7] [2023-07-28 06:29:50.988] [opsi-client-agent]   GetSystemType = "64 Bit System"   <<< result true
[6] [2023-07-28 06:29:50.988] [opsi-client-agent]   (GetSystemType = "64 Bit System")   <<< result true
[6] [2023-07-28 06:29:50.988] [opsi-client-agent] Then
[6] [2023-07-28 06:29:50.988] [opsi-client-agent]   DisableWow64FsRedirection succeeded
[5] [2023-07-28 06:29:50.989] [opsi-client-agent]   ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C ""p:\opsi-client-agent\files\vcredist\VC_redist.x64.exe" /install /quiet /norestart"
[6] [2023-07-28 06:29:51.194] [opsi-client-agent]   ExitCode 1638
[7] [2023-07-28 06:29:51.194] [opsi-client-agent]   output:
[7] [2023-07-28 06:29:51.194] [opsi-client-agent]   --------------
[7] [2023-07-28 06:29:51.194] [opsi-client-agent]
[6] [2023-07-28 06:29:51.194] [opsi-client-agent]   RevertWow64FsRedirection succeeded
[6] [2023-07-28 06:29:51.198] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:51.200] [opsi-client-agent]
[6] [2023-07-28 06:29:51.200] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_vcredist
[6] [2023-07-28 06:29:51.200] [opsi-client-agent]
[6] [2023-07-28 06:29:51.200] [opsi-client-agent] If
[7] [2023-07-28 06:29:51.200] [opsi-client-agent]     Checking if "10.0" is "<" than / as "10.0"
[6] [2023-07-28 06:29:51.200] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "10.0")   <<< result false
[6] [2023-07-28 06:29:51.200] [opsi-client-agent] Then
[6] [2023-07-28 06:29:51.200] [opsi-client-agent] EndIf
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started readonly
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Key closed
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started readonly
[7] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Key closed
[5] [2023-07-28 06:29:51.201] [opsi-client-agent] comment: Checking for windows server - product_type_nr is 1
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] If
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started readonly
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:51.201] [opsi-client-agent]   Key closed
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started without redirection (64 Bit)
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started readonly
[7] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry started without redirection (64 Bit)
[6] [2023-07-28 06:29:51.201] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
[6] [2023-07-28 06:29:51.201] [opsi-client-agent]   Key closed
[6] [2023-07-28 06:29:51.201] [opsi-client-agent]   takeString(1,splitString(takeString(8, GetMsVersionMap),"=")) = "3"   <<< result false
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Then
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:51.201] [opsi-client-agent] Section ending since next line is starting with "["
[6] [2023-07-28 06:29:51.202] [opsi-client-agent]
[6] [2023-07-28 06:29:51.202] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_opsinotifier
[5] [2023-07-28 06:29:51.202] [opsi-client-agent] comment: Installing opsi-notifier
[5] [2023-07-28 06:29:51.202] [opsi-client-agent] message Installing opsi-notifier
[6] [2023-07-28 06:29:51.204] [opsi-client-agent] DisableWow64FsRedirection succeeded
[5] [2023-07-28 06:29:51.204] [opsi-client-agent] ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "taskkill /f /im opsi-notifier.exe"
[6] [2023-07-28 06:29:51.307] [opsi-client-agent] ExitCode 0
[7] [2023-07-28 06:29:51.307] [opsi-client-agent] output:
[7] [2023-07-28 06:29:51.307] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:51.307] [opsi-client-agent] ERFOLGREICH: Der Prozess "opsi-notifier.exe" mit PID 6444 wurde beendet.
[7] [2023-07-28 06:29:51.307] [opsi-client-agent] ERFOLGREICH: Der Prozess "opsi-notifier.exe" mit PID 1584 wurde beendet.
[7] [2023-07-28 06:29:51.307] [opsi-client-agent]
[6] [2023-07-28 06:29:51.307] [opsi-client-agent] RevertWow64FsRedirection succeeded
[6] [2023-07-28 06:29:51.309] [opsi-client-agent] DisableWow64FsRedirection succeeded
[5] [2023-07-28 06:29:51.309] [opsi-client-agent] ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "taskkill /f /im notifier.exe"
[6] [2023-07-28 06:29:51.411] [opsi-client-agent] ExitCode 128
[7] [2023-07-28 06:29:51.411] [opsi-client-agent] output:
[7] [2023-07-28 06:29:51.411] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:51.411] [opsi-client-agent] FEHLER: Der Prozess "notifier.exe" wurde nicht gefunden.
[7] [2023-07-28 06:29:51.411] [opsi-client-agent]
[6] [2023-07-28 06:29:51.411] [opsi-client-agent] RevertWow64FsRedirection succeeded
[5] [2023-07-28 06:29:51.414] [opsi-client-agent] Execution of: Files_install_opsinotifier
[7] [2023-07-28 06:29:51.416] [opsi-client-agent]   copy -c "p:\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe" "C:\Program Files (x86)\opsi.org\opsi-client-agent\"
[7] [2023-07-28 06:29:51.416] [opsi-client-agent]   copy
[6] [2023-07-28 06:29:51.425] [opsi-client-agent]   Copying  p:\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\
[6] [2023-07-28 06:29:51.425] [opsi-client-agent]     1 File(s) found
[7] [2023-07-28 06:29:51.426] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe
[7] [2023-07-28 06:29:51.426] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-notifier.exe exists and shall be overwritten
[6] [2023-07-28 06:29:51.487] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\
[6] [2023-07-28 06:29:51.488] [opsi-client-agent]     1 File(s) treated
[7] [2023-07-28 06:29:51.490] [opsi-client-agent]   copy -c "p:\opsi-client-agent\files\opsi-notifier\notifier.d\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\"
[7] [2023-07-28 06:29:51.490] [opsi-client-agent]   copy
[6] [2023-07-28 06:29:51.492] [opsi-client-agent]   Copying  p:\opsi-client-agent\files\opsi-notifier\notifier.d\*.* -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[6] [2023-07-28 06:29:51.492] [opsi-client-agent]     17 File(s) found
[7] [2023-07-28 06:29:51.493] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\action.bmp
[7] [2023-07-28 06:29:51.494] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\action.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.508] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\action.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.508] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\action.ini
[7] [2023-07-28 06:29:51.508] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\action.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.512] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\action.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.512] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.bmp
[7] [2023-07-28 06:29:51.512] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\block_login.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.517] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.517] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.ini
[7] [2023-07-28 06:29:51.517] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\block_login.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.530] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.530] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\event.bmp
[7] [2023-07-28 06:29:51.530] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\event.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.539] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\event.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.540] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\event.ini
[7] [2023-07-28 06:29:51.540] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\event.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.544] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\event.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.545] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\opsi.ico
[7] [2023-07-28 06:29:51.545] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\opsi.ico exists and shall be overwritten
[6] [2023-07-28 06:29:51.550] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\opsi.ico copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.550] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\popup.bmp
[7] [2023-07-28 06:29:51.550] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\popup.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.564] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\popup.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.565] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\popup.ini
[7] [2023-07-28 06:29:51.565] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\popup.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.570] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\popup.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.571] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown.ini
[7] [2023-07-28 06:29:51.571] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\shutdown.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.575] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.576] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.bmp
[7] [2023-07-28 06:29:51.576] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\shutdown_select.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.581] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.581] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.ini
[7] [2023-07-28 06:29:51.582] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\shutdown_select.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.586] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.586] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select_button_icon.png
[7] [2023-07-28 06:29:51.586] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\shutdown_select_button_icon.png exists and shall be overwritten
[6] [2023-07-28 06:29:51.591] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select_button_icon.png copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.591] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.bmp
[7] [2023-07-28 06:29:51.591] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\userlogin.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.597] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.597] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.ini
[7] [2023-07-28 06:29:51.597] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\userlogin.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.601] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.601] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.bmp
[7] [2023-07-28 06:29:51.601] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\wait_for_gui.bmp exists and shall be overwritten
[6] [2023-07-28 06:29:51.607] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[7] [2023-07-28 06:29:51.608] [opsi-client-agent]     Source p:\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.ini
[7] [2023-07-28 06:29:51.608] [opsi-client-agent]       Info: Target C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\wait_for_gui.ini exists and shall be overwritten
[6] [2023-07-28 06:29:51.613] [opsi-client-agent]       copy: p:\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
[6] [2023-07-28 06:29:51.615] [opsi-client-agent]     17 File(s) treated
[5] [2023-07-28 06:29:51.618] [opsi-client-agent] Finished section: Files_install_opsinotifier
[6] [2023-07-28 06:29:51.618] [opsi-client-agent]
[6] [2023-07-28 06:29:51.618] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_opsinotifier
[6] [2023-07-28 06:29:51.618] [opsi-client-agent]
[6] [2023-07-28 06:29:51.618] [opsi-client-agent] Section ending since next line is starting with "["
[6] [2023-07-28 06:29:51.618] [opsi-client-agent]   The value of the variable "$CheckInterval$" is now: "0"
[6] [2023-07-28 06:29:51.618] [opsi-client-agent]   The value of the variable "$NotifyFormat$" is now: "productname : request"
[5] [2023-07-28 06:29:51.619] [opsi-client-agent] message Uninstalling opsi-systray
[6] [2023-07-28 06:29:51.622] [opsi-client-agent] DisableWow64FsRedirection succeeded
[5] [2023-07-28 06:29:51.622] [opsi-client-agent] ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "taskkill /f /im opsi-client-systray.exe"
[6] [2023-07-28 06:29:51.726] [opsi-client-agent] ExitCode 128
[7] [2023-07-28 06:29:51.726] [opsi-client-agent] output:
[7] [2023-07-28 06:29:51.726] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:51.726] [opsi-client-agent] FEHLER: Der Prozess "opsi-client-systray.exe" wurde nicht gefunden.
[7] [2023-07-28 06:29:51.726] [opsi-client-agent]
[6] [2023-07-28 06:29:51.726] [opsi-client-agent] RevertWow64FsRedirection succeeded
[5] [2023-07-28 06:29:51.728] [opsi-client-agent] Execution of: Registry_uninstall_opsisystray
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   Registry started with redirection (32 Bit)
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   Key is: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] opened
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]           Variable "opsi_systray_start"  not found. Code: 2
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]           Key closed
[5] [2023-07-28 06:29:51.728] [opsi-client-agent] Execution of: Files_uninstall_opsisystray
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   del -sfc "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-systray"
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   del
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]   Notice: File or Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-systray does not exist, nothing deleted
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   del -sfc "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray"
[7] [2023-07-28 06:29:51.728] [opsi-client-agent]   del
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]   Notice: File or Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray does not exist, nothing deleted
[5] [2023-07-28 06:29:51.728] [opsi-client-agent] Finished section: Files_uninstall_opsisystray
[6] [2023-07-28 06:29:51.728] [opsi-client-agent] If
[6] [2023-07-28 06:29:51.728] [opsi-client-agent]   GetProductProperty("systray_install", "true") = "true"   <<< result false
[6] [2023-07-28 06:29:51.728] [opsi-client-agent] Then
[6] [2023-07-28 06:29:51.729] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:51.729] [opsi-client-agent] Section ending since next line is starting with "["
[6] [2023-07-28 06:29:51.729] [opsi-client-agent]
[6] [2023-07-28 06:29:51.729] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_uninstall_opsiclientdguard
[5] [2023-07-28 06:29:51.729] [opsi-client-agent] comment: Uninstalling opsiclientdguard
[5] [2023-07-28 06:29:51.729] [opsi-client-agent] message Uninstalling opsiclientdguard
[6] [2023-07-28 06:29:51.731] [opsi-client-agent] If
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]     Starting query if file exists ...
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]   Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientdguard":
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]   FileExists($BaseDir$ + "\opsiclientdguard")   <<< result false
[6] [2023-07-28 06:29:51.731] [opsi-client-agent] Then
[6] [2023-07-28 06:29:51.731] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]
[6] [2023-07-28 06:29:51.731] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_uninstall_opsiclientdguard
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]
[6] [2023-07-28 06:29:51.731] [opsi-client-agent]
[6] [2023-07-28 06:29:51.731] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_opsiclientd
[5] [2023-07-28 06:29:51.731] [opsi-client-agent] comment: Installing opsiclientd
[5] [2023-07-28 06:29:51.732] [opsi-client-agent] message Installing opsiclientd
[7] [2023-07-28 06:29:51.733] [opsi-client-agent] DisableWow64FsRedirection succeeded
[6] [2023-07-28 06:29:51.733] [opsi-client-agent] ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "dir /B "p:\opsi-client-agent\files""
[7] [2023-07-28 06:29:51.836] [opsi-client-agent] ExitCode 0
[7] [2023-07-28 06:29:51.836] [opsi-client-agent] RevertWow64FsRedirection succeeded
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   The value of the variable "$TempList$" is now:
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   0)api-ms-win-core-path
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   1)custom
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   2)opsi
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   3)opsi-client-agent.version
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   4)opsi-client-systray
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   5)opsi-logo.png
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   6)opsi-notifier
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   7)opsi-script
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   8)opsiclientd_windows_x86_4.2.0.153.zip
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string   9)OpsiLoginBlocker
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string  10)uninst
[7] [2023-07-28 06:29:51.836] [opsi-client-agent]   (string  11)vcredist
[7] [2023-07-28 06:29:51.840] [opsi-client-agent]   The value of the variable "$TempList$" is now:
[7] [2023-07-28 06:29:51.840] [opsi-client-agent]   (string   0)opsiclientd_windows_x86_4.2.0.153.zip
[6] [2023-07-28 06:29:51.840] [opsi-client-agent] If
[6] [2023-07-28 06:29:51.841] [opsi-client-agent]   count($TempList$) = "0"   <<< result false
[6] [2023-07-28 06:29:51.841] [opsi-client-agent] Then
[6] [2023-07-28 06:29:51.841] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:51.841] [opsi-client-agent]   The value of the variable "$BinaryArchiveFile$" is now: "p:\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.153.zip"
[5] [2023-07-28 06:29:51.841] [opsi-client-agent] comment: Extracting opsiclientd archive file: p:\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.153.zip
[5] [2023-07-28 06:29:51.842] [opsi-client-agent] Execution of: Files_extract_opsiclientd_binaries_to_temp
[7] [2023-07-28 06:29:51.842] [opsi-client-agent]   del -sfc "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86"
[7] [2023-07-28 06:29:51.842] [opsi-client-agent]   del
[6] [2023-07-28 06:29:51.842] [opsi-client-agent]   Notice: File or Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86 does not exist, nothing deleted
[7] [2023-07-28 06:29:51.842] [opsi-client-agent]   unzipfile "p:\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.153.zip" "C:\Program Files (x86)\opsi.org\opsi-client-agent\"
[7] [2023-07-28 06:29:51.842] [opsi-client-agent]   unzipfile
[6] [2023-07-28 06:29:51.842] [opsi-client-agent]   we try to unzip: p:\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.153.zip to C:\Program Files (x86)\opsi.org\opsi-client-agent\
[6] [2023-07-28 06:29:53.219] [opsi-client-agent]   unzipped: p:\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.153.zip to C:\Program Files (x86)\opsi.org\opsi-client-agent\
[5] [2023-07-28 06:29:53.221] [opsi-client-agent] Finished section: Files_extract_opsiclientd_binaries_to_temp
[5] [2023-07-28 06:29:55.216] [opsi-client-agent] comment: Installing opsiclientd binary files
[6] [2023-07-28 06:29:55.217] [opsi-client-agent]   The value of the variable "$BinDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin"
[6] [2023-07-28 06:29:55.217] [opsi-client-agent]   The value of the variable "$BinDir1$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1"
[6] [2023-07-28 06:29:55.217] [opsi-client-agent]   The value of the variable "$BinDir2$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2"
[6] [2023-07-28 06:29:55.217] [opsi-client-agent]   The value of the variable "$BinDirOld$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin_old"
[6] [2023-07-28 06:29:55.217] [opsi-client-agent]   The value of the variable "$NewDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2"
[6] [2023-07-28 06:29:55.218] [opsi-client-agent]   The value of the variable "$LinkTarget$" is now: ""
[6] [2023-07-28 06:29:55.218] [opsi-client-agent] Marked error number 0
[6] [2023-07-28 06:29:55.218] [opsi-client-agent] If
[7] [2023-07-28 06:29:55.219] [opsi-client-agent]     Checking if "10.0" is "<" than / as "10.0"
[6] [2023-07-28 06:29:55.220] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "10.0")   <<< result false
[6] [2023-07-28 06:29:55.220] [opsi-client-agent] Then
[6] [2023-07-28 06:29:55.220] [opsi-client-agent]   If
[6] [2023-07-28 06:29:55.220] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:55.220] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:55.220] [opsi-client-agent] Else
[6] [2023-07-28 06:29:55.220] [opsi-client-agent]   PowershellCall Executing: Get-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin" | Select-Object -ExpandProperty Target ; mode: sysnative
[7] [2023-07-28 06:29:55.220] [opsi-client-agent]
[7] [2023-07-28 06:29:55.220] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
[7] [2023-07-28 06:29:55.528] [opsi-client-agent]   Save to file with encoding: system
[6] [2023-07-28 06:29:55.733] [opsi-client-agent]   ExitCode 0
[7] [2023-07-28 06:29:55.738] [opsi-client-agent] The file: c:\opsi.org\tmp\_opsiscript_5x5EexHA41.ps1 has been deleted
[7] [2023-07-28 06:29:55.738] [opsi-client-agent]   The value of the variable "$TempList$" is now:
[7] [2023-07-28 06:29:55.738] [opsi-client-agent]   (string   0)C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]   The value of the variable "$LinkTarget$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2"
[6] [2023-07-28 06:29:55.740] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:55.740] [opsi-client-agent] If
[7] [2023-07-28 06:29:55.740] [opsi-client-agent]   $LinkTarget$ = ""   <<< result false
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]   ($LinkTarget$ = "")   <<< result false
[6] [2023-07-28 06:29:55.740] [opsi-client-agent] Then
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]   If
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]     If
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]     Then
[6] [2023-07-28 06:29:55.740] [opsi-client-agent]     EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]     If
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]     Then
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]       If
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]       Then
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]       Else
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]         If
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]         Then
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]           If
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]           Then
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]           EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]         Else
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]         EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]       EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]     EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:55.741] [opsi-client-agent] Else
[5] [2023-07-28 06:29:55.742] [opsi-client-agent]   comment: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin is a link to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]   If
[7] [2023-07-28 06:29:55.742] [opsi-client-agent]     TakeString(-1, SplitString($LinkTarget$, "\")) = "opsiclientd_bin2"   <<< result true
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]     (TakeString(-1, SplitString($LinkTarget$, "\")) = "opsiclientd_bin2")   <<< result true
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]   Then
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]       The value of the variable "$NewDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1"
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]   EndIf
[6] [2023-07-28 06:29:55.742] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:55.742] [opsi-client-agent] If
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]     Starting query if file exists ...
[6] [2023-07-28 06:29:55.742] [opsi-client-agent]   FileExists($NewDir$)   <<< result true
[6] [2023-07-28 06:29:55.742] [opsi-client-agent] Then
[5] [2023-07-28 06:29:55.742] [opsi-client-agent]   comment: Removing C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1
[5] [2023-07-28 06:29:55.743] [opsi-client-agent]   PowershellCall Executing: Remove-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1" -Recurse ; mode: sysnative
[6] [2023-07-28 06:29:55.743] [opsi-client-agent]
[6] [2023-07-28 06:29:55.743] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
[7] [2023-07-28 06:29:55.743] [opsi-client-agent]   ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "powershell.exe get-executionpolicy"
[7] [2023-07-28 06:29:56.050] [opsi-client-agent]   Save to file with encoding: system
[6] [2023-07-28 06:29:56.255] [opsi-client-agent]   ExitCode 0
[7] [2023-07-28 06:29:56.258] [opsi-client-agent] The file: c:\opsi.org\tmp\_opsiscript_u8PP1g7q4I.ps1 has been deleted
[7] [2023-07-28 06:29:56.258] [opsi-client-agent]   Search "c:\opsi.org\tmp\_opsiscript_*"
[7] [2023-07-28 06:29:56.258] [opsi-client-agent] output:
[7] [2023-07-28 06:29:56.258] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:56.258] [opsi-client-agent]
[6] [2023-07-28 06:29:56.260] [opsi-client-agent] EndIf
[6] [2023-07-28 06:29:56.260] [opsi-client-agent] If
[6] [2023-07-28 06:29:56.260] [opsi-client-agent]     Starting query if file exists ...
[6] [2023-07-28 06:29:56.260] [opsi-client-agent]   Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1":
[6] [2023-07-28 06:29:56.260] [opsi-client-agent]   FileExists($NewDir$)   <<< result false
[6] [2023-07-28 06:29:56.260] [opsi-client-agent] Then
[6] [2023-07-28 06:29:56.260] [opsi-client-agent] EndIf
[5] [2023-07-28 06:29:56.260] [opsi-client-agent] comment: Moving C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86 to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1
[5] [2023-07-28 06:29:56.261] [opsi-client-agent] PowershellCall Executing: Rename-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86" "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1" ; mode: sysnative
[6] [2023-07-28 06:29:56.261] [opsi-client-agent]
[6] [2023-07-28 06:29:56.261] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
[7] [2023-07-28 06:29:56.261] [opsi-client-agent]   ShellCall Executing: "C:\Windows\system32\\cmd.exe" /C "powershell.exe get-executionpolicy"
[7] [2023-07-28 06:29:56.567] [opsi-client-agent]   Save to file with encoding: system
[6] [2023-07-28 06:29:56.875] [opsi-client-agent]   ExitCode 0
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] The file: c:\opsi.org\tmp\_opsiscript_DPQu5n393u.ps1 has been deleted
[7] [2023-07-28 06:29:56.876] [opsi-client-agent]   Search "c:\opsi.org\tmp\_opsiscript_*"
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] output:
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] --------------
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] Rename-Item : Der Zugriff auf den Pfad "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86"
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] wurde verweigert.
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] In C:\opsi.org\tmp\_opsiscript_DPQu5n393u.ps1:2 Zeichen:1
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] + Rename-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsicl ...
[7] [2023-07-28 06:29:56.876] [opsi-client-agent] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[7] [2023-07-28 06:29:56.876] [opsi-client-agent]     + CategoryInfo          : WriteError: (C:\Program File...ntd_windows_x86:String) [Rename-Item], IOException
[7] [2023-07-28 06:29:56.876] [opsi-client-agent]     + FullyQualifiedErrorId : RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand
[7] [2023-07-28 06:29:56.876] [opsi-client-agent]
[7] [2023-07-28 06:29:56.876] [opsi-client-agent]
[5] [2023-07-28 06:29:56.878] [opsi-client-agent] comment: Creating link C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin pointing to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1
[5] [2023-07-28 06:29:56.878] [opsi-client-agent] Execution of: ShellInAnIcon_mklink
[7] [2023-07-28 06:29:56.878] [opsi-client-agent]   Save to file with encoding: system
[7] [2023-07-28 06:29:56.879] [opsi-client-agent]   Executing "C:\Windows\system32\\cmd.exe" /C c:\opsi.org\tmp\_opsiscript_x61ErAx6A5.cmd
[6] [2023-07-28 06:29:56.879] [opsi-client-agent]   Start process as invoker: SYSTEM
[6] [2023-07-28 06:29:56.880] [opsi-client-agent]   Started process "C:\Windows\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_x61ErAx6A5.cmd
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]           output:
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]           --------------
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]           C:\Windows\system32>rmdir "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin"
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]           C:\Windows\system32>mklink /j "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin" "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1"
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]           Verbindung erstellt für C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin <<===>> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]
[7] [2023-07-28 06:29:56.912] [opsi-client-agent]   The file: c:\opsi.org\tmp\_opsiscript_x61ErAx6A5.cmd has been deleted
[6] [2023-07-28 06:29:56.912] [opsi-client-agent]     Search "c:\opsi.org\tmp\_opsiscript_*"
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]   If
[7] [2023-07-28 06:29:56.914] [opsi-client-agent]   $Finalize$ = "opsiclientd_killed_force_service_start"   <<< result false
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]   not ($Finalize$ = "opsiclientd_killed_force_service_start")   <<< result true
[6] [2023-07-28 06:29:56.914] [opsi-client-agent] Then
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]   If
[7] [2023-07-28 06:29:56.914] [opsi-client-agent]     ErrorsOccurredSinceMark > 0   <<< result false
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]       Starting query if file exists ...
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]     Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1":
[7] [2023-07-28 06:29:56.914] [opsi-client-agent]     FileExists($NewDir$)   <<< result false
[7] [2023-07-28 06:29:56.914] [opsi-client-agent]     not (FileExists($NewDir$))   <<< result true
[7] [2023-07-28 06:29:56.914] [opsi-client-agent]     (not (FileExists($NewDir$)))   <<< result true
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]     (ErrorsOccurredSinceMark > 0) or (not (FileExists($NewDir$)))   <<< result true
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]   Then
[3] [2023-07-28 06:29:56.914] [opsi-client-agent]     Error: Failed to install opsiclientd binaries
[2] [2023-07-28 06:29:56.914] [opsi-client-agent]     Error level set to fatal
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]     Process aborted
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]
[6] [2023-07-28 06:29:56.914] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_opsiclientd
[6] [2023-07-28 06:29:56.914] [opsi-client-agent]
[6] [2023-07-28 06:29:56.914] [opsi-client-agent] Process aborted
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] ___________________
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] script finished: failed
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] 1 error
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] 0 warnings
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] Exitcode will be: 1
[1] [2023-07-28 06:29:56.914] [opsi-client-agent]
[1] [2023-07-28 06:29:56.914] [opsi-client-agent] handled product: opsi-client-agent Version: 4.2.0.64-1
[1] [2023-07-28 06:29:56.915] [opsi-client-agent]
[5] [2023-07-28 06:29:56.915] [opsi-client-agent] We do not look for a update script, because the setup script is failed
[7] [2023-07-28 06:29:56.915] [opsi-client-agent] BuildPC: update switches .....
[6] [2023-07-28 06:29:56.935] [opsi-client-agent] HTTPSender Post succeeded
[6] [2023-07-28 06:29:56.935] [opsi-client-agent] Server-FQDN: 192.168.26.86 Server-IP: 192.168.26.86
[6] [2023-07-28 06:29:56.935] [opsi-client-agent] JSON Bench for productOnClient_updateObject "params":[{"clientId":"pc2302-01733.domain.local Start: 06:29:56:915 Time: 00:00:00:020
Herzlichen Dank !!!
Mit freundlichen Grüßen,
Valentino
Benutzeravatar
n.doerrer
uib-Team
Beiträge: 267
Registriert: 23 Okt 2020, 16:11

Re: opsi-client-agent Update auf neue rename-Technik schlägt fehl

Beitrag von n.doerrer »

Hallo, er installiert sich halt auf 6 von 10 Rechnern...4 sind danach defekt und verbinden sich nicht mehr mit dem OPSI. Dann muss manuell repariert werden, dann funktioniert es auch wieder. Aber eben manuell!
Windows Defender Ausschlüsse habe ich schon angepasst gerade...aber auch keine Verbesserung :-(

Ich weiß also nicht obs überhaupt daran liegt. Im LOG des Defenders finde ich ja auch nichts dazu!
Das ist mit 99%iger Sicherheit ein Antiviren-Programm-Problem.

Der neue opsiclientd wird erfolgreich ausgepackt. Anschließend gibt es ein PermissionDenied auf das eben selbsterstellte directory. Und das anscheinend häufig, aber nicht immer. Muss also irgendein externer Mechanismus sein, der das directory kurzfristig (zur Analyse oder so) blockiert, direkt nachdem es erzeugt wurde.

Ich habe einen neuen opsi-client-agent (4.2.0.65-3) gebaut und heute nach experimental freigegeben, der das Problem angeht. Darin wird, wenn das Bewegen des neuen directories scheitert, es nach 3 Sekunden nochmal versucht. Scheitert das erneut, wird die Installation abgebrochen (isFatalError) und der vorherige opsi-client-agent sollte noch voll Funktionsfähig sein.

Bitte einmal damit testen.
mdecker
Beiträge: 85
Registriert: 26 Mär 2012, 16:20

Re: opsi-client-agent Update auf neue rename-Technik schlägt fehl

Beitrag von mdecker »

Ich habe das gleiche Problem bei uns bei ein paar einzelnen Clients bemerkt. Allerdings scheint mir der Fehler etwas anders auszusehen. Falls es am AV liegt, dann ist es auf jeden Fall kein systematischer Fehler, denn bei den meisten Clients hat die Installation geklappt.

Code: Alles auswählen

(111)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent] ============ Version 4.12.9.1 script "C:\opsi.org\cache\depot\opsi-client-agent\setup.opsiscript"
(112)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              used script encoding: cp1252
(113)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              used system encoding: cp1252
(114)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              start: 2023-07-13  23:41:56
(115)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              installing product: opsi-client-agent_4.2.0.61-1
(116)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              on client named    "XXXX"
(117)     [1] [2023-07-13 23:41:56.164] [opsi-client-agent]              loggedin user    ""
(118)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent]              opsi-script running as    "SYSTEM"
(119)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent]              opsi-script running with admin privileges
(120)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent]              opsi-script running in standard script mode
(121)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent] Scaling for screen DPI: 144
(122)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
(123)     [1] [2023-07-13 23:41:56.176] [opsi-client-agent] system infos:
(124)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] C8-58-C0-2A-60-88  -  PC hardware address
(125)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] XXXX  -  IP name
(126)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] YYYY  -  IP address
(127)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] ENU  -  System default locale
(131)     [6] [2023-07-13 23:41:56.189] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(132)     [6] [2023-07-13 23:41:56.189] [opsi-client-agent] Key closed
(136)     [6] [2023-07-13 23:41:56.189] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(137)     [6] [2023-07-13 23:41:56.189] [opsi-client-agent] Key closed
(138)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] MS Windows 10.0 64 Bit, Release: 20H2, Edition: Enterprise Edition
(139)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] opsi service version : 4
(140)     [1] [2023-07-13 23:41:56.189] [opsi-client-agent] 
(143)     [6] [2023-07-13 23:41:56.193] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
(144)     [6] [2023-07-13 23:41:56.193] [opsi-client-agent] Key closed
(145)     [6] [2023-07-13 23:41:56.196] [opsi-client-agent] Try getting FQDN with WMI:
(146)     [6] [2023-07-13 23:41:56.377] [opsi-client-agent] WMI result for FQDN: XXXX
(148)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent] opsi-script has version  4.12.9.1, required is : >= 4.12.4.35
(149)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$ProductId$" is now: "opsi-client-agent"
(150)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$BaseDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent"
(151)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$VarDir$" is now: "c:\opsi.org"
(152)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$ServiceAddress$" is now: "https://127.0.0.1:4441"
(153)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$ServiceUsername$" is now: "XXXX"
(154)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$ServicePassword$" is now: "***(confidential)***"
(155)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$ClientId$" is now: "XXXX"
(156)     [6] [2023-07-13 23:41:56.412] [opsi-client-agent]   The value of the variable "$InstallationOptions$" is now: ""
(157)     [6] [2023-07-13 23:41:56.413] [opsi-client-agent]   The value of the variable "$Finalize$" is now: "service_restart"
(158)     [6] [2023-07-13 23:41:56.413] [opsi-client-agent] Added defined function: install_requirements to the known functions
(159)     [6] [2023-07-13 23:41:56.416] [opsi-client-agent] Added defined function: install_opsiclientd to the known functions
(160)     [6] [2023-07-13 23:41:56.417] [opsi-client-agent] Added defined function: install_opsiscript to the known functions
(161)     [6] [2023-07-13 23:41:56.419] [opsi-client-agent] Added defined function: install_loginblocker to the known functions
(162)     [6] [2023-07-13 23:41:56.419] [opsi-client-agent] Added defined function: install_opsinotifier to the known functions
(163)     [6] [2023-07-13 23:41:56.420] [opsi-client-agent] Added defined function: install_opsisystray to the known functions
(164)     [6] [2023-07-13 23:41:56.421] [opsi-client-agent] Added defined function: install_custom_files to the known functions
(165)     [6] [2023-07-13 23:41:56.422] [opsi-client-agent] Added defined function: install_directories to the known functions
(166)     [6] [2023-07-13 23:41:56.423] [opsi-client-agent] Added defined function: rotate_instlog to the known functions
(167)     [6] [2023-07-13 23:41:56.424] [opsi-client-agent] Added defined function: set_running_netboot_package_to_installed to the known functions
(168)     [6] [2023-07-13 23:41:56.424] [opsi-client-agent] Added defined function: set_installed_packages_to_setup to the known functions
(169)     [6] [2023-07-13 23:41:56.425] [opsi-client-agent] Added defined function: set_opsi_general_config to the known functions
(170)     [6] [2023-07-13 23:41:56.426] [opsi-client-agent] Added defined function: install_configuration to the known functions
(171)     [6] [2023-07-13 23:41:56.426] [opsi-client-agent] Added defined function: setup_after_install to the known functions
(172)     [6] [2023-07-13 23:41:56.427] [opsi-client-agent] Added defined function: get_config_value to the known functions
(173)     [6] [2023-07-13 23:41:56.430] [opsi-client-agent] Added defined function: process_wim_capture to the known functions
(174)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] If
(176)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent]   not (GetOS = "Windows_NT")   <<< result false
(177)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] Then
(178)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] EndIf
(179)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] If
(181)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "6.0")   <<< result false
(182)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] Then
(183)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] EndIf
(184)     [6] [2023-07-13 23:41:56.431] [opsi-client-agent] If
(185)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent]     Free on Disk C:: 55,586,512,896 bytes  This is more than the required amount of 200,000,000 bytes
(187)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent]   not (HasMinimumSpace("C:", "200 MB"))   <<< result false
(188)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent] Then
(189)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent] EndIf
(190)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent] If
(192)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent]   (strLength($ClientId$) > "64")   <<< result false
(193)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent] Then
(194)     [6] [2023-07-13 23:41:56.432] [opsi-client-agent] EndIf
(195)     [5] [2023-07-13 23:41:56.433] [opsi-client-agent] PowershellCall Executing: echo test ; mode: sysnative
(196)     [6] [2023-07-13 23:41:56.433] [opsi-client-agent] 
(197)     [6] [2023-07-13 23:41:56.433] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
(200)     [6] [2023-07-13 23:41:59.347] [opsi-client-agent]   ExitCode 0
(207)     [6] [2023-07-13 23:41:59.364] [opsi-client-agent] If
(209)     [6] [2023-07-13 23:41:59.364] [opsi-client-agent]   not ("0" = GetLastExitcode)   <<< result false
(210)     [6] [2023-07-13 23:41:59.364] [opsi-client-agent] Then
(211)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent] EndIf
(212)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent]   The value of the variable "$PreviousOCDVersion$" is now: ""
(213)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent] If
(214)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent]     Starting query if file exists ...
(215)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent]   FileExists($BaseDir$+"\opsiclientd_bin\opsiclientd.exe")   <<< result true
(216)     [6] [2023-07-13 23:41:59.365] [opsi-client-agent] Then
(217)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent]     The value of the variable "$PreviousOCDVersion$" is now: "4.2.0.132"
(218)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent] Else
(219)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent]   If
(220)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent]   Then
(221)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent]   Else
(222)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent]   EndIf
(223)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent] EndIf
(224)     [6] [2023-07-13 23:41:59.394] [opsi-client-agent] If
(225)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent]   $PreviousOCDVersion$ = ""   <<< result false
(226)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent] Then
(227)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent] EndIf
(228)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent] If
(233)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent]   not($PreviousOCDVersion$ = "-1") and CompareDotSeparatedNumbers($PreviousOCDVersion$, "<", "4.2.0.77") and contains($ServiceAddress$, "localhost")   <<< result false
(234)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent] Then
(235)     [6] [2023-07-13 23:41:59.395] [opsi-client-agent] EndIf
(236)     [5] [2023-07-13 23:41:59.396] [opsi-client-agent] comment: Show product image
(237)     [5] [2023-07-13 23:41:59.410] [opsi-client-agent] message Installing opsi-client-agent ...
(238)     [6] [2023-07-13 23:41:59.414] [opsi-client-agent] If
(241)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent]   isProcessChildOf('opsi-script.exe','opsiclientd.exe')   <<< result true
(242)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] Then
(243)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent]     The value of the variable "$RunningInServiceContext$" is now: "true"
(244)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] Else
(245)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] EndIf
(246)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] If
(248)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent]   ($RunningInServiceContext$ = "true")   <<< result true
(249)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] Then
(250)     [5] [2023-07-13 23:41:59.420] [opsi-client-agent]   comment: Running in service context
(251)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent] Else
(252)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent]   If
(253)     [6] [2023-07-13 23:41:59.420] [opsi-client-agent]   Then
(254)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   EndIf
(255)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   If
(256)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   Then
(257)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   EndIf
(258)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   If
(259)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   Then
(260)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   EndIf
(261)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   If
(262)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]   Then
(263)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]     If
(264)     [6] [2023-07-13 23:41:59.421] [opsi-client-agent]     Then
(265)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]       If
(266)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]       Then
(267)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]       EndIf
(268)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]     EndIf
(269)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]   EndIf
(270)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent] EndIf
(271)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent] If
(273)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent]   not ("SYSTEM" = "SYSTEM")   <<< result false
(274)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent] Then
(275)     [6] [2023-07-13 23:41:59.422] [opsi-client-agent] EndIf
(276)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent] If
(277)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent]     Starting query if file exists ...
(279)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent]   not (FileExists($BaseDir$ + "\opsi-script"))   <<< result false
(280)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent] Then
(281)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent] EndIf
(282)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent] 
(283)     [6] [2023-07-13 23:41:59.423] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_vcredist
(284)     [5] [2023-07-13 23:41:59.423] [opsi-client-agent] comment: Installing vcredist
(285)     [5] [2023-07-13 23:41:59.424] [opsi-client-agent] message Installing vcredist
(286)     [6] [2023-07-13 23:41:59.427] [opsi-client-agent] DisableWow64FsRedirection succeeded
(287)     [5] [2023-07-13 23:41:59.428] [opsi-client-agent] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C ""C:\opsi.org\cache\depot\opsi-client-agent\files\vcredist\VC_redist.x86.exe" /install /quiet /norestart"
(288)     [6] [2023-07-13 23:42:22.875] [opsi-client-agent] ExitCode 0
(292)     [6] [2023-07-13 23:42:22.875] [opsi-client-agent] RevertWow64FsRedirection succeeded
(293)     [6] [2023-07-13 23:42:22.879] [opsi-client-agent] If
(295)     [6] [2023-07-13 23:42:22.883] [opsi-client-agent]   (GetSystemType = "64 Bit System")   <<< result true
(296)     [6] [2023-07-13 23:42:22.883] [opsi-client-agent] Then
(297)     [6] [2023-07-13 23:42:22.883] [opsi-client-agent]   DisableWow64FsRedirection succeeded
(298)     [5] [2023-07-13 23:42:22.883] [opsi-client-agent]   ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C ""C:\opsi.org\cache\depot\opsi-client-agent\files\vcredist\VC_redist.x64.exe" /install /quiet /norestart"
(299)     [6] [2023-07-13 23:42:37.447] [opsi-client-agent]   ExitCode 0
(303)     [6] [2023-07-13 23:42:37.447] [opsi-client-agent]   RevertWow64FsRedirection succeeded
(304)     [6] [2023-07-13 23:42:37.451] [opsi-client-agent] EndIf
(305)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] 
(306)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_vcredist
(307)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] 
(308)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] If
(310)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "10.0")   <<< result false
(311)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] Then
(312)     [6] [2023-07-13 23:42:37.454] [opsi-client-agent] EndIf
(316)     [6] [2023-07-13 23:42:37.455] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(317)     [6] [2023-07-13 23:42:37.455] [opsi-client-agent] Key closed
(321)     [6] [2023-07-13 23:42:37.455] [opsi-client-agent] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(322)     [6] [2023-07-13 23:42:37.455] [opsi-client-agent] Key closed
(323)     [5] [2023-07-13 23:42:37.455] [opsi-client-agent] comment: Checking for windows server - product_type_nr is 1
(324)     [6] [2023-07-13 23:42:37.455] [opsi-client-agent] If
(328)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(329)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent]   Key closed
(333)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(334)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent]   Key closed
(335)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent]   takeString(1,splitString(takeString(8, GetMsVersionMap),"=")) = "3"   <<< result false
(336)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent] Then
(337)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent] EndIf
(338)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent] Section ending since next line is starting with "["
(339)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent] 
(340)     [6] [2023-07-13 23:42:37.456] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_opsinotifier
(341)     [5] [2023-07-13 23:42:37.456] [opsi-client-agent] comment: Installing opsi-notifier
(342)     [5] [2023-07-13 23:42:37.457] [opsi-client-agent] message Installing opsi-notifier
(343)     [6] [2023-07-13 23:42:37.461] [opsi-client-agent] DisableWow64FsRedirection succeeded
(344)     [5] [2023-07-13 23:42:37.462] [opsi-client-agent] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C "taskkill /f /im opsi-notifier.exe"
(345)     [6] [2023-07-13 23:42:38.450] [opsi-client-agent] ExitCode 0
(352)     [6] [2023-07-13 23:42:38.450] [opsi-client-agent] RevertWow64FsRedirection succeeded
(353)     [6] [2023-07-13 23:42:38.454] [opsi-client-agent] DisableWow64FsRedirection succeeded
(354)     [5] [2023-07-13 23:42:38.454] [opsi-client-agent] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C "taskkill /f /im notifier.exe"
(355)     [6] [2023-07-13 23:42:38.664] [opsi-client-agent] ExitCode 128
(360)     [6] [2023-07-13 23:42:38.664] [opsi-client-agent] RevertWow64FsRedirection succeeded
(361)     [5] [2023-07-13 23:42:38.671] [opsi-client-agent] Execution of: Files_install_opsinotifier
(364)     [6] [2023-07-13 23:42:38.676] [opsi-client-agent]   Copying  C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\
(365)     [6] [2023-07-13 23:42:38.676] [opsi-client-agent]     1 File(s) found
(368)     [6] [2023-07-13 23:42:40.244] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\opsi-notifier.exe copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\
(369)     [6] [2023-07-13 23:42:40.250] [opsi-client-agent]     1 File(s) treated
(372)     [6] [2023-07-13 23:42:40.258] [opsi-client-agent]   Copying  C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\*.* -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(373)     [6] [2023-07-13 23:42:40.258] [opsi-client-agent]     17 File(s) found
(376)     [6] [2023-07-13 23:42:40.275] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\action.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(379)     [6] [2023-07-13 23:42:40.298] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\action.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(382)     [6] [2023-07-13 23:42:40.331] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(385)     [6] [2023-07-13 23:42:40.352] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\block_login.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(388)     [6] [2023-07-13 23:42:40.370] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\event.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(391)     [6] [2023-07-13 23:42:40.392] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\event.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(394)     [6] [2023-07-13 23:42:40.406] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\opsi.ico copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(397)     [6] [2023-07-13 23:42:40.422] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\popup.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(400)     [6] [2023-07-13 23:42:40.443] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\popup.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(403)     [6] [2023-07-13 23:42:40.461] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(406)     [6] [2023-07-13 23:42:40.481] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(409)     [6] [2023-07-13 23:42:40.503] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(412)     [6] [2023-07-13 23:42:40.514] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\shutdown_select_button_icon.png copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(415)     [6] [2023-07-13 23:42:40.528] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(418)     [6] [2023-07-13 23:42:40.543] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\userlogin.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(421)     [6] [2023-07-13 23:42:40.573] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.bmp copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(424)     [6] [2023-07-13 23:42:40.589] [opsi-client-agent]       copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-notifier\notifier.d\wait_for_gui.ini copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\notifier\
(425)     [6] [2023-07-13 23:42:40.589] [opsi-client-agent]     17 File(s) treated
(426)     [5] [2023-07-13 23:42:40.598] [opsi-client-agent] Finished section: Files_install_opsinotifier
(427)     [6] [2023-07-13 23:42:40.598] [opsi-client-agent] 
(428)     [6] [2023-07-13 23:42:40.598] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_opsinotifier
(429)     [6] [2023-07-13 23:42:40.598] [opsi-client-agent] 
(430)     [6] [2023-07-13 23:42:40.598] [opsi-client-agent] Section ending since next line is starting with "["
(431)     [6] [2023-07-13 23:42:40.599] [opsi-client-agent]   The value of the variable "$CheckInterval$" is now: "300"
(432)     [6] [2023-07-13 23:42:40.599] [opsi-client-agent]   The value of the variable "$NotifyFormat$" is now: "productname : request"
(433)     [5] [2023-07-13 23:42:40.601] [opsi-client-agent] message Uninstalling opsi-systray
(434)     [6] [2023-07-13 23:42:40.606] [opsi-client-agent] DisableWow64FsRedirection succeeded
(435)     [5] [2023-07-13 23:42:40.606] [opsi-client-agent] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C "taskkill /f /im opsi-client-systray.exe"
(436)     [6] [2023-07-13 23:42:40.828] [opsi-client-agent] ExitCode 128
(441)     [6] [2023-07-13 23:42:40.828] [opsi-client-agent] RevertWow64FsRedirection succeeded
(442)     [5] [2023-07-13 23:42:40.835] [opsi-client-agent] Execution of: Registry_uninstall_opsisystray
(445)     [6] [2023-07-13 23:42:40.842] [opsi-client-agent]   Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] opened
(446)     [6] [2023-07-13 23:42:40.843] [opsi-client-agent]           Entry   "opsi_systray_start" = ""C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\opsi-client-systray.exe" --fqdn=XXXX --checkintervall=300 --notifyformat="productname : request""  deleted
(447)     [6] [2023-07-13 23:42:40.843] [opsi-client-agent]           Key closed
(448)     [5] [2023-07-13 23:42:40.843] [opsi-client-agent] Execution of: Files_uninstall_opsisystray
(451)     [6] [2023-07-13 23:42:40.844] [opsi-client-agent]   Notice: File or Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-systray does not exist, nothing deleted
(454)     [6] [2023-07-13 23:42:40.846] [opsi-client-agent]       Search "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\*.*"
(455)     [6] [2023-07-13 23:42:40.849] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.de.po has been deleted
(456)     [6] [2023-07-13 23:42:40.851] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.en.po has been deleted
(457)     [6] [2023-07-13 23:42:40.854] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.es.po has been deleted
(458)     [6] [2023-07-13 23:42:40.857] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.fr.po has been deleted
(459)     [6] [2023-07-13 23:42:40.860] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.nl.po has been deleted
(460)     [6] [2023-07-13 23:42:40.862] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.po has been deleted
(461)     [6] [2023-07-13 23:42:40.864] [opsi-client-agent]         The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\opsi-client-systray.ru.po has been deleted
(462)     [6] [2023-07-13 23:42:40.866] [opsi-client-agent]       Directory "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale" deleted
(463)     [6] [2023-07-13 23:42:40.866] [opsi-client-agent]     Search "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\*.*"
(464)     [6] [2023-07-13 23:42:40.868] [opsi-client-agent]       The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\libcrypto-1_1.dll has been deleted
(465)     [6] [2023-07-13 23:42:40.871] [opsi-client-agent]       The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\libeay32.dll has been deleted
(466)     [6] [2023-07-13 23:42:40.873] [opsi-client-agent]       The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\libssl-1_1.dll has been deleted
(467)     [6] [2023-07-13 23:42:40.898] [opsi-client-agent]       The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\opsi-client-systray.exe has been deleted
(468)     [6] [2023-07-13 23:42:40.900] [opsi-client-agent]       The file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\ssleay32.dll has been deleted
(469)     [6] [2023-07-13 23:42:40.901] [opsi-client-agent]     Directory "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray" deleted
(470)     [5] [2023-07-13 23:42:40.902] [opsi-client-agent] Finished section: Files_uninstall_opsisystray
(471)     [6] [2023-07-13 23:42:40.902] [opsi-client-agent] If
(472)     [6] [2023-07-13 23:42:40.903] [opsi-client-agent]   GetProductProperty("systray_install", "true") = "true"   <<< result true
(473)     [6] [2023-07-13 23:42:40.903] [opsi-client-agent] Then
(474)     [5] [2023-07-13 23:42:40.903] [opsi-client-agent]   comment: Installing opsi-systray
(475)     [5] [2023-07-13 23:42:40.905] [opsi-client-agent]   message Installing opsi-systray
(476)     [5] [2023-07-13 23:42:40.913] [opsi-client-agent]   Execution of: Files_install_opsisystray
(479)     [6] [2023-07-13 23:42:40.915] [opsi-client-agent]         path C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\ created
(480)     [6] [2023-07-13 23:42:40.923] [opsi-client-agent]     Copying  C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\*.* -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(481)     [6] [2023-07-13 23:42:40.923] [opsi-client-agent]       8 File(s) found
(483)     [6] [2023-07-13 23:42:42.935] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\opsi-client-systray.exe copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(485)     [6] [2023-07-13 23:42:42.954] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.de.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(487)     [6] [2023-07-13 23:42:42.968] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.en.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(489)     [6] [2023-07-13 23:42:42.982] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.es.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(491)     [6] [2023-07-13 23:42:42.997] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.fr.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(493)     [6] [2023-07-13 23:42:43.011] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.nl.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(495)     [6] [2023-07-13 23:42:43.026] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(497)     [6] [2023-07-13 23:42:43.040] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-client-systray\locale\opsi-client-systray.ru.po copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\locale\
(498)     [6] [2023-07-13 23:42:43.041] [opsi-client-agent]       8 File(s) treated
(501)     [6] [2023-07-13 23:42:43.046] [opsi-client-agent]     Copying  C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-script\*.dll -----> C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(502)     [6] [2023-07-13 23:42:43.046] [opsi-client-agent]       4 File(s) found
(504)     [6] [2023-07-13 23:42:44.362] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-script\libcrypto-1_1.dll copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(506)     [6] [2023-07-13 23:42:44.747] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-script\libeay32.dll copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(508)     [6] [2023-07-13 23:42:46.418] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-script\libssl-1_1.dll copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(510)     [6] [2023-07-13 23:42:46.735] [opsi-client-agent]         copy: C:\opsi.org\cache\depot\opsi-client-agent\files\opsi-script\ssleay32.dll copied to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\
(511)     [6] [2023-07-13 23:42:46.739] [opsi-client-agent]       4 File(s) treated
(512)     [5] [2023-07-13 23:42:46.746] [opsi-client-agent]   Finished section: Files_install_opsisystray
(513)     [5] [2023-07-13 23:42:46.746] [opsi-client-agent]   Execution of: Registry_install_opsisystray
(516)     [6] [2023-07-13 23:42:46.746] [opsi-client-agent]     Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] opened
(517)     [6] [2023-07-13 23:42:46.747] [opsi-client-agent]             Variable "opsi_systray_start"  set to ""C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-client-systray\opsi-client-systray.exe" --fqdn=XXXX --checkintervall=300 --notifyformat="productname : request""
(518)     [6] [2023-07-13 23:42:46.747] [opsi-client-agent]             Key closed
(519)     [6] [2023-07-13 23:42:46.748] [opsi-client-agent] EndIf
(520)     [6] [2023-07-13 23:42:46.748] [opsi-client-agent] Section ending since next line is starting with "["
(521)     [6] [2023-07-13 23:42:46.748] [opsi-client-agent] 
(522)     [6] [2023-07-13 23:42:46.748] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_uninstall_opsiclientdguard
(523)     [5] [2023-07-13 23:42:46.748] [opsi-client-agent] comment: Uninstalling opsiclientdguard
(524)     [5] [2023-07-13 23:42:46.749] [opsi-client-agent] message Uninstalling opsiclientdguard
(525)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] If
(526)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent]     Starting query if file exists ...
(527)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent]   Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientdguard":
(528)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent]   FileExists($BaseDir$ + "\opsiclientdguard")   <<< result false
(529)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] Then
(530)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] EndIf
(531)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] 
(532)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_uninstall_opsiclientdguard
(533)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] 
(534)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] 
(535)     [6] [2023-07-13 23:42:46.753] [opsi-client-agent] ~~~~~~~ Start Sub ~~~~~~~  Sub_install_opsiclientd
(536)     [5] [2023-07-13 23:42:46.754] [opsi-client-agent] comment: Installing opsiclientd
(537)     [5] [2023-07-13 23:42:46.754] [opsi-client-agent] message Installing opsiclientd
(539)     [6] [2023-07-13 23:42:46.758] [opsi-client-agent] ShellCall Executing: "C:\WINDOWS\system32\\cmd.exe" /C "dir /B "C:\opsi.org\cache\depot\opsi-client-agent\files""
(557)     [6] [2023-07-13 23:42:46.877] [opsi-client-agent] If
(558)     [6] [2023-07-13 23:42:46.877] [opsi-client-agent]   count($TempList$) = "0"   <<< result false
(559)     [6] [2023-07-13 23:42:46.877] [opsi-client-agent] Then
(560)     [6] [2023-07-13 23:42:46.878] [opsi-client-agent] EndIf
(561)     [6] [2023-07-13 23:42:46.878] [opsi-client-agent]   The value of the variable "$BinaryArchiveFile$" is now: "C:\opsi.org\cache\depot\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.149.zip"
(562)     [5] [2023-07-13 23:42:46.879] [opsi-client-agent] comment: Extracting opsiclientd archive file: C:\opsi.org\cache\depot\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.149.zip
(563)     [5] [2023-07-13 23:42:46.879] [opsi-client-agent] Execution of: Files_extract_opsiclientd_binaries_to_temp
(566)     [6] [2023-07-13 23:42:46.880] [opsi-client-agent]   Notice: File or Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86 does not exist, nothing deleted
(569)     [6] [2023-07-13 23:42:46.880] [opsi-client-agent]   we try to unzip: C:\opsi.org\cache\depot\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.149.zip to C:\Program Files (x86)\opsi.org\opsi-client-agent\
(570)     [6] [2023-07-13 23:43:02.253] [opsi-client-agent]   unzipped: C:\opsi.org\cache\depot\opsi-client-agent\files\opsiclientd_windows_x86_4.2.0.149.zip to C:\Program Files (x86)\opsi.org\opsi-client-agent\
(571)     [5] [2023-07-13 23:43:02.257] [opsi-client-agent] Finished section: Files_extract_opsiclientd_binaries_to_temp
(572)     [5] [2023-07-13 23:43:04.246] [opsi-client-agent] comment: Installing opsiclientd binary files
(573)     [6] [2023-07-13 23:43:04.246] [opsi-client-agent]   The value of the variable "$BinDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin"
(574)     [6] [2023-07-13 23:43:04.246] [opsi-client-agent]   The value of the variable "$BinDir1$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1"
(575)     [6] [2023-07-13 23:43:04.246] [opsi-client-agent]   The value of the variable "$BinDir2$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2"
(576)     [6] [2023-07-13 23:43:04.247] [opsi-client-agent]   The value of the variable "$BinDirOld$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin_old"
(577)     [6] [2023-07-13 23:43:04.247] [opsi-client-agent]   The value of the variable "$NewDir$" is now: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2"
(578)     [6] [2023-07-13 23:43:04.247] [opsi-client-agent]   The value of the variable "$LinkTarget$" is now: ""
(579)     [6] [2023-07-13 23:43:04.247] [opsi-client-agent] Marked error number 0
(580)     [6] [2023-07-13 23:43:04.247] [opsi-client-agent] If
(582)     [6] [2023-07-13 23:43:04.250] [opsi-client-agent]   CompareDotSeparatedNumbers(GetMsVersionInfo, "<", "10.0")   <<< result false
(583)     [6] [2023-07-13 23:43:04.250] [opsi-client-agent] Then
(584)     [6] [2023-07-13 23:43:04.250] [opsi-client-agent]   If
(585)     [6] [2023-07-13 23:43:04.251] [opsi-client-agent]   Then
(586)     [6] [2023-07-13 23:43:04.251] [opsi-client-agent]   EndIf
(587)     [6] [2023-07-13 23:43:04.251] [opsi-client-agent] Else
(588)     [6] [2023-07-13 23:43:04.251] [opsi-client-agent]   PowershellCall Executing: Get-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin" | Select-Object -ExpandProperty Target ; mode: sysnative
(592)     [6] [2023-07-13 23:43:06.540] [opsi-client-agent]   ExitCode 0
(596)     [6] [2023-07-13 23:43:06.556] [opsi-client-agent]   The value of the variable "$LinkTarget$" is now: ""
(597)     [6] [2023-07-13 23:43:06.556] [opsi-client-agent] EndIf
(598)     [6] [2023-07-13 23:43:06.556] [opsi-client-agent] If
(600)     [6] [2023-07-13 23:43:06.556] [opsi-client-agent]   ($LinkTarget$ = "")   <<< result true
(601)     [6] [2023-07-13 23:43:06.556] [opsi-client-agent] Then
(602)     [5] [2023-07-13 23:43:06.557] [opsi-client-agent]   comment: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin is not a link
(603)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]   If
(604)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]       Starting query if file exists ...
(605)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]     FileExists($BinDir$)   <<< result true
(606)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]   Then
(607)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]     If
(608)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]         Starting query if file exists ...
(609)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]       Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1":
(610)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]       FileExists($BinDir1$)   <<< result false
(611)     [6] [2023-07-13 23:43:06.557] [opsi-client-agent]     Then
(612)     [6] [2023-07-13 23:43:06.558] [opsi-client-agent]     EndIf
(613)     [5] [2023-07-13 23:43:06.558] [opsi-client-agent]     comment: Moving C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1
(614)     [5] [2023-07-13 23:43:06.559] [opsi-client-agent]     PowershellCall Executing: Rename-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin" "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin1" ; mode: sysnative
(615)     [6] [2023-07-13 23:43:06.559] [opsi-client-agent] 
(616)     [6] [2023-07-13 23:43:06.559] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
(619)     [6] [2023-07-13 23:43:08.136] [opsi-client-agent]   ExitCode 0
(625)     [6] [2023-07-13 23:43:11.135] [opsi-client-agent] If
(626)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]         Starting query if file exists ...
(627)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]       Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin":
(628)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]       FileExists($BinDir$)   <<< result false
(629)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]     Then
(630)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]       If
(631)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]       Then
(632)     [6] [2023-07-13 23:43:11.138] [opsi-client-agent]       Else
(633)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]         If
(634)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]         Then
(635)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]           If
(636)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]           Then
(637)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]           EndIf
(638)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]         Else
(639)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]         EndIf
(640)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]       EndIf
(641)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]     EndIf
(642)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]   EndIf
(643)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent] Else
(644)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]   If
(645)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]   Then
(646)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]   EndIf
(647)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent] EndIf
(648)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent] If
(649)     [6] [2023-07-13 23:43:11.139] [opsi-client-agent]     Starting query if file exists ...
(650)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent]   Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2":
(651)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent]   FileExists($NewDir$)   <<< result false
(652)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent] Then
(653)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent] EndIf
(654)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent] If
(655)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent]     Starting query if file exists ...
(656)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent]   Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2":
(657)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent]   FileExists($NewDir$)   <<< result false
(658)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent] Then
(659)     [6] [2023-07-13 23:43:11.140] [opsi-client-agent] EndIf
(660)     [5] [2023-07-13 23:43:11.140] [opsi-client-agent] comment: Moving C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86 to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2
(661)     [5] [2023-07-13 23:43:11.141] [opsi-client-agent] PowershellCall Executing: Rename-Item "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_windows_x86" "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2" ; mode: sysnative
(662)     [6] [2023-07-13 23:43:11.141] [opsi-client-agent] 
(663)     [6] [2023-07-13 23:43:11.141] [opsi-client-agent] Execution of tmp-internal powershell.exe winst /sysnative
(666)     [6] [2023-07-13 23:43:12.915] [opsi-client-agent]   ExitCode 0
(679)     [5] [2023-07-13 23:43:12.930] [opsi-client-agent] comment: Creating link C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin pointing to C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2
(680)     [5] [2023-07-13 23:43:12.931] [opsi-client-agent] Execution of: ShellInAnIcon_mklink
(683)     [6] [2023-07-13 23:43:12.938] [opsi-client-agent]   Start process as invoker: SYSTEM
(684)     [6] [2023-07-13 23:43:13.032] [opsi-client-agent]   Started process "C:\WINDOWS\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_S33ih3ZY6i.cmd
(696)     [6] [2023-07-13 23:43:13.113] [opsi-client-agent]     Search "c:\opsi.org\tmp\_opsiscript_*"
(697)     [6] [2023-07-13 23:43:13.116] [opsi-client-agent]   If
(699)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]   not ($Finalize$ = "opsiclientd_killed_force_service_start")   <<< result true
(700)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent] Then
(701)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]   If
(703)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]       Starting query if file exists ...
(704)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]     Not found: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd_bin2":
(708)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]     (ErrorsOccurredSinceMark > 0) or (not (FileExists($NewDir$)))   <<< result true
(709)     [6] [2023-07-13 23:43:13.117] [opsi-client-agent]   Then
(710)     [3] [2023-07-13 23:43:13.117] [opsi-client-agent]     Error: Failed to install opsiclientd binaries
(711)     [2] [2023-07-13 23:43:13.118] [opsi-client-agent]     Error level set to fatal
(712)     [6] [2023-07-13 23:43:13.118] [opsi-client-agent]     Process aborted
(713)     [6] [2023-07-13 23:43:13.118] [opsi-client-agent] 
(714)     [6] [2023-07-13 23:43:13.118] [opsi-client-agent] ~~~~~~~ End Sub   ~~~~~~~  Sub_install_opsiclientd
(715)     [6] [2023-07-13 23:43:13.118] [opsi-client-agent] 
(716)     [6] [2023-07-13 23:43:13.118] [opsi-client-agent] Process aborted
(717)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] ___________________
(718)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] script finished: failed
(719)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] 1 error
(720)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] 0 warnings
(721)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] Exitcode will be: 1
(722)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] 
(723)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] handled product: opsi-client-agent Version: 4.2.0.61-1
(724)     [1] [2023-07-13 23:43:13.118] [opsi-client-agent] 
(725)     [5] [2023-07-13 23:43:13.118] [opsi-client-agent] We do not look for a update script, because the setup script is failed
Benutzeravatar
n.doerrer
uib-Team
Beiträge: 267
Registriert: 23 Okt 2020, 16:11

Re: opsi-client-agent Update auf neue rename-Technik schlägt fehl

Beitrag von n.doerrer »

Auch das hängt vermutlich mit Antivirensoftware zusammen, auch wenn es an etwas anderer Stelle bricht.

Es scheint ein timing-Problem zu sein. Ohne unser Wissen und fern unserer Kontrolle greift ein Prozess auf das dekomprimierte Verzeichnis zu und blockiert es für kurze Zeit. Wenn der Versuch, es zu bewegen in dieses kurze Zeitfenster fällt, scheitert es hier.

Aber wie gesagt, es gibt jetzt einen retry und wenn der immernoch nicht klappt, gilt die installation als failed und der alte opsi-client-agent ist noch funktionsfähig.
Valentino-46
Beiträge: 280
Registriert: 05 Aug 2011, 14:24

Re: opsi-client-agent Update auf neue rename-Technik schlägt fehl

Beitrag von Valentino-46 »

Hallo Herr Doerrer,

herzlichen Dank für den Workaround! Ich kam jetzt zurück aus dem Urlaub und kann mich erst jetzt dazu äußern.
Ich habe mehrere Tests mit der neuesten Experimental 4.2.0.67 durchgeführt und kann sagen, dass das Problem trotz Timeout und Retry manchmal noch auftritt. Allerdings ist das Wichtigste dabei, dass der Client-Agent nicht mehr kaputt geht!

Denn sonst wäre der Aufwand natürlich wesentlich höher. Tritt der Fehler nun auf, kann ich es mehrfach nochmal versuchen, bis es dann irgendwann (bis jetzt zumindest) klappt.

Nicht super schön, dass das Problem auftritt, aber wenigstens geht nichts dabei kaputt.

Vielleicht können und wollen Sie den Timeout deutlich höher stellen, zumindest für den Retry? Dann würde ein Upgrade vielleicht paar Minuten länger dauern, aber dafür häufiger funktionieren!?

Ich vertraue hier ihrer Einschätzung.
Vielen Dank von meiner Seite !!

Viele Grüße,
Valentino
Antworten