I am trying to uninstall Exchange 2007 from my SBS2008 system before I demote and remove it. I am getting the Event ID 1002 "Exchange server "SERVER.domain.local" was not found. Please make sure you have typed it correctly." I have tried uninstalling via command line and Control Panel gui with the same results. Running "get-mailboxstatistics -server oldserver" returns nothing. Looking at the EMC i don't see any databases listed, neither user or public.
[10/16/2012 3:50:19 PM] [0] **********************************************
[10/16/2012 3:50:19 PM] [0] Starting Microsoft Exchange 2007 Setup
[10/16/2012 3:50:19 PM] [0] **********************************************
[10/16/2012 3:50:19 PM] [0] Operating System version: Microsoft Windows NT 6.0.6002 Service Pack 2.
[10/16/2012 3:50:19 PM] [0] Setup version: 8.3.279.3.
[10/16/2012 3:50:19 PM] [0] Logged on user: DOMAIN\admin.
[10/16/2012 3:50:20 PM] [0] Command Line Parameter Name='mode', Value='Uninstall'.
[10/16/2012 3:50:20 PM] [0] ExSetupUI was started with the following command: '-mode:uninstall'.
[10/16/2012 3:50:20 PM] [0] Setup is choosing the domain controller to use
[10/16/2012 3:50:21 PM] [0] Setup is choosing a local domain controller...
[10/16/2012 3:50:21 PM] [0] Setup has chosen the local domain controller oldserver.domain.local for initial queries
[10/16/2012 3:50:21 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use oldserver.domain.local
[10/16/2012 3:50:21 PM] [0] Setup is choosing a global catalog...
[10/16/2012 3:50:21 PM] [0] Setup has chosen the global catalog server oldserver.domain.local.
[10/16/2012 3:50:21 PM] [0] Setup will use the domain controller 'oldserver.domain.local'.
[10/16/2012 3:50:21 PM] [0] Setup will use the global catalog 'oldserver.domain.local'.
[10/16/2012 3:50:21 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
[10/16/2012 3:50:21 PM] [0] Exchange organization container for the organization is 'CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
[10/16/2012 3:50:22 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'oldserver'.
[10/16/2012 3:50:22 PM] [0] No Exchange Server with identity 'oldserver' was found.
[10/16/2012 3:50:22 PM] [0] The following roles are unpacked: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[10/16/2012 3:50:22 PM] [0] The following roles are installed: AdminToolsRole
[10/16/2012 3:50:22 PM] [0] The local server has some Exchange files installed.
[10/16/2012 3:50:22 PM] [0] Setup will use the path 'C:\Users\adminuser\Downloads\Exchange SP3' for installing Exchange.
[10/16/2012 3:50:22 PM] [0] The server is cluster type: 'None'.
[10/16/2012 3:50:22 PM] [0] The requested cluster type: 'None'.
[10/16/2012 3:50:22 PM] [0] The installation mode is set to: 'Uninstall'.
[10/16/2012 3:50:22 PM] [0] An Exchange organization with name 'First Organization' was found in this forest.
[10/16/2012 3:50:22 PM] [0] Active Directory Initialization status : 'True'.
[10/16/2012 3:50:22 PM] [0] Schema Update Required Status : 'False'.
[10/16/2012 3:50:22 PM] [0] Organization Configuration Update Required Status : 'False'.
[10/16/2012 3:50:22 PM] [0] Domain Configuration Update Required Status : 'False'.
[10/16/2012 3:50:22 PM] [0] The locally installed version is 8.3.83.6.
[10/16/2012 3:50:22 PM] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server'.
[10/16/2012 3:50:22 PM] [0] Applying default role selection state
[10/16/2012 3:50:22 PM] [0] Applying default role selection state
[10/16/2012 3:50:22 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:22 PM] [0] UninstallModeDataHandler has 0 DataHandlers
[10/16/2012 3:50:22 PM] [0] RootDataHandler has 1 DataHandlers
[10/16/2012 3:50:34 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:34 PM] [0] UninstallModeDataHandler has 2 DataHandlers
[10/16/2012 3:50:34 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:34 PM] [0] UninstallModeDataHandler has 3 DataHandlers
[10/16/2012 3:50:35 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:35 PM] [0] UninstallModeDataHandler has 4 DataHandlers
[10/16/2012 3:50:37 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:37 PM] [0] Setup is determining what organization-level operations to perform.
[10/16/2012 3:50:37 PM] [0] UninstallModeDataHandler has 5 DataHandlers
[10/16/2012 3:50:40 PM] [0] Validating options for the 0 requested roles
[10/16/2012 3:50:40 PM] [0] UninstallModeDataHandler has 5 handlers and 1 work units
[10/16/2012 3:50:40 PM] [0] Validating options for the 0 requested roles
[10/16/2012 3:50:40 PM] [0] UninstallModeDataHandler has 5 handlers and 1 work units
[10/16/2012 3:50:40 PM] [0] Setup will run from path 'C:\Program Files\Microsoft\Exchange Server\'.
[10/16/2012 3:50:40 PM] [0] Setup is determining what organization-level operations to perform.
[10/16/2012 3:50:40 PM] [0] UninstallModeDataHandler has 5 DataHandlers
[10/16/2012 3:50:40 PM] [0] RootDataHandler has 1 DataHandlers
[10/16/2012 3:50:40 PM] [0] **************
[10/16/2012 3:50:40 PM] [0] Setup will run the task 'Uninstall-MailboxRole'
[10/16/2012 3:50:40 PM] [1] Setup launched task 'Uninstall-MailboxRole -DomainController 'oldserver.domain.local''
[10/16/2012 3:50:40 PM] [1] Beginning processing.
[10/16/2012 3:50:40 PM] [1] Attempting Uninstall for MailboxRole.
[10/16/2012 3:50:40 PM] [1] The following roles are current: AdminToolsRole
[10/16/2012 3:50:41 PM] [1] Reading components for role 'AdminToolsRole' from 'res://AdminToolsRoleDefinition.xml'
[10/16/2012 3:50:41 PM] [1] Found 3 components
[10/16/2012 3:50:41 PM] [1] Loaded component 'All Roles Common First - Run Once' with 16 task info blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
[10/16/2012 3:50:42 PM] [1] Loaded component 'All Roles Common First' with 8 task info blocks from 'res://AllRolesCommonFirst.xml'
[10/16/2012 3:50:42 PM] [1] Loaded component 'All Roles Common Last' with 4 task info blocks from 'res://AllRolesCommonLast.xml'
[10/16/2012 3:50:42 PM] [1] Reading components for role 'MailboxRole' from 'res://MailboxRoleDefinition.xml'
[10/16/2012 3:50:42 PM] [1] Found 30 components
[10/16/2012 3:50:43 PM] [1] Loaded component 'All Roles Common First - Run Once' with 16 task info blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
[10/16/2012 3:50:43 PM] [1] Loaded component 'All Roles Common First' with 8 task info blocks from 'res://AllRolesCommonFirst.xml'
[10/16/2012 3:50:43 PM] [1] Loaded component 'All Roles Precompile Management Binaries' with 30 task info blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
[10/16/2012 3:50:44 PM] [1] Loaded component 'Mailbox Permissions Configuration' with 1 task info blocks from 'res://MailboxLocalPermissionsComponent.xml'
[10/16/2012 3:50:44 PM] [1] Loaded component 'Common Perf Counters ' with 2 task info blocks from 'res://CommonPerfCountersComponent.xml'
[10/16/2012 3:50:45 PM] [1] Loaded component 'Provision Server' with 9 task info blocks from 'res://ProvisionServerComponent.xml'
[10/16/2012 3:50:45 PM] [1] Loaded component 'All Active-Directory Roles Common' with 14 task info blocks from 'res://AllADRolesCommon.xml'
[10/16/2012 3:50:45 PM] [1] Loaded component 'Exchange 2003 Registry Configuration' with 1 task info blocks from 'res://LegacyRegistryMarkersComponent.xml'
[10/16/2012 3:50:46 PM] [1] Loaded component 'Mailbox Service Control (First)' with 7 task info blocks from 'res://MailboxServiceControlFirst.xml'
[10/16/2012 3:50:46 PM] [1] Loaded component 'Exchange 2003 Core Configuration' with 3 task info blocks from 'res://LegacyCoreComponent.xml'
[10/16/2012 3:50:46 PM] [1] Loaded component 'Exchange 2003 Pseudo-MTA Configuration' with 1 task info blocks from 'res://LegacyMTAComponent.xml'
[10/16/2012 3:50:47 PM] [1] Loaded component 'Exchange 2003 MDB Configuration' with 8 task info blocks from 'res://LegacyMDBComponent.xml'
[10/16/2012 3:50:47 PM] [1] Loaded component 'Mailbox Perf Counters' with 9 task info blocks from 'res://MailboxPerfCountersComponent.xml'
[10/16/2012 3:50:48 PM] [1] Loaded component 'Mailbox Configuration' with 17 task info blocks from 'res://MailboxComponent.xml'
[10/16/2012 3:50:48 PM] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task info blocks from 'res://RpcEpmapFirewallException.xml'
[10/16/2012 3:50:48 PM] [1] Loaded component 'Transport Log Search Service' with 1 task info blocks from 'res://TransportLogSearchServiceComponent.xml'
[10/16/2012 3:50:49 PM] [1] Loaded component 'Exchange 2003 Miscellaneous Configuration' with 11 task info blocks from 'res://LegacyMailboxComponent.xml'
[10/16/2012 3:50:49 PM] [1] Loaded component 'InfoWorker Configuration' with 3 task info blocks from 'res://InfoWorkerComponent.xml'
[10/16/2012 3:50:50 PM] [1] Loaded component 'Content Indexing Configuration' with 3 task info blocks from 'res://ContentIndexComponent.xml'
[10/16/2012 3:50:50 PM] [1] Loaded component 'Mail Submission Service Configuration' with 6 task info blocks from 'res://MailSubmissionServiceComponent.xml'
[10/16/2012 3:50:50 PM] [1] Loaded component 'Replay Service Configuration' with 2 task info blocks from 'res://ReplayServiceComponent.xml'
[10/16/2012 3:50:51 PM] [1] Loaded component 'Service Host Configuration' with 3 task info blocks from 'res://ServiceHostComponent.xml'
[10/16/2012 3:50:51 PM] [1] Loaded component 'Monitoring Service Configuration' with 5 task info blocks from 'res://MonitoringComponent.xml'
[10/16/2012 3:50:52 PM] [1] Loaded component 'DAV Configuration' with 6 task info blocks from 'res://MailboxOwaComponent.xml'
[10/16/2012 3:50:52 PM] [1] Loaded component 'Active Directory Topology Service Configuration' with 2 task info blocks from 'res://AllADRolesCommonServiceControl.xml'
[10/16/2012 3:50:52 PM] [1] Loaded component 'Mailbox System Attendant Dependent Tasks' with 9 task info blocks from 'res://SystemAttendantDependent.xml'
[10/16/2012 3:50:53 PM] [1] Loaded component 'Transport Common Service Control' with 1 task info blocks from 'res://TransportCommonServiceControl.xml'
[10/16/2012 3:50:53 PM] [1] Loaded component 'Service Host Service Control' with 1 task info blocks from 'res://ServiceHostServiceControl.xml'
[10/16/2012 3:50:54 PM] [1] Loaded component 'Mailbox Service Control (Last)' with 16 task info blocks from 'res://MailboxServiceControlLast.xml'
[10/16/2012 3:50:54 PM] [1] Loaded component 'All Roles Common Last' with 4 task info blocks from 'res://AllRolesCommonLast.xml'
[10/16/2012 3:50:54 PM] [1] Component 'All Roles Common First - Run Once' is shared with an already-configured role
[10/16/2012 3:50:54 PM] [1] Adding 'All Roles Common First' because it is marked AlwaysExecute
[10/16/2012 3:50:54 PM] [1] Adding unique component 'All Roles Precompile Management Binaries'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox Permissions Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Common Perf Counters '
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Provision Server'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'All Active-Directory Roles Common'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Exchange 2003 Registry Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox Service Control (First)'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Exchange 2003 Core Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Exchange 2003 Pseudo-MTA Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Exchange 2003 MDB Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox Perf Counters'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Enable RPC-EPMAP firewall exception'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Transport Log Search Service'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Exchange 2003 Miscellaneous Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'InfoWorker Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Content Indexing Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mail Submission Service Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Replay Service Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Service Host Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Monitoring Service Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'DAV Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Active Directory Topology Service Configuration'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox System Attendant Dependent Tasks'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Transport Common Service Control'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Service Host Service Control'
[10/16/2012 3:50:54 PM] [1] Adding unique component 'Mailbox Service Control (Last)'
[10/16/2012 3:50:54 PM] [1] Adding 'All Roles Common Last' because it is marked AlwaysExecute
[10/16/2012 3:50:54 PM] [1] The following roles are installed: AdminToolsRole
[10/16/2012 3:50:54 PM] [1] Writing informational script to 'C:\ExchangeSetupLogs\Uninstall-MailboxRole-20121016-1550540419.ps1'
[10/16/2012 3:50:54 PM] [1] Executing '$RoleIsClusterNode = $False', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClusterNode = $False'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleIsAdminToolsRoleInstalled = $True', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleIsAdminToolsRoleInstalled = $True'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleNetBIOSName = "oldserver"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleNetBIOSName = "oldserver"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleInvocationID = "20121016-1550540419"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleInvocationID = "20121016-1550540419"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleLoggedOnUser = "DOMAIN\admin"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggedOnUser = "DOMAIN\admin"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleInstallationMode = "Uninstall"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallationMode = "Uninstall"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RolePreviousVersion = ""', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RolePreviousVersion = ""'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleSetupLoggingPath = "C:\ExchangeSetupLogs"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleSetupLoggingPath = "C:\ExchangeSetupLogs"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleFqdnOrName = "oldserver.domain.local"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleFqdnOrName = "oldserver.domain.local"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleTargetVersion = "8.3.279.3"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleTargetVersion = "8.3.279.3"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleRoleName = "MailboxRole"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleRoleName = "MailboxRole"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleDomainController = "oldserver.domain.local"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleDomainController = "oldserver.domain.local"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleProductPlatform = "amd64"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleProductPlatform = "amd64"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleRoles = "AdminToolsRole"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleRoles = "AdminToolsRole"'.
[10/16/2012 3:50:54 PM] [1] Executing '$RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"'.
[10/16/2012 3:50:54 PM] [1] Reversing task list for uninstall.
[10/16/2012 3:50:54 PM] [1] Setup failed previously while performing the action Uninstall. Looking for the failed task with ID eefe939a.
[10/16/2012 3:50:54 PM] [1] Found 87 tasks to execute
[10/16/2012 3:50:54 PM] [1] Processing component 'Mailbox System Attendant Dependent Tasks' (Configuring tasks dependent on System Attendant service).
[10/16/2012 3:50:54 PM] [1] Executing 'get-PublicFolderDatabase -server $RoleFqdnOrName | remove-PublicFolderDatabase -RemoveLastAllowed', handleError = False
[10/16/2012 3:50:54 PM] [2] Launching sub-task '$error.Clear(); get-PublicFolderDatabase -server $RoleFqdnOrName | remove-PublicFolderDatabase -RemoveLastAllowed'.
[10/16/2012 3:50:54 PM] [2] Beginning processing.
[10/16/2012 3:50:54 PM] [2] Beginning processing.
[10/16/2012 3:50:54 PM] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'oldserver.domain.local', Preferred Global Catalog: 'oldserver.domain.local', Preferred Domain Controllers: '{
oldserver.domain.local }'
[10/16/2012 3:50:54 PM] [2] Searching objects "oldserver.domain.local" of type "Server" under the root "$null".
[10/16/2012 3:50:54 PM] [2] Previous operation run on domain controller 'oldserver.domain.local'.
[10/16/2012 3:50:54 PM] [2] [ERROR] Exchange server "oldserver.domain.local" was not found. Please make sure you have typed it correctly.
[10/16/2012 3:50:54 PM] [2] Ending processing.
[10/16/2012 3:50:54 PM] [2] Ending processing.
[10/16/2012 3:50:54 PM] [1] The following 1 error(s) occurred during task execution:
[10/16/2012 3:50:54 PM] [1] 0. ErrorRecord: Exchange server "oldserver.domain.local" was not found. Please make sure you have typed it correctly.
[10/16/2012 3:50:54 PM] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: Exchange server "oldserver.domain.local" was not found. Please make sure you have typed it correctly.
at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, LocalizedString multipleFoundError)
at Microsoft.Exchange.Management.SystemConfigurationTasks.GetDatabaseTask`1.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
[10/16/2012 3:50:54 PM] [1] [ERROR] Exchange server "oldserver.domain.local" was not found. Please make sure you have typed it correctly.
[10/16/2012 3:50:54 PM] [1] Setup is halting task execution because of one or more errors in a critical task.
[10/16/2012 3:50:54 PM] [1] Finished executing component tasks.
[10/16/2012 3:50:54 PM] [1] Ending processing.