שדרוג Exchange Service Pack נכשל עם שגיאה בלתי צפויה ServiceControl.ps1
מספר KB מקורי: 2034420
מאפייני הבעיה
כאשר אתה מנסה לשדרג את Exchange Server 2007 setup.com /m:upgrade
באמצעות , הדואר בתהליך נכשל במהלך שלב הכנת ההתקנה.
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.
הערה
הקוד ההקסדצימאלי בשגיאה זו עשוי להשתנות.
סיבה
משימת קדם-התקנה ניסתה לבצע ServiceControl.PS1 להפסיק את כל שירותי Exchange עבור תהליך השדרוג של Exchange. עם זאת, קובץ ServiceControl.ps1 ה- Script של הקובץ מסומן בדגל כ- Do Not Run
.
פתרון
- פתח את מעטפת ניהול Exchange ושנה את הספריה ל-
<Service Pack installation path>:\Setup\ServerRoles\common\
. - הפעלה
.\ServiceControl.ps1
. - תראה שהגדרת ברירת המחדל היא
[D] Do not run
. הזן אפשרות[A]
עבורAlways run
. - סגור את מעטפת ניהול Exchange.
- משורת פקודה, הפעל
setup.com /m:upgrade
שוב.
מידע נוסף
ייתכן שהשדרוג נכשל בעת ביצוע קבצי Script אחרים. ייתכן שתוכל לעקוף בעיה זו על-ידי ביצוע קבצי ה- Script הנדרשים ממעטפת ניהול Exchange ולאפשר להם להשלים בנפרד.
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור