Forum Discussion
sosayush
Apr 02, 2021Copper Contributor
Prerequisite Error - Access is denied
Error: The following error was generated when "$error.Clear(); if (Get-Service MpsSvc* | ?{$_.Name -eq 'MpsSvc'}) { Set-Service MpsSvc -StartupType Automatic ...
Kevin_Morgan
Apr 07, 2021Iron Contributor
Open the PowerShell console with "Run as administrator" permission and run the commands again.
- Click on the Start button.
- Look for Windows PowerShell (or PowerShell Core) on the right side of the Start Menu.
- Right-click on the menu item and choose Run as administrator.
- Execute your script and check the case again.
sosayush
Apr 07, 2021Copper Contributor
thankyou Kevin_Morgan, this is automated script. Runs while installing exchange server.
- Kevin_MorganApr 07, 2021Iron Contributor
Can you confirm that you have logged-in to the server with domain admin user account instead of local admin user account?
Also ensure that your server machine is successfully joined with your domain.
Also check the below thread if you have not already checked.
https://github.com/MicrosoftDocs/OfficeDocs-Exchange/issues/1882