j.schneider hat geschrieben: ↑12 Aug 2025, 15:09
Hello,
you can check the logfile c:\opsi.org\log\opsi_loginblocker.log to see if it contains any clues about the cause.
Please note that opsi 4.2 has reached End-of-Life, so I strongly recommend upgrading the environment to opsi 4.3.
Best regards,
Jan Schneider
Thanks for the reply Jan
It was our intention to upgrade our OPSI environment to 4.3 during the summer vacation weeks, but non-compliant clients put a stop to that, and were why we unearthed this problem in the first place. It is our intention to go forward with the upgrade as soon as all prerequisites have been taken care of
First off, here is an example of how a normal execution of opsi login blocker looks:
Code: Alles auswählen
[1] [2025-08-13 10:15:14.736] [] --------------------------------------------------------------------------------------------------------------
[1] [2025-08-13 10:15:14.737] [] opsi login blocker version 4.2.0.5 initializing on Windows 10 (or above) (credential provider filter)
[1] [2025-08-13 10:15:14.737] [] --------------------------------------------------------------------------------------------------------------
[5] [2025-08-13 10:15:14.737] [] Getting config from registry
[5] [2025-08-13 10:15:14.737] [] log level is: 5
[3] [2025-08-13 10:15:14.738] [] Failed to query registry key 80000002, subKey SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\{d2028e19-82fe-44c6-ad64-51497c97a02a}, valueName LoginBlockerLogDir: 234
[3] [2025-08-13 10:15:14.738] [] Failed to get LoginBlockerLogDir value from registry, using default
[5] [2025-08-13 10:15:14.738] [] OpsiCredentialProviderFilter is enabled
[5] [2025-08-13 10:15:14.738] [] OpsiCredentialProvider is enabled
[5] [2025-08-13 10:15:14.738] [] LoginBlockerTimeoutConnect is 120 seconds
[1] [2025-08-13 10:15:14.739] [] opsi login blocker version 4.2.0.5 initialized on Windows 10 (or above)
[5] [2025-08-13 10:15:14.739] [] opsi com started
[5] [2025-08-13 10:15:14.739] [] Waiting for opsiclientd service to start
[5] [2025-08-13 10:15:14.740] [] Service opsiclientd is running (SERVICE_RUNNING)
[5] [2025-08-13 10:15:14.740] [] Connected to opsiclientd pipe
[5] [2025-08-13 10:15:14.740] [] Sending request: '{"id": 1, "method": "registerClient", "params": ["opsi-login-blocker","4.2.0.5"]}'
[5] [2025-08-13 10:15:14.743] [] Opsi credential provider filter init
[5] [2025-08-13 10:15:15.258] [] Received response: '{"id":1,"result":"client opsi-login-blocker/4.2.0.5/#1 registered","error":null}'
[5] [2025-08-13 10:15:15.765] [] Received request: '{"id":1,"method":"blockLogin","params":[false]}'
[5] [2025-08-13 10:15:15.765] [] Sending response: '{"id": 1, "result": "not blocking login", "error": null}'
[5] [2025-08-13 10:15:16.752] [] Filtering providers blockLogin=false, loginTriggered=false, rebootTriggered=false, shutdownTriggered=false
[5] [2025-08-13 10:15:16.776] [] Opsi credential provider init
[5] [2025-08-13 10:15:16.781] [] Hiding our tile (setting pdwCount to 0)
Looking at opsi_loginblocker.log from a client afflicted by the issue, I'm seeing instances of two different behaviours.
The first one seems to happen more often than the other. After confirmation that the opsiclientd service is running, the log is spammed 9 times with a line containing the message:
Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
Code: Alles auswählen
[1] [2025-08-13 10:21:17.318] [] --------------------------------------------------------------------------------------------------------------
[1] [2025-08-13 10:21:17.321] [] opsi login blocker version 4.2.0.5 initializing on Windows 10 (or above) (credential provider filter)
[1] [2025-08-13 10:21:17.321] [] --------------------------------------------------------------------------------------------------------------
[5] [2025-08-13 10:21:17.321] [] Getting config from registry
[5] [2025-08-13 10:21:17.321] [] log level is: 5
[3] [2025-08-13 10:21:17.321] [] Failed to query registry key 80000002, subKey SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\{d2028e19-82fe-44c6-ad64-51497c97a02a}, valueName LoginBlockerLogDir: 234
[3] [2025-08-13 10:21:17.321] [] Failed to get LoginBlockerLogDir value from registry, using default
[5] [2025-08-13 10:21:17.321] [] OpsiCredentialProviderFilter is enabled
[5] [2025-08-13 10:21:17.322] [] OpsiCredentialProvider is enabled
[5] [2025-08-13 10:21:17.322] [] LoginBlockerTimeoutConnect is 120 seconds
[1] [2025-08-13 10:21:17.322] [] opsi login blocker version 4.2.0.5 initialized on Windows 10 (or above)
[5] [2025-08-13 10:21:17.323] [] opsi com started
[5] [2025-08-13 10:21:17.323] [] Waiting for opsiclientd service to start
[5] [2025-08-13 10:21:17.323] [] Service opsiclientd is starting (SERVICE_START_PENDING)
[5] [2025-08-13 10:21:17.346] [] Opsi credential provider filter init
[5] [2025-08-13 10:21:20.327] [] Service opsiclientd is running (SERVICE_RUNNING)
[4] [2025-08-13 10:21:20.327] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:21.342] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:22.352] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:23.358] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:24.362] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:25.366] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:26.372] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:27.386] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[4] [2025-08-13 10:21:28.392] [] Could not open opsiclientd pipe \\.\pipe\opsiclientd: 2
[5] [2025-08-13 10:21:29.394] [] Connected to opsiclientd pipe
[5] [2025-08-13 10:21:29.395] [] Sending request: '{"id": 1, "method": "registerClient", "params": ["opsi-login-blocker","4.2.0.5"]}'
[5] [2025-08-13 10:21:29.916] [] Received response: '{"id":1,"result":"client opsi-login-blocker/4.2.0.5/#1 registered","error":null}'
[5] [2025-08-13 10:21:30.436] [] Received request: '{"id":1,"method":"blockLogin","params":[true]}'
[5] [2025-08-13 10:21:30.436] [] Sending response: '{"id": 1, "result": "blocking login", "error": null}'
In the other instances of opsi login blocker not unblocking properly, we're seeing the message
Failed to open Service Control Manager (error=5) spammed right after the log line stating that opsi login blocker is waiting for the opsiclientd service to start.
Code: Alles auswählen
[1] [2025-08-13 10:19:27.168] [] --------------------------------------------------------------------------------------------------------------
[1] [2025-08-13 10:19:27.169] [] opsi login blocker version 4.2.0.5 initializing on Windows 10 (or above) (credential provider filter)
[1] [2025-08-13 10:19:27.169] [] --------------------------------------------------------------------------------------------------------------
[5] [2025-08-13 10:19:27.169] [] Getting config from registry
[5] [2025-08-13 10:19:27.169] [] log level is: 5
[3] [2025-08-13 10:19:27.169] [] Failed to query registry key 80000002, subKey SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\{d2028e19-82fe-44c6-ad64-51497c97a02a}, valueName LoginBlockerLogDir: 234
[3] [2025-08-13 10:19:27.169] [] Failed to get LoginBlockerLogDir value from registry, using default
[5] [2025-08-13 10:19:27.170] [] OpsiCredentialProviderFilter is enabled
[5] [2025-08-13 10:19:27.170] [] OpsiCredentialProvider is enabled
[5] [2025-08-13 10:19:27.170] [] LoginBlockerTimeoutConnect is 120 seconds
[1] [2025-08-13 10:19:27.170] [] opsi login blocker version 4.2.0.5 initialized on Windows 10 (or above)
[5] [2025-08-13 10:19:27.170] [] opsi com started
[5] [2025-08-13 10:19:27.171] [] Waiting for opsiclientd service to start
[3] [2025-08-13 10:19:27.171] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:30.177] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:33.186] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:36.187] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:39.198] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:42.200] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:45.209] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:48.219] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:51.228] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:54.236] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:19:57.247] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:00.254] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:03.266] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:06.273] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:09.278] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:12.283] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:15.286] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:18.297] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:21.300] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:24.302] [] Failed to open Service Control Manager (error=5)
[3] [2025-08-13 10:20:27.311] [] Failed to open Service Control Manager (error=5)
Where do these errors stem from? The clients exhibiting these issues are configured the exact same way as the clients without the issues, so it's difficult to pin-point an exact cause with the limited knowledge of OPSI that we have at the department.