Compartir a través de


Se produce un error inesperado en la actualización de Exchange Service Pack en ServiceControl.ps1

Número de KB original: 2034420

Síntomas

Al intentar actualizar Exchange Server 2007 mediante setup.com /m:upgrade, se produce un error en el correo del proceso durante la fase de preparación.

Performing Microsoft Exchange Server Prerequisite Check  

Edge Transport Role Checks       ......................... COMPLETED  

Configuring Microsoft Exchange Server  

Preparing Setup                  ......................... FAILED
An unexpected error has occurred and debug information is being generated: Unex
pected error [0xCF6CDA0B] while executing command '$error.Clear(); $RoleNames =
$RoleRoles.Replace('Role','').Split(','); if( test-path "$env:TMP\StoppedService
s.xml" ) { .\ServiceControl.ps1 Stop $RoleNames; } else { .\ServiceControl.ps1 S
ave; .\ServiceControl.ps1 Stop $RoleNames; .\ServiceControl.ps1 DisableServices
$RoleNames; }'.
Unexpected error [0xCF6CDA0B] while executing command '$error.Clear(); $Rol
eNames = $RoleRoles.Replace('Role','').Split(','); if( test-path "$env:TMP\Stopp
edServices.xml" ) { .\ServiceControl.ps1 Stop $RoleNames; } else { .\ServiceCont
rol.ps1 Save; .\ServiceControl.ps1 Stop $RoleNames; .\ServiceControl.ps1 Disable
Services $RoleNames; }'.  

Exchange Server setup encountered an error.

Nota:

El código hexidecimal de este error puede variar.

Causa

Una tarea de configuración previa intentaba ejecutar ServiceControl.PS1 para detener todos los servicios de intercambio para el proceso de actualización de Exchange. Sin embargo, el script de ServiceControl.ps1 se ha marcado como Do Not Run.

Solución

  1. Abra el Shell de administración de Exchange y cambie el directorio a <Service Pack installation path>:\Setup\ServerRoles\common\.
  2. Ejecute .\ServiceControl.ps1.
  3. Verá que la configuración predeterminada es [D] Do not run. Escriba la opción [A] para Always run.
  4. Cierre el Shell de administración de Exchange.
  5. Desde un símbolo del sistema, vuelva a ejecutarlo setup.com /m:upgrade .

Más información

Es posible que la actualización produzca un error al ejecutar otros scripts. Puede solucionarlo ejecutando los scripts necesarios desde el Shell de administración de Exchange y permitiéndoles completarlos individualmente.