Link to home
Create AccountLog in
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Avatar of Alan Duck
Alan Duck🇬🇧

exchange 2016 failed to install now it wont uninstall or repair
Hi have a 2016 exchange installed that failed while installing Lanauge packs now i cant uninstall or repair has it throws up an error

1] 0.  ErrorRecord: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied
[05/04/2020 15:43:00.0578] [1] 0.  ErrorRecord: Microsoft.PowerShell.Commands.ServiceCommandException: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
   --- End of inner exception stack trace ---
[05/04/2020 15:43:00.0588] [1] The following error was generated when "$error.Clear();
          $roleList = $RoleRoles.Replace('Role','').Split(',');

          if($roleList -contains 'LanguagePacks')
          {
            & $RoleBinPath\ServiceControl.ps1 Save
            & $RoleBinPath\ServiceControl.ps1 DisableServices $roleList;
            & $RoleBinPath\ServiceControl.ps1 Stop $roleList;
             
          };
        " was run: "Microsoft.PowerShell.Commands.ServiceCommandException: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
   --- End of inner exception stack trace ---".
[05/04/2020 15:43:00.0588] [1] Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied
[05/04/2020 15:43:00.0588] [1] Access is denied
[05/04/2020 15:43:00.0606] [1] [ERROR-REFERENCE] Id=AllRolesPreFileCopyComponent___2f7e3804a2b340c69e930798211fb8fd Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[05/04/2020 15:43:00.0607] [1] Setup is stopping now because of one or more critical errors.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of FOXFOX🇺🇸

It seems as though you are running the command via powershell.  Did you open powershell "Run as Administrator"?


Avatar of Alan DuckAlan Duck🇬🇧

ASKER

that was the error part of the exchage setup log

Avatar of M A SM A S🇺🇸

Please remove the watermark entry from registry try uninstalling/Installing.
open regedit
go to HKLM\Software\Microsoft\ExchangeServer\15\
Delete the watermarks
https://practical365.com/exchange-server/exchange-server-error-an-incomplete-installation-was-detected/

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Alan DuckAlan Duck🇬🇧

ASKER

I read the article and found the watermarks in the registry and deleted and re-run the setup
but still got the same error that appears on the screen.

[05/05/2020 17:01:32.0325] [1] [ERROR] The following error was generated when "$error.Clear();
          $roleList = $RoleRoles.Replace('Role','').Split(',');

          if($roleList -contains 'LanguagePacks')
          {
            & $RoleBinPath\ServiceControl.ps1 Save
            & $RoleBinPath\ServiceControl.ps1 DisableServices $roleList;
            & $RoleBinPath\ServiceControl.ps1 Stop $roleList;
             
          };
        " was run: "Microsoft.PowerShell.Commands.ServiceCommandException: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
   --- End of inner exception stack trace ---".

Avatar of M A SM A S🇺🇸

Seems like you are not in an elevated command prompt. Please try the same from an elavated cmd.
https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/

Avatar of Alan DuckAlan Duck🇬🇧

ASKER

we are working with Microsoft tech on this question and after begin connected to the server in question for a good few hours they concluded the original exchange software failed to install correctly and the only course of action is to wipe the server and reinstall so that is what we intend to do this week.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


pppppbbbbbhhhhhttttt

you can do what you want.

but removing the high-water mark is the worst that you should ever need to do. as @mas suggested/said.

ASKER CERTIFIED SOLUTION
Avatar of Alan DuckAlan Duck🇬🇧

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.