Windows update could not be installed because of error 2147942402 "Das System kann die angegebene Datei nicht finden." (Command line: "C:\WINDOWS\system32\wusa.exe "C:\Program Files (x86)\ManageEngine\UEMS_Agent\\patches\Windows11.0-kb5060842-x64-24H2_win11.msu" /quiet /norestart")
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] Successfully downloaded the patch 41542-windows11.0-kb5060842-x64_07871bda98c444c14691e0a90560306703b739cf.msu.
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] Message : Der Vorgang wurde erfolgreich beendet.
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] isMemberOfList : List is empty.Hence 41542 is not a member of list
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] isMemberOfList : List is empty.Hence 41542 is not a member of list
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] isMemberOfList : List is empty.Hence 41542 is not a member of list
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] Adding to filesTobeDeleted : C:\Program Files (x86)\ManageEngine\UEMS_Agent\\patches\41542-windows11.0-kb5060842-x64_07871bda98c444c14691e0a90560306703b739cf.msu
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] @@@@@@@@@@@@@We are inside GetActualFileName function
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] IsRowsPresentInResultData : RowCount ->1 1
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] getPatchExecutablePtr : PatchStoreLocation criteria: patchid = 41542 and languageid=0 !!!
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] GetActualFileName: Executablefilename available
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] CompareFileNames: The file names are not same hence we are going the name in patchexecutablefile
[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] fileName from the patchexecutablefile table has been taken for installation[ 2025-06-16 18:18:43:960 ] [ 10768 ] [INFO] Executable FileName : Windows11.0-kb5060842-x64-24H2_win11.msu
It seems like the filename of the msu is wrong and wusa can't find it.