Jump to content

Recommended Posts

well when using that parameter it should uninstall the portal (first time you run it)

on the second attempt, you should get a message stating there's nothing to uninstall (or similar), what are you seeing when you try to run it ?

Share this post

Link to post
Share on other sites

.\MBAMWebSiteInstaller.ps1 -SqlServerName <ServerName> -SqlInstanceName <InstanceName> -SqlDatabaseName <DatabaseName> -ReportWebServiceUrl <ReportWebServiceUrl> -HelpdeskUsersGroupName <DomainUserGroup> -HelpdeskAdminsGroupName <DomainUserGroup> -MbamReportUsersGroupName <DomainUserGroup> -Uninstall

In the script i replaced the last part with -Uninstall parameter, (am i doing it right?)
after entering that, i got the same result as when I install the portals. 

is there a way, to force uninstall the portals?


Share this post

Link to post
Share on other sites

Hey All, 

I am having a similar issue while installing the Portal:


[server.local] Connecting to remote server server.local failed with the following error message : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is
accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM
service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (server.local:String) [], PSRemotingTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionStateBroken
Get-CertificateFromSqlServer : Unable to export ConfigMgr SQL Server Identification Certificate from server.local
At I:\Program Files\Microsoft Configuration Manager\bin\X64\mbamwebsiteinstaller.ps1:1214 char:16
+     $success = Get-CertificateFromSqlServer $SqlServerName
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-CertificateFromSqlServer

Install-MBAMWebSites : Failure acquring SQL identity certificate.
At I:\Program Files\Microsoft Configuration Manager\bin\X64\mbamwebsiteinstaller.ps1:1367 char:5
+     Install-MBAMWebSites -SqlServerName $SqlServerName -SqlInstanceNa ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-MBAMWebSites

Uninstalling MBAM web site registry


Note*: I have replace the real server name with "server.local".    Also, the script was done by someone with BD Admin right to the SQL server.

Any assistance would be appreciated



Share this post

Link to post
Share on other sites

Hello, I have one strange thing about portal.

Portal was installed as well, without any issue, but when I want to access it, from IIS, from example as localhost, got message Unable to connect.

Just to add, have one site, one server with installed SCCM console, and one with SQL server.

Edited by Nenad Raskovic

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.