Why do I get Error Failed to add local user: "MATLABWebAppsGuest" while registering WebApp Service?

17 views (last 30 days)
Hi,
I have installed Web App Server and while registering Web App Service, I am getting this error-
ERROR: The service command did not execute successfully with the following error: [Error] The account already exists.
[Error] Failed to add local user: "MATLABWebAppsGuest".
[Error] Failed to install the web app server.
There no option to unregister, only register option is available.
Also, start button is disabled, so I cannot start my webApps.
How can I fix this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Feb 2021
Edited: MathWorks Support Team on 4 Feb 2021
This error is thrown when there is a problem with registered user.
You are trying to register the same user who is already registered.
But there is some problem with already registered user.
A simple workaround would be to delete the existing user from "Users and Groups".
To do this in Windows- 
​1. Press the Win+R keys to open Run, type lusrmgr.msc into Run, and click/tap on OK to open Local Users and Groups.
2. Click/tap on Users in the left pane of Local Users and Groups. 
3. Delete the existing MATLABWebAppsGuest user.
Once user is removed, restart Web App Server.

More Answers (0)

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!