When you attempt to upgrade Exchange Server 2007 using setup.com /m:upgrade, the process mail fail during the Preparing Setup phase.
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.
Note: The hexidecimal code in this error may vary.
A Pre-Setup task was trying to execute ServiceControl.PS1 to stop all exchange services for the Exchange upgrade process. However, the ServiceControl.ps1 script has been flagged as `Do Not Run`.
1. Open the Exchange Management Shell and change directory to <Service Pack installation path>:\Setup\ServerRoles\common\
2. Run .\ServiceControl.ps1
3. You will see the default setting is "[D] Do not run". Enter option [A] for "Always run".
4. Close the Exchange Management Shell.
5. From a command prompt, run setup.com /m:upgrade again.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See
Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.
Article ID: 2034420 - Last Review: November 12, 2010 - Revision: 3.0
APPLIES TO
- Microsoft Exchange Server 2007 Service Pack 1
- Microsoft Exchange Server 2007 Service Pack 2
- Microsoft Exchange Server 2007 Service Pack 3