Racksuite
asked on
Cannot remove Active Directory Certificate Services role during migration from SBS to Server Essentials
During a migration from SBS 2008 SP2 to 2012 R2 Essentials, each time I use the Server Manager Remove Roles Wizard to remove the Active Directory Certificate Services role, I get an MMC crash during "Initializing removal".
This is the text from the crash dialog:
A little more information - this is in the ServerManager.log:
Any ideas on how to get around this one? With ADCS still on the old server I can't demote it.
Thanks in advance.
This is the text from the crash dialog:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: mmc.exe
Problem Signature 02: 6.0.6002.18005
Problem Signature 03: 49e02760
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 53a11b76
Problem Signature 07: 4223
Problem Signature 08: a9
Problem Signature 09: System.BadImageFormatExcep tion
OS Version: 6.0.6002.2.2.0.305.9
Locale ID: 2057
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: mmc.exe
Problem Signature 02: 6.0.6002.18005
Problem Signature 03: 49e02760
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 53a11b76
Problem Signature 07: 4223
Problem Signature 08: a9
Problem Signature 09: System.BadImageFormatExcep
OS Version: 6.0.6002.2.2.0.305.9
Locale ID: 2057
A little more information - this is in the ServerManager.log:
2404: 2015-11-03 11:18:52.466 [ExceptionHandler] Error (Id=0) An unexpected exception was found:
System.BadImageFormatException: Could not load file or assembly 'Microsoft.CertificateServices.Setup.Interop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'Microsoft.CertificateServices.Setup.Interop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Microsoft.Windows.ServerManager.CertificateServer.CertificateServerRoleProvider.PerformActionBeforeUninstall(Object clientContext, XDocument host, XDocument guest, String guestIdentity)
at Microsoft.Windows.ServerManager.Common.Provider.PreUninstall(XDocument host, XDocument guest, String guestIdentity, Object clientContext)
at Microsoft.Windows.ServerManager.Common.Provider.FlushSyncPreUninstalls(List`1 guestsToSync, Dictionary`2 syncResultMap)
at Microsoft.Windows.ServerManager.Common.Provider.FlushSync(SyncProgressHandler progressCallback)
at Microsoft.Windows.ServerManager.Common.Provider.FinalFlush(SyncProgressHandler progressCallback)
at Microsoft.SystemDefinitionModel.Transformation.Imperative.SyncEngine.Sync(String rootIdentity, String[] eventClassIdentities)
at Microsoft.Windows.ServerManager.Utilities.ImperativeTransformationEngine.Sync(ClientContext clientContext, ClassValue rootInstance, SyncProgressEventHandler progressHandler, String[] progressItems)
at Microsoft.Windows.ServerManager.ModelResult.CommitUpdates(ProgressUpdateCallback progressUpdateDelegate, String[] eventClassIdentities)
Any ideas on how to get around this one? With ADCS still on the old server I can't demote it.
Thanks in advance.
ASKER
Foxluv thanks for the suggestion, but it's the SBS 2008 SP2 server that won't let me remove Certificate Services.
The link you gave lists PowerShell commands on 2012 R2 / Win 8.1.
Just in case it might work anyway, I tried import-module servermanager but the module file was not found.
Any other thoughts..?
The link you gave lists PowerShell commands on 2012 R2 / Win 8.1.
Just in case it might work anyway, I tried import-module servermanager but the module file was not found.
Any other thoughts..?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nice work!! Great learning curve to say the least.
ASKER
Thanks! Yeah sharp learning curve, could have done with an easier ride as this is really eating my time but hey, better than being defeated!
ASKER
The only expert reply this question attracted was not helpful as it is not applicable to the operating system in question.
Open powershell as an administrator
type in this command
import-module servermanager
type in the command that you need from the link below
https://technet.microsoft.com/en-us/library/hh848390(v=wps.630).aspx