반응형

아래와 같이 로그가 남도록 Update 설치 진행


설치 Roll back 진행됨


Powershell 작동중지 오류 발생

 

문제 서명:

  문제 이벤트 이름:        PowerShell

  NameOfExe:        powershell.exe

  FileVersionOfSystemManagementAutomation:        6.1.7601.18606

  InnermostExceptionType:        System.Management.Automation.PSArgument

  OutermostExceptionType:        System.Management.Automation.PSArgument

  DeepestPowerShellFrame:        ell.ConsoleControl.CheckWriteConsoleOutputContents

  DeepestFrame:        ell.ConsoleControl.CheckWriteConsoleOutputContents

  ThreadName:        Consol.. main thread

  OS 버전:        6.3.9600.2.0.0.400.8

  로캘 ID:        1042

 

온라인 개인 정보 취급 방침 읽기:

  http://go.microsoft.com/fwlink/?linkid=280262

 

온라인 개인 정보 취급 방침을 사용할 수 없으면 오프라인으로 개인 정보 취급 방침을 읽으십시오.

  C:\Windows\system32\ko-KR\erofflps.txt

 

기본적인 RU Trouble Shooting 아래의 자료에 자세히 나와 있습니다.

Troubleshooting Update Rollup Installations

https://docs.microsoft.com/en-us/previous-versions/office/exchange-server-2007/ff772434(v=exchg.80)?redirectedfrom=MSDN

 

그중에서 Case1 현재의 오류가 가장 유사하다고 판단되었습니다.

Case 1: An incorrect ExecutionPolicy is Set

https://docs.microsoft.com/en-us/previous-versions/office/exchange-server-2007/ff772434(v=exchg.80)?redirectedfrom=MSDN#case-1-an-incorrect-executionpolicy-is-set

In this log file excerpt, Return value 3 appears next to CA_SAVEDATA_STOP_SERVICES.

Microsoft Exchange uses Custom Actions (CAs) when it installs update rollup packages by using the Windows Installer engine. In the CA_SAVEDATA_STOP_SERVICES custom action, Microsoft Exchange tries to run the PowerShell script that is named servicecontrol.ps1 together with the BeforePatch option.

In this case, the script did not run because of an incorrect ExecutionPolicy setting in PowerShell. To determine the current PowerShell execution policy, run the Get-ExecutionPolicy cmdlet. By default, the PowerShell execution policy is set to RemoteSigned.

To resolve this issue, set the ExecutionPolicy to RemoteSigned or to Unrestricted. Then, try to install the update rollup again. After the update rollup has been installed, set the ExecutionPolicy to RemoteSigned.

 

Set-ExecutionPolicy RemoteSigned


업데이트 다시 설치시 완료


반응형

+ Recent posts