Link to home
Start Free TrialLog in
Avatar of bondy666
bondy666Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Unable to uninstall SCCM and DB

After running into trouble on our 'crash and burn (test)' SCCM server I decided to select the 'perform site maintenance or reset site' option in SP2 with

'reapply default file & reg permissions on site server'

'modify sql server configuration' and (probably what screwed things up)

 'modify sms provider configuration'.

 This ran into errors so I thought I'd simply remove SCCM completely and reinstall it with a fresh db. However I get the message:

 'setup was unable to create collections(s). Verify that your account has create rights on the collection class. 0x80041013'

 Now I am in limbo and unable to remove this at all in order to reinstall a fresh copy. I am no longer able to connect to the site via the console because the site can no longer connect to the db (on a separate box) and I believe this is why I  get the message above (rather than a rights issue), though I could be wrong.

Can anyone give me any suggestions how to fix this? I just want to install a fresh copy. I have a feeling the uninstall issue as I mentioned, is something to do with the fact it is trying to reach the SCCM DB which I believe was probably broken with the 'modify SMS provider' checkbox....please help!!!
Avatar of merowinger
merowinger
Flag of Germany image

Can you configure the Collection Permissons via this script here?
http://pleasepressanykey.blogspot.com/2011/04/vbscript-set-permissons-on-configmgr.html
C;COLLECTION;N/A;mydomain\johnwayne;FULL
Avatar of bondy666

ASKER

Nice script, will look at that for the future but unfortuantely can't seem to connect to the db anymore follow my site repair!
So you now want just to uninstall the whole SCCM Server incl. the database but it fails or?
Yes. In fact by trial and error and using a different version of the uninstall plus several reboots, I have managed to remove it. However my problem now is that when I run SCCM setup to reinstall, my only choice is to install a secondary site. Any ideas?
Please check the Registry Key:
HKLM\SOFTWARE\Microsoft\SMS\Setup
and first try to change it to value 0x000000FF (255)
and if this does not work backup and remove it.
Also have a look at the Logfile ConfigMgrSetup.log located in the root of C:\
ASKER CERTIFIED SOLUTION
Avatar of merowinger
merowinger
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi this looks like it may simply be to do with some incorrectly labelled 'media'...will get back to you shortly!
Wrongly labelled media for second part of the problem.