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:upgrade
llä , 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
- Avaa Exchange Management Shell ja vaihda hakemistoksi
<Service Pack installation path>:\Setup\ServerRoles\common\
. - Suorita
.\ServiceControl.ps1
. - Näet, että oletusasetus on
[D] Do not run
. Anna asetus[A]
toiminnolleAlways run
. - Sulje Exchange Management Shell.
- 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.
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle