Exchange Service Pack -päivitys epäonnistuu, ja ServiceControl.ps1 on odottamaton virhe

Alkuperäinen KT-numero: 2034420

Oireet

Kun yrität päivittää Exchange Server 2007 :setup.com /m:upgradellä , prosessisähköposti epäonnistuu asennuksen valmisteluvaiheessa.

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.

Huomautus

Virheen heksadesimaalikoodi saattaa vaihdella.

Syy

Esiasennustehtävä yritti suorittaa ServiceControl.PS1 kaikkien Exchange-päivitysprosessin Exchange-palveluiden pysäyttämiseksi. ServiceControl.ps1 komentosarja on kuitenkin merkitty merkinnällä Do Not Run.

Ratkaisu

  1. Avaa Exchange Management Shell ja vaihda hakemistoksi <Service Pack installation path>:\Setup\ServerRoles\common\.
  2. Suorita .\ServiceControl.ps1.
  3. Näet, että oletusasetus on [D] Do not run. Anna asetus [A] toiminnolle Always run.
  4. Sulje Exchange Management Shell.
  5. Suorita setup.com /m:upgrade komentokehotteesta uudelleen.

Lisätietoja

Päivitys voi epäonnistua muiden komentosarjojen suorittamisen aikana. Voit ehkä kiertää tämän suorittamalla vaaditut komentosarjat Exchange Management Shellistä ja sallimalla niiden suorittamisen erikseen.