Hi,
So we hit an issues during the install phase of upgrading vmm from 2012 R2 to 2016. We corrected the issues that caused the errors, but now VMM is in a libo state, where It cannot be removed or installed.
The Removal completes with the Bellow completion message. Setup Logs bellow.
Any advice on how to fix this would be great. Want to avoid rebuilding the box
![]()
2017-06-21T00:24:14.9573004+01:00
Always:
Trace Session Started
12:24:14:
12:24:14:Application Started
12:24:15:CheckForRemovableMedia: Folder C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager
12:24:15:CheckForRemovableMedia: Drive C:\
12:24:15:CheckForRemovableMedia: DriveType 3
12:24:15:CheckForDirectoryAttributes: DriveType C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager
12:24:15:CheckForDirectoryAttributes: FileAttributes Directory
12:24:15:CheckForRemovableMedia: Folder C:\ProgramData\Virtual Machine Manager Library Files
12:24:15:CheckForRemovableMedia: Drive C:\
12:24:15:CheckForRemovableMedia: DriveType 3
12:24:15:CheckForDirectoryAttributes: DriveType C:\ProgramData\Virtual Machine Manager Library Files
12:24:15:CheckForDirectoryAttributes: FileAttributes Directory, NotContentIndexed
12:24:15:OriginalInstallSource: C:\System Center 2016 Virtual Machine Manager\amd64\setup
12:24:15:CheckIfVirtualMachineManagerIsInstalled: Check whether VMM server is installed
12:24:15:CheckProductByUpgradeCode : found product with upgrade code {0B58D0F8-0532-469C-918B-B8A0A331001b} with version 4.0.1662.0
12:24:15:CheckProductByUpgradeCode: Installed Version 4.0.1662.0
12:24:15:CheckIfVirtualMachineManagerIsInstalled: VMM server found
12:24:15:CheckForRemovableMedia: Folder C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\
12:24:15:CheckForRemovableMedia: Drive C:\
12:24:15:CheckForRemovableMedia: DriveType 3
12:24:15:CheckForDirectoryAttributes: DriveType C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\
12:24:15:CheckForDirectoryAttributes: FileAttributes Directory
12:24:15:CheckIfVirtualMachineManagerIsInstalled: Check whether VMM client is installed
12:24:15:CheckIfVirtualMachineManagerIsInstalled: Check whether VMM web portal is installed
12:24:15:CheckIfVirtualMachineManagerIsInstalled: Check whether VMM agent is installed
12:24:15:Start adding DataItems
12:24:15:WebDeploymentTool
12:24:15:MicrosoftSystemCLRTypesForSQLServer2014
12:24:15:MicrosoftSQLServer2014TransactSQLScriptDom
12:24:15:MicrosoftSQLServerDataTierApplicationFrameworkx64
12:24:15:MicrosoftSQLServer2014ManagementObjects
12:24:15:VMMServer
12:24:15:VMMAdministratorConsole
12:24:15:FinalConfiguration
12:24:15:Done adding DataItems
12:24:15:Adding Page SwitchPage
12:24:15:Enter Microsoft.VirtualManager.Setup.SwitchPage
12:24:15:Adding Page BlockPage
12:24:15:Adding Page ProgressPage
12:24:15:Adding Page FinishPage
12:24:16:Adding Page InitialInstallStartPageSwitch
12:24:16:Adding Page EulaPage
12:24:16:Adding Page ComponentsPage
12:24:16:Adding Page CeipPage
12:24:16:Adding Page CeipPageForAdminConsole
12:24:16:Adding Page RegistrationPage
12:24:16:Adding Page MicrosoftUpdatePage
12:24:16:Adding Page InstallationLocationPage
12:24:16:Adding Page PrerequisitesProgressPage
12:24:16:Adding Page AdditionalPrerequisitesPage
12:24:16:Adding Page SelectDatabaseServerPage
12:24:16:Adding Page ClusterConfigPage
12:24:16:Adding Page AccountConfigurationPage
12:24:16:Adding Page PortConfigurationPage
12:24:16:Adding Page WebPortalConfigurationPage
12:24:16:Adding Page LibraryConfigurationPage
12:24:16:Adding Page UpgradeInformationPage
12:24:16:Adding Page ReadyToInstallPage
12:24:16:Adding Page ARPStartPageSwitch
12:24:16:Adding Page ARPAddRemovePage
12:24:16:Adding Page ARPAddRemoveComponentsPage
12:24:16:Adding Page ARPRemoveDatabasePage
12:24:17:Adding Page ConfigInitialInstallStartPageSwitch
12:24:17:Adding Page ConfigRegistrationPage
12:24:17:Adding Page ConfigEulaPage
12:24:17:Adding Page ConfigCeipPage
12:24:17:Adding Page ConfigMicrosoftUpdatePage
12:24:17:Adding Page ConfigSelectDatabaseServerPage
12:24:17:Adding Page ConfigAccountConfigurationPage
12:24:17:Adding Page ConfigLibraryConfigurationPage
12:24:17:Adding Page ConfigReadyToInstallPage
12:24:17:Adding Page UpgradeStartPageSwitch
12:24:17:Adding Page UpgradeComponentsPage
12:24:17:Exit Microsoft.VirtualManager.Setup.SwitchPage
12:24:17:ForwardFromSwitchPageHandler: Moving to page ARPStartPageSwitch
12:24:17:Enter Microsoft.VirtualManager.Setup.StartPage
12:24:17:Exit Microsoft.VirtualManager.Setup.StartPage
12:24:17:Enter Microsoft.VirtualManager.Setup.AddRemovePage
12:24:18:Exit Microsoft.VirtualManager.Setup.AddRemovePage
12:24:18:ForwardToPageBasedOnPropertyValueHandler: Property bag entry for AddRemoveMode is 2. This means that we will move to a next page id ARPAddRemoveComponentsPage.
12:24:40:Enter Microsoft.VirtualManager.Setup.AddRemoveComponentsPage
12:24:45:RationalizeComponents: We are doing a full uninstall of all components that are currently installed.
12:24:45:Exit Microsoft.VirtualManager.Setup.AddRemoveComponentsPage
12:24:45:ForwardFromAddRemoveComponentsPageHandler: Move to Remove Database Page
12:24:45:Enter Microsoft.VirtualManager.Setup.RemoveDatabasePage
12:24:50:Exit Microsoft.VirtualManager.Setup.RemoveDatabasePage
12:24:50:Enter Microsoft.VirtualManager.Setup.ReadyToInstallPage
12:24:50:No match for MSDeploy found.
12:24:50:No match for SQLSysClrTypes found.
12:24:50:No match for SqlDom found.
12:24:50:No match for DACFramework found.
12:24:50:No match for SharedManagementObjects found.
12:24:50:No match for vNextClient found.
12:24:50:PrepareInstallDataItems: Install Item list:
12:24:50:***************************
12:24:50:VMM management server
12:24:50:Final Configuration
12:24:50:***************************
12:24:51:*****ResetInstallItemFileLocations********************************************
12:24:51:Item: VMM management server
12:24:51:path set to: C:\System Center 2016 Virtual Machine Manager\amd64\setup\msi\Server\vmmServer.msi
12:24:51:------------------------------------------------------------------------------
12:24:51:******************************************************************************
12:24:51:Property Bag Values:
12:24:51:SetupStartTime = 21/06/2017 00:24:14
12:24:51:POSTINSTALL = 1
12:24:51:DefaultLogPath = C:\ProgramData\VMMLogs
12:24:51:DefaultLogName = C:\ProgramData\VMMLogs\SetupWizard.log
12:24:51:setupexepath = C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup
12:24:51:ArchitectureIs64Check = True
12:24:51:OperationSystemIs2k12OrLater = True
12:24:51:OperationSystemIsAnyServer = True
12:24:51:SetupUserAccount =
12:24:51:UserName = Windows User
12:24:51:CompanyName =
12:24:51:ProductKey =
12:24:51:ProgramFiles = C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\
12:24:51:IntegratedInstallSource =
12:24:51:CreateNewSqlDatabase = True
12:24:51:RetainSqlDatabase =
12:24:51:ForceHAVMMUninstall =
12:24:51:SqlServerPort = 0
12:24:51:SqlInstanceName = MBSSCVMM
12:24:51:SqlDatabaseName = VirtualManagerDB
12:24:51:RemoteDatabaseImpersonation = False
12:24:51:SqlMachineName = MBSSCVMM
12:24:51:SqlDBAdminName =
12:24:51:SqlDBAdminPassword =
12:24:51:SqlDBAdminDomain =
12:24:51:SqlDataFileLocation =
12:24:51:SqlLogFileLocation =
12:24:51:IndigoTcpPort = 8100
12:24:51:IndigoHTTPSPort = 8101
12:24:51:IndigoNETTCPPort = 8102
12:24:51:IndigoHTTPPort = 8103
12:24:51:WSManTcpPort = 5985
12:24:51:BitsTcpPort = 443
12:24:51:VmmServerName =
12:24:51:CreateNewLibraryShare = True
12:24:51:LibraryShareName = MSSCVMMLibrary
12:24:51:LibrarySharePath = C:\ProgramData\Virtual Machine Manager Library Files
12:24:51:LibraryShareDescription = VMM Library Share
12:24:51:SQMOptIn = False
12:24:51:MUOptIn = False
12:24:51:VmmServiceLocalAccount = True
12:24:51:VmmServiceDomain =
12:24:51:VmmServiceUserName =
12:24:51:VmmServiceUserPassword =
12:24:51:TopContainerName =
12:24:51:HighlyAvailable = False
12:24:51:HighlyAvailable2ndNode = False
12:24:51:VMMStaticIPAddress =
12:24:51:Upgrade =
12:24:51:InstallationLocation = C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager
12:24:51:LocationOfSetupFiles = C:\System Center 2016 Virtual Machine Manager\amd64\setup
12:24:51:SERVER-VERSION = 1
12:24:51:BackupSqlDatabase = True
12:24:51:ScreensLoaded = 1
12:24:51:uninstall = 1
12:24:51:AddRemoveMode = 1
12:24:51:SERVER = 1
12:24:51:Collection LISTOFCOMPONENTSSELECTEDFORINSTALLING (System.Collections.ArrayList):
12:24:51:
[0] = SERVER
12:24:51:fulluninstall = 1
12:24:51:PangaeaServer = 1
12:24:51:ARPComponentsNextPage = 0
12:24:51:Collection ItemsToInstall (System.Collections.ArrayList):
12:24:51:
[0] = VMM management server (Microsoft.VirtualManager.SetupFramework.InstallItemsInstallDataItem)
12:24:51:
[1] = Final Configuration (Microsoft.VirtualManager.SetupFramework.InstallItemsInstallDataItem)
12:24:51:End of list Property Bag Values.
12:24:51:Exit Microsoft.VirtualManager.Setup.ReadyToInstallPage
12:24:51:Enter Microsoft.VirtualManager.Setup.ProgressPage
12:24:51:No match for MSDeploy found.
12:24:51:No match for SQLSysClrTypes found.
12:24:51:No match for SqlDom found.
12:24:51:No match for DACFramework found.
12:24:51:No match for SharedManagementObjects found.
12:24:51:No match for vNextClient found.
12:24:51:PrepareInstallDataItems: Install Item list:
12:24:51:***************************
12:24:51:VMM management server
12:24:51:Final Configuration
12:24:51:***************************
12:24:51:*****ResetInstallItemFileLocations********************************************
12:24:51:Item: VMM management server
12:24:51:path set to: C:\System Center 2016 Virtual Machine Manager\amd64\setup\msi\Server\vmmServer.msi
12:24:51:------------------------------------------------------------------------------
12:24:51:******************************************************************************
12:24:51:Property Bag Values:
12:24:51:SetupStartTime = 21/06/2017 00:24:14
12:24:51:POSTINSTALL = 1
12:24:51:DefaultLogPath = C:\ProgramData\VMMLogs
12:24:51:DefaultLogName = C:\ProgramData\VMMLogs\SetupWizard.log
12:24:52:setupexepath = C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup
12:24:52:ArchitectureIs64Check = True
12:24:52:OperationSystemIs2k12OrLater = True
12:24:52:OperationSystemIsAnyServer = True
12:24:52:SetupUserAccount =
12:24:52:UserName = Windows User
12:24:52:CompanyName =
12:24:52:ProductKey =
12:24:52:ProgramFiles = C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\
12:24:52:IntegratedInstallSource =
12:24:52:CreateNewSqlDatabase = True
12:24:52:RetainSqlDatabase =
12:24:52:ForceHAVMMUninstall =
12:24:52:SqlServerPort = 0
12:24:52:SqlInstanceName = MBSSCVMM
12:24:52:SqlDatabaseName = VirtualManagerDB
12:24:52:RemoteDatabaseImpersonation = False
12:24:52:SqlMachineName = MBSSCVMM
12:24:52:SqlDBAdminName =
12:24:52:SqlDBAdminPassword =
12:24:52:SqlDBAdminDomain =
12:24:52:SqlDataFileLocation =
12:24:52:SqlLogFileLocation =
12:24:52:IndigoTcpPort = 8100
12:24:52:IndigoHTTPSPort = 8101
12:24:52:IndigoNETTCPPort = 8102
12:24:52:IndigoHTTPPort = 8103
12:24:52:WSManTcpPort = 5985
12:24:52:BitsTcpPort = 443
12:24:52:VmmServerName =
12:24:52:CreateNewLibraryShare = True
12:24:52:LibraryShareName = MSSCVMMLibrary
12:24:52:LibrarySharePath = C:\ProgramData\Virtual Machine Manager Library Files
12:24:52:LibraryShareDescription = VMM Library Share
12:24:52:SQMOptIn = False
12:24:52:MUOptIn = False
12:24:52:VmmServiceLocalAccount = True
12:24:52:VmmServiceDomain =
12:24:52:VmmServiceUserName =
12:24:52:VmmServiceUserPassword =
12:24:52:TopContainerName =
12:24:52:HighlyAvailable = False
12:24:52:HighlyAvailable2ndNode = False
12:24:52:VMMStaticIPAddress =
12:24:52:Upgrade =
12:24:52:InstallationLocation = C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager
12:24:52:LocationOfSetupFiles = C:\System Center 2016 Virtual Machine Manager\amd64\setup
12:24:52:SERVER-VERSION = 1
12:24:52:BackupSqlDatabase = True
12:24:52:ScreensLoaded = 1
12:24:52:uninstall = 1
12:24:52:AddRemoveMode = 1
12:24:52:SERVER = 1
12:24:52:Collection LISTOFCOMPONENTSSELECTEDFORINSTALLING (System.Collections.ArrayList):
12:24:52:
[0] = SERVER
12:24:52:fulluninstall = 1
12:24:52:PangaeaServer = 1
12:24:52:ARPComponentsNextPage = 0
12:24:52:Collection ItemsToInstall (System.Collections.ArrayList):
12:24:52:
[0] = VMM management server (Microsoft.VirtualManager.SetupFramework.InstallItemsInstallDataItem)
12:24:52:
[1] = Final Configuration (Microsoft.VirtualManager.SetupFramework.InstallItemsInstallDataItem)
12:24:52:End of list Property Bag Values.
12:24:52:SetProgressScreen: StartMinorStep.
12:24:52:Doing Preinstall task for PangaeaServer
12:24:52:ProcessInstalls: Install Item VMM management server has a Preprocessing delegate of PangaeaServerPreinstallProcessor. Launching it now.
12:24:53:no HAVMM name detected in DB. Doing VMM Uninstall
12:25:57:Start setspn.exe parameters -D SCVMM/MBSSCVMM.MBS.local MBS\SCVMM_svc
12:25:59:Start setspn.exe parameters -D SCVMM/MBSSCVMM MBS\SCVMM_svc
12:26:03:ProcessInstalls: Running the PreprocessDelegate for PangaeaServer threw the following exception: Index was outside the bounds of the array.
12:26:03:SetProgressScreen: FinishMinorStep.
12:26:03:SetProgressScreen: FinishMinorStep.
12:26:03:SetProgressScreen: StartMinorStep.
12:26:03:Doing Preinstall task for POSTINSTALL
12:26:03:Doing Install task for POSTINSTALL
12:26:03:SetProgressScreen: Init Exe Install progress.
12:26:03:RemoveUninstallChangeEntry: Starting ARPEntry removal.
12:26:03:Could not read registry key for ARPCachePath
12:26:03:SetupHelpers.RemoveUninstallChangeEntry(): Threw Exception.Type: System.ArgumentException, Exception.Message: Cannot delete a subkey tree because the subkey does not exist.
12:26:03:StackTrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey, Boolean throwOnMissingSubKey)
at Microsoft.VirtualManager.Setup.SetupHelpers.RemoveUninstallChangeEntry()
12:26:03:This is not fatal we will continue.
12:26:03:*****
12:26:03:*****RemoveFolderAndFiles: Start delete status messages for msi
12:26:03:Folder [msi] is empty or missing.
12:26:03:*****
12:26:03:*****RemoveFolderAndFiles: Start delete status messages for Licenses
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\Evaluation\1033\License.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\Evaluation\1033\Notice.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Evaluation\1033
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Evaluation\1033, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Evaluation\1033'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Evaluation
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Evaluation, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Evaluation'.
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\NFR\1033\License.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\NFR\1033
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\NFR\1033, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\NFR\1033'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\NFR
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\NFR, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\NFR'.
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\OEM\1033\License.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\OEM\1033
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\OEM\1033, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\OEM\1033'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\OEM
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\OEM, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\OEM'.
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\Retail\1033\License.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Retail\1033
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Retail\1033, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Retail\1033'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Retail
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Retail, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Retail'.
12:26:03:RemoveFolderAndFiles: File Licenses\SYSTEM_CENTER_2012_R2\Volume\1033\License.rtf has been deleted.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Volume\1033
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Volume\1033, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Volume\1033'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2\Volume
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2\Volume, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2\Volume'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses\SYSTEM_CENTER_2012_R2
12:26:03:RemoveFolderAndFiles: Unable to delete folder Licenses\SYSTEM_CENTER_2012_R2, Exception message: Could not find a part of the path 'C:\Users\administrator.MBS\AppData\Local\Temp\VM5ED5.tmp\Setup\Licenses\SYSTEM_CENTER_2012_R2'.
12:26:03:RemoveFolderAndFiles: deleted folder Licenses
12:26:03:*****RemoveFolderAndFiles: End delete status messages for Licenses
12:26:03:*****
12:26:03:SetupHelpers.RemoveUninstallChangeEntry(): Threw Exception.Type: System.ArgumentException, Exception.Message: Path cannot be the empty string or all whitespace.
Parameter name: path
12:26:03:StackTrace: at System.IO.Directory.GetParent(String path)
at Microsoft.VirtualManager.Setup.SetupHelpers.RemoveUninstallChangeEntry()
12:26:03:This is not fatal we will continue.
12:26:03:SetProgressScreen: Setting progress to: 1
12:26:03:SetProgressScreen: Setting progress to: 2
12:26:03:Doing Postinstall task for POSTINSTALL
12:26:03:SetProgressScreen: FinishMinorStep.
12:26:03:Exit Microsoft.VirtualManager.Setup.ProgressPage
12:26:03:Enter Microsoft.VirtualManager.Setup.FinishPage