Hi,
Distribution Role is removed. But SCCMContentLib still exits. Below command is prompting below message even command prompt is opened as administrator.
ContentLibraryCleanup.exe /dp server.fqdn.com /delete
Gathering information...
Loading information from distribution point...
System.Management.ManagementException: Unable to access remote WMI. Please ensur
e that the WMI providers for the site and on the distribution point are both run
ning, and that you have RBAC access to them. You must be running this tool as a
user with administrative rights on the target distribution point. ---> System.Ma
nagement.ManagementException: Unable to access remote WMI. Please ensure that th
e WMI providers for the site and on the distribution point are both running, and
that you have RBAC access to them. You must be running this tool as a user with
administrative rights on the target distribution point. ---> System.Management.
ManagementException: Registry string retrieval was not successful.
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Utils.GetRegistryStri
ngValue(ManagementClass regClass, String subkey, String valueName)
--- End of inner exception stack trace ---
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Utils.GetRegistryStri
ngValue(ManagementClass regClass, String subkey, String valueName)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary..cto
r(String remoteDPFqdn, String primarySiteServerFqdn, String primarySiteCode)
--- End of inner exception stack trace ---
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary..cto
r(String remoteDPFqdn, String primarySiteServerFqdn, String primarySiteCode)
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Program.Main(String[]
args)