שתף באמצעות


שדרוג 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.

פתרון

  1. פתח את מעטפת ניהול Exchange ושנה את הספריה ל- <Service Pack installation path>:\Setup\ServerRoles\common\.
  2. הפעלה .\ServiceControl.ps1.
  3. תראה שהגדרת ברירת המחדל היא [D] Do not run. הזן אפשרות [A] עבור Always run.
  4. סגור את מעטפת ניהול Exchange.
  5. משורת פקודה, הפעל setup.com /m:upgrade שוב.

מידע נוסף

ייתכן שהשדרוג נכשל בעת ביצוע קבצי Script אחרים. ייתכן שתוכל לעקוף בעיה זו על-ידי ביצוע קבצי ה- Script הנדרשים ממעטפת ניהול Exchange ולאפשר להם להשלים בנפרד.