I am running Exchange Server 2013 CU6 on Windows Server 2012 R2. I was running the CU7 update/setup, when it stopped with the following error:
Error:
The following error was generated when "$error.Clear();
. "$RoleInstallPath\Scripts\ConfigureNetworkProtocolParameters.ps1";
Enable-RpcOverTcpPortScaling;
Enable-ExtendedTcpPortRange
" was run: "System.UnauthorizedAccessException: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at System.Management.Automation.Internal.ModuleUtils.GetDefaultAvailableModuleFiles(String directory, ICollection`1 availableModuleFiles, List`1 modulePaths)
at System.Management.Automation.Internal.ModuleUtils.GetDefaultAvailableModuleFiles(Boolean force, Boolean isForAutoDiscovery, ExecutionContext context)
at System.Management.Automation.Internal.ModuleUtils.<GetMatchingCommands>d__a.MoveNext()
at Microsoft.PowerShell.Commands.GetCommandCommand.AccumulateMatchingCommands(IEnumerable`1 commandNames)
at System.Management.Automation.CommandProcessor.ProcessRecord()".
Error:
The following error was generated when "$error.Clear();
. "$RoleInstallPath\Scripts\ConfigureNetworkProtocolParameters.ps1";
Enable-RpcOverTcpPortScaling;
Enable-ExtendedTcpPortRange
" was run: "System.UnauthorizedAccessException: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
--- End of inner exception stack trace ---
at System.Management.Automation.Internal.ModuleUtils.GetDefaultAvailableModuleFiles(String directory, ICollection`1 availableModuleFiles, List`1 modulePaths)
at System.Management.Automation.Internal.ModuleUtils.GetDefaultAvailableModuleFiles(Boolean force, Boolean isForAutoDiscovery, ExecutionContext context)
at System.Management.Automation.Internal.ModuleUtils.<GetMatchingCommands>d__a.MoveNext()
at Microsoft.PowerShell.Commands.GetCommandCommand.AccumulateMatchingCommands(IEnumerable`1 commandNames)
at System.Management.Automation.CommandProcessor.ProcessRecord()".
Any ideas on how to resolve this? Thank you.