Thursday, July 26, 2012

How to uninstall SCSM Web Portal from the server where SCSM Management Server is installed

I ended up installing SCSM and Web Portal on the same server and the Web Portal broke. This is the documented procedure to uninstall broken Web Portal from a server.
Disclaimer: These are the steps I have performed and successfully uninstalled web portal and re-installed. I am not sure whether all the steps are mandatory and required. Probably only step 4 may be required.

Before you read any further, Microsoft supported method of uninstalling Web Portal from the same server where the SCSM management server is installed is a complete uninstall of the SCSM product.
This can be accomplished using two methods:

1) run setup.exe /uninstall - If this does not work then,
2) rum msiexec /x \\...<folder where SCSM install media is kept>\ServiceManager\amd64\Setup\Server\sm.msi
  1.   Open Regedit
    a. Go to HKLM\Software\Microsoft\windows\CurrentVersion\Installer
    b. Search for "Service Manager Portal"
    c. Delete All references

2. Next go to HKLM\Software\Microsoft\System Center\2010\Service Manager\setup and delete all references to Portal

3. Next go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\223333EF9E9130B42B84BD23D7699AA2\Features and delete SMPortal


4. Open SQL management Studio and delete/rename the Sharepoint_SMPortalContent database


5. Last but not the least, rename <Drive where IIS is installed>\inetpub\wwwroot and rename the System Center Service Manager Portal to – Service Manager - Old


 6. Once you initiate the Setup.exe, you can select Web Portal and it will work just fine.

18 comments:

  1. Hi Sandeep,

    I followed all the steps you mentioned. During the re-installation it said ports were not available.
    So, I also deleted the websites manually from IIS 7.0 .
    Next,
    1. Created New Domain certificate.
    2. I was not able to locate the Database as SQL was installed by SharePoint Foundation. (We have SQL installed on another machine for SM)
    So, In this machine, I could not find the management Studio. So, I re-installed SharePoint Foundation.

    After all these, when I tried to install the Self Service Portal, The installation failed.

    After this,
    I tried with different
    1. Ports
    2. Certificates
    3. Without SSL
    4. Different Admin accounts,
    But I still get the same error

    Am I missing anything?
    Your help will be highly appreciated!

    Regards,
    Gayathri

    ReplyDelete
    Replies
    1. Hi Gayathri,

      I suggest try removing SCSM and re-installing it. The reason I say this is because it has been some time since you posted the question and I believe you need an immediate fix. refer :

      Before you read any further, Microsoft supported method of uninstalling Web Portal from the same server where the SCSM management server is installed is a complete uninstall of the SCSM product.

      1) run setup.exe /uninstall - If this does not work then,
      2) run msiexec /x \\...\ServiceManager\amd64\Setup\Server\sm.msi
      This can be accomplished using two methods

      Delete
  2. I have another question:
    How can we uninstall SCSM Web Portal by slient mode?

    "..\Setup.exe /Silent /Uninstall:Portal"
    However, this command will uninstall Serivce manager portal but it uninstall my whole Service Manager & Portal as well.

    ReplyDelete
    Replies
    1. That is correct. This command will uninstall the whole SCSM. It is only handy if you have installed the web portal on a separate server.

      You may want to refer to the entire article for ensuring it is uninstalled successfully.

      Delete
  3. I recommend the following. It threw an error, but it didd remove teh portal and allow me to re-run setup without the lengthy steps above.
    msiexec /i d.\amd64\Setup\Server\SM.msi REMOVE=SMPortal,SMPortalSharePointSite
    [Levi]

    ReplyDelete
  4. Aking Web Tech a leading IT company & Provides web services :- website Development in just 1,999 Rs/-, software development like {Billing software, School Management Software, Inventory Software, ERP, CRM}, Domain & Hosting , SEO
    website development in indore

    ReplyDelete
  5. Thats a great job!!!
    Thanks

    ReplyDelete
  6. Aking Web Tech a leading IT company & Provides web services :- website Development in just 1,999 Rs/-, software development like {Billing software, School Management Software, Inventory Software, ERP, CRM}, Domain & Hosting , SEO
    Software companies in indore

    ReplyDelete
  7. Very interesting and informative article with good Portal solution

    ReplyDelete
  8. Very Good one. Instructions from the article worked for me. Thanks a million.

    SCSM 2012 SP1
    Management and Portal on the same server
    DW and DB on another server.

    ReplyDelete
  9. If you are looking for a Software Development Company in Delhi you can check this site http://www.acetechindia.com/

    ReplyDelete
  10. I had been searching many blog to get the detail of uninstall SCSM Web Portal from the server where SCSM Management Server is installed.But this blog only well detailed explaining with good example.
    Web Design Bangalore | Web Designing Company Bangalore

    ReplyDelete
  11. Thanks for the post

    The process to remove web portal is working but problem comes after try to install it somehow Service Manager Portal cannot be created

    I want to continue to install the web portal server on the same server with the scsm application. All requirement are passed but at the end of the installation process i found out that Configure portal Web site is not finished. I also found out that in IIS manager Service Manager Portal is not created only "SCSMWebContentServer" is created

    Is there anyone that can help me? i would really appreciate it.

    ReplyDelete
  12. I had visited your website which was really good,Actually we dealing
    CRM & Billing Portal

    ReplyDelete
  13. Web Portal Development Services - In very short words, we can say that a corporate Web Portal Design and development services that works for employees and customers jointly offers not just simple in transactions but inventory keeping and easier book because all can be trailed into one method. We provide web portal design and development services all over the world.

    ReplyDelete
  14. Web Design Bangalore Explained very good terminologies, To install the Service Manager management server, Service Manager database, and console.

    ReplyDelete
  15. Web Design Sydney : It is a great sharing...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. I enjoyed every little bit part of it Logo Design Sydney

    ReplyDelete