SYSPREP - Não valida

Anônima
2023-12-14T20:46:34+00:00

Boa tarde!

Estou utilizando uma imagem build 19045.3803, a partir dela estou tentando criar um sysprep, já utilizo desde as builds anteriores sem problema, ocorre que nesta versão passei a ter.

Ao finalizar com o comando de validação do sysprep, a mensagem de erro:

2023-12-14 17:27:35, Info SYSPRP ========================================================

2023-12-14 17:27:35, Info SYSPRP === Beginning of a new sysprep run ===

2023-12-14 17:27:35, Info SYSPRP ========================================================

2023-12-14 17:27:35, Info [0x0f004d] SYSPRP The time is now 2023-12-14 17:27:35

2023-12-14 17:27:35, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther

2023-12-14 17:27:35, Info [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine

2023-12-14 17:27:35, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything

2023-12-14 17:27:35, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'

2023-12-14 17:27:35, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'

2023-12-14 17:27:35, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'

2023-12-14 17:27:35, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'

2023-12-14 17:27:35, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.

2023-12-14 17:27:35, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 3

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>

2023-12-14 17:27:35, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2023-12-14 17:27:35, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2023-12-14 17:27:35, Info CSI 00000001 Shim considered [l:126]'??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3745_none_7ded3f327ca60a41\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND

2023-12-14 17:27:35, Info CSI 00000002 Shim considered [l:123]'??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.3745_none_7ded3f327ca60a41\wcp.dll' : got STATUS_SUCCESS

2023-12-14 17:27:35, Info SYSPRP Sysprep_Clean_Validate_Opk: Successfully validated reserves state on the machine for entering audit mode.

2023-12-14 17:27:35, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll

2023-12-14 17:27:35, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.

2023-12-14 17:27:35, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 1

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>

2023-12-14 17:27:35, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>

2023-12-14 17:27:35, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64

2023-12-14 17:27:35, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2023-12-14 17:27:35, Info SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll

2023-12-14 17:27:35, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll

2023-12-14 17:27:35, Info SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

2023-12-14 17:27:35, Error SYSPRP Package Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2023-12-14 17:27:35, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2023-12-14 17:27:35, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2023-12-14 17:27:35, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2

2023-12-14 17:27:35, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2

2023-12-14 17:27:35, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2

2023-12-14 17:27:35, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2

2023-12-14 17:27:35, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

2023-12-14 17:33:27, Info [0x0f0052] SYSPRP Shutting down SysPrep log

2023-12-14 17:33:27, Info [0x0f004d] SYSPRP The time is now 2023-12-14 17:33:27

Tentei remover o app do Edge, assim como removi os demais que causaram erro, porém neste, impossível:

PS C:\Users\Administrador> Remove-AppxPackage Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8wekyb3d8bbwe -AllUsers

Remove-AppxPackage : Não há suporte para o pedido.

erro 0x80070032: Operação de implantação de AppX Remove no pacote

Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8wekyb3d8bbwe de:

C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe falhou. Este aplicativo faz parte do Windows e não pode

ser desinstalado no nível do usuário. Um administrador pode tentar remover o aplicativo do computador usando a opção

"Ativar e desativar recursos do Windows". No entanto, talvez não seja possível desinstalar o aplicativo.

No linha:1 caractere:1

  • Remove-AppxPackage Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8 ...
  • 
        + CategoryInfo          : NotSpecified: (:) [Remove-AppxPackage], COMException 
    
        + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman 
    
       ds.RemoveAppxPackageCommand
    
    

Alguém com alguma ideia? pesquisei e a maioria dos sites a resposta foi sempre essa, remover o App, mas não citaram o Edge.

Windows para empresas | Cliente Windows para profissionais de TI | Dispositivos e implantação | Instalar atualizações, recursos ou funções do Windows

Pergunta bloqueada. Essa pergunta foi migrada da Comunidade de Suporte da Microsoft. É possível votar se é útil, mas não é possível adicionar comentários ou respostas ou seguir a pergunta.

0 comentários Sem comentários
Resposta aceita pelo autor da pergunta
Anônima
2024-07-03T12:45:04+00:00

Atualizando...para quem tiver este problema, só solucionou utilizando o Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>.

Esta resposta foi útil?

0 comentários Sem comentários

7 respostas adicionais

Classificar por: Mais Novo
  1. Anônima
    2024-07-03T13:30:55+00:00

    Olá

    Agradecemos o feedback e contato à Comunidade Microsoft.

    Esta resposta foi útil?

    1 pessoa achou esta resposta útil.
    0 comentários Sem comentários
  2. Anônima
    2024-01-23T21:30:09+00:00

    Olá Erik!

    Verifiquei no regedit e não consta essa chave:

    Verifiquei no log:

    Neste caso não está relacionado ao Edge, mas sim a outro aplicativo, terei que remover para dar sequência ao sysprep.

    Esta resposta foi útil?

    0 comentários Sem comentários
  3. Anônima
    2024-01-10T14:13:29+00:00

    Olá, Diogo!

    Para corrigir esse erro, siga estas etapas simples: abra o Editor de Registro (REGEDIT) e navegue até as chaves específicas do Sysprep em HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus. Dentro desta localização, exclua a subchave chamada CleanupState.

    Após realizar essa operação, execute novamente o Sysprep.

    Espero que essas instruções sejam úteis! Abraços!

    Esta resposta foi útil?

    1 pessoa achou esta resposta útil.
    0 comentários Sem comentários
  4. Anônima
    2023-12-19T13:20:25+00:00

    É com pesar que venho informar que... baixei a ISO com versão .3803, limpa, instalei, não realizei nenhuma modificação, apenas rodei o sysprep e sem nenhuma notificação ou solicitação para remover algum aplicativo da store, passou direto e realizou com êxito.

    Próximo passo é antes do sysprep atualizar tudo que é possível e verificar se algum erro ocorre.

    Esta resposta foi útil?

    0 comentários Sem comentários