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] Add removing Copilot appx package before running GOSC test cases #596

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

Tomorrow9
Copy link
Member

In test cases "gosc_sanity_staticip" and "gosc_sanity_dhcp", get below sysprep error, according to Microsoft doc, we'll remove this Appx package before doing sysprep.

2024-06-20 22:22:28, Error SYSPRP Package Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2024-06-20 22:22:28, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2024-06-20 22:22:28, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2024-06-20 22:22:28, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2024-06-20 22:22:28, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2024-06-20 22:22:28, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2024-06-20 22:22:28, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2024-06-20 22:22:28, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

Signed-off-by: Diane Wang <dianew@vmware.com>
@Tomorrow9 Tomorrow9 added this to the 3.2 milestone Jun 24, 2024
@Tomorrow9 Tomorrow9 marked this pull request as draft June 24, 2024 07:46
Signed-off-by: Diane Wang <dianew@vmware.com>
Signed-off-by: Diane Wang <dianew@vmware.com>
@Tomorrow9 Tomorrow9 marked this pull request as ready for review June 25, 2024 05:25
Signed-off-by: Diane Wang <dianew@vmware.com>
Copy link
Contributor

@keirazhang keirazhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Copy link
Collaborator

@123lzxm 123lzxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@Tomorrow9 Tomorrow9 merged commit 8529b76 into vmware:main Jun 25, 2024
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

Successfully merging this pull request may close these issues.

3 participants