Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows update script exited with non-zero exit status: 2147942501 #78

Closed
tempora-mutantur opened this issue Aug 19, 2020 · 2 comments
Closed

Comments

@tempora-mutantur
Copy link

Hi.

I'm updating my Windows Server 2012

And here is my log:

17:19:33 ==> vsphere-clone: Uploading the Windows update elevated script...
17:19:34 ==> vsphere-clone: Uploading the Windows update check for reboot required elevated script...
17:19:35 ==> vsphere-clone: Uploading the Windows update script...
17:19:35 ==> vsphere-clone: Running Windows update...
17:19:42 vsphere-clone: Searching for Windows updates...
17:20:38 vsphere-clone: Waiting for operation to complete (system performance: 81% cpu; 44% memory)...
17:21:46 vsphere-clone: Waiting for operation to complete (system performance: 22% cpu; 61% memory)...
17:22:24 vsphere-clone: Found Windows update (2020-01-14; 74.93 MB): Windows Server 2012 x64 用 Microsoft .NET Framework 4.8 (KB4486081)
17:22:24 vsphere-clone: Found Windows update (2020-02-11; 53.3 MB): Windows Server 2012 (x64 ベース システム) � Internet Explorer 11
17:22:24 vsphere-clone: Found Windows update (2020-07-14; 9.74 MB): 2020-07x64 ベース システム用 Windows Server 2012 サービス スタック更新プログラム(KB4566426)
17:22:24 vsphere-clone: Found Windows update (2020-08-11; 70.46 MB): 2020-08 Windows Server 2012 (x64 版) 用 .NET Framework 3.5�4.5.2�4.6�4.6.1�4.6.2�4.7�4.7.1�4.7.2�4.8 �セキュリティ�よ��質ロールアップ (KB4570507)
17:22:24 vsphere-clone: Found Windows update (2020-08-11; 375.13 MB): 2020-08 x64 ベース システム用 Windows Server 2012 ��セキュリティ マンスリー�質ロールアップ (KB4571736)
17:22:24 vsphere-clone: Downloading Windows updates (5 updates; 583.56 MB)...
17:22:43 vsphere-clone: Waiting for operation to complete (system performance: 39% cpu; 19% memory)...
17:23:50 vsphere-clone: Waiting for operation to complete (system performance: 77% cpu; 27% memory)...
17:24:46 vsphere-clone: Waiting for operation to complete (system performance: 47% cpu; 31% memory)...
17:24:48 vsphere-clone: Installing Windows updates...
17:25:44 vsphere-clone: Waiting for operation to complete (system performance: 84% cpu; 30% memory)...
17:26:52 vsphere-clone: Waiting for operation to complete (system performance: 41% cpu; 30% memory)...
17:27:48 vsphere-clone: Waiting for operation to complete (system performance: 1% cpu; 30% memory)...
17:28:56 vsphere-clone: Waiting for operation to complete (system performance: 37% cpu; 34% memory)...
17:29:52 vsphere-clone: Waiting for operation to complete (system performance: 19% cpu; 29% memory)...
17:30:39 vsphere-clone: Waiting for the Windows Modules Installer to exit...
17:30:51 vsphere-clone: Waiting for operation to complete (system performance: 0% cpu; 32% memory)...
17:31:58 vsphere-clone: Waiting for operation to complete (system performance: 16% cpu; 33% memory)...
17:32:55 vsphere-clone: Waiting for operation to complete (system performance: 0% cpu; 32% memory)...
17:33:33 ==> vsphere-clone: Provisioning step had errors: Running the cleanup provisioner, if present...
17:33:33 ==> vsphere-clone: Power off VM...
17:33:33 ==> vsphere-clone: Destroying VM...
17:33:33 Build 'vsphere-clone' errored: Windows update script exited with non-zero exit status: 2147942501

As I understand, our scheduled task that runs updates returned this exit code. Converted to hex, the error code would be 0x8007 0065 - "The exclusive semaphore is owned by another process."

I'll continue looking into the problem, but with no success for now.

@rgl
Copy link
Owner

rgl commented Aug 1, 2021

Please try v0.14.0 and let us known how it goes.

@tempora-mutantur
Copy link
Author

Found out that in that cases such updates can't been installed even manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants