Alan Duck
asked on
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.Comma nds.Servic eCommandEx ception: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied ---> System.ComponentModel.Win3 2Exception : 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\ServiceContro l.ps1 Save
& $RoleBinPath\ServiceContro l.ps1 DisableServices $roleList;
& $RoleBinPath\ServiceContro l.ps1 Stop $roleList;
};
" was run: "Microsoft.PowerShell.Comm ands.Servi ceCommandE xception: Service 'Application Identity (AppIDSvc)' cannot be configured due to the following error: Access is denied ---> System.ComponentModel.Win3 2Exception : 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=AllRolesPreFileCopyComp onent___2f 7e3804a2b3 40c69e9307 98211fb8fd Component=EXCHANGE14:\Curr ent\Releas e\Shared\D atacenter\ Setup
[05/04/2020 15:43:00.0607] [1] Setup is stopping now because of one or more critical errors.
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.Comma
--- 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',
if($roleList -contains 'LanguagePacks')
{
& $RoleBinPath\ServiceContro
& $RoleBinPath\ServiceContro
& $RoleBinPath\ServiceContro
};
" was run: "Microsoft.PowerShell.Comm
--- 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=AllRolesPreFileCopyComp
[05/04/2020 15:43:00.0607] [1] Setup is stopping now because of one or more critical errors.
It seems as though you are running the command via powershell. Did you open powershell "Run as Administrator"?
ASKER
that was the error part of the exchage setup log
Please remove the watermark entry from registry try uninstalling/Installing.
open regedit
go to HKLM\Software\Microsoft\Ex changeServ er\15\
Delete the watermarks
https://practical365.com/exchange-server/exchange-server-error-an-incomplete-installation-was-detected/
open regedit
go to HKLM\Software\Microsoft\Ex
Delete the watermarks
https://practical365.com/exchange-server/exchange-server-error-an-incomplete-installation-was-detected/
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 ---".
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 ---".
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/
https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/
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.
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.
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.