Getting error to install Exchange 2016 CU18

Al Amran 326 Reputation points
2021-03-11T19:35:03.44+00:00

76903-error.png

Error:
The following error was generated when "$error.Clear();
if ([Environment]::OSVersion.Version.Major -ge 6)
{
$WsbBinPath = '\"' + (join-path "$RoleInstallPath" "bin\wsbexchange.exe") + '\"';
$reg= join-path (join-path $env:SystemRoot system32) reg.exe;
$servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;

          if ((get-service wsbexchange* | where {$_.name -eq "wsbexchange"}))  
          {  
                if ((get-service wsbexchange).Status -eq "Running")  
                {  
                    Start-SetupProcess -Name:"$servicecmd" -Args:"stop wsbexchange";  
                }  
                Start-SetupProcess -Name:"$servicecmd" -Args:"delete wsbexchange";  
          }  

          Start-SetupProcess -Name:"$reg" -Args:"add `"HKCR\CLSID\{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}`" /t REG_SZ /d  `"CExchangeHelper Class`" /f";  
          Start-SetupProcess -Name:"$reg" -Args:"add `"HKCR\CLSID\{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}`" /v AppId /t REG_SZ /d `"{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}`" /f";  
          Start-SetupProcess -Name:"$reg" -Args:"add `"HKCR\CLSID\{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}\LocalServer32`" /t REG_SZ /d `"$WsbBinPath`" /f";  
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,177 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,350 questions
0 comments No comments
{count} votes

Accepted answer
  1. Eric Yin-MSFT 4,386 Reputation points
    2021-03-12T02:18:02.22+00:00

    Hi,
    Run Rsop.msc on the exchange server and see if you have configured any Group policy that prevents editting the regestry like this:
    Exchange_2010_Installation_Error_www.doitfixit.com_03.jpg

    Remove it and re-run the setup.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful