Clear Filters
Clear Filters

Why do I receive the error "OpenSCManager failed" when installing the MATLAB Parallel Server Service?

69 views (last 30 days)
When installing the MATLAB Parallel Server service on Windows, I run the following command:
mdce install
In the Windows Command prompt I receive an error :
ERROR: wrapper | OpenSCManager failed - Access is denied. (0x5)
Script mdce unable to complete successfully - exiting
This seems to be related to to admin privileges. I am an administrator so I should be able to install the service.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Apr 2024
Edited: MathWorks Support Team on 12 Apr 2024
This is a common issue on Windows Vista and higher. Due to the User Access Control (UAC) feature in Windows, even if you are logged in as an administrator by default you do not have administrative privileges when an application by default. To run an application in an administrative mode, you will have to right click on the application icon and select "Run as an administrator".
To workaround the issue, you will need to open the Windows Command prompt as an Administrator. To so so, locate the shortcut to the Command prompt in the Start menu under Accessories. To run as Administrator, right click on the shortcut and select the option "Run as Administrator". If successful, the title for the command prompt should say "Administrator: Windows Command Processor." If so, run the "mdce install" command from the Administrator's Command prompt to install the service.
NOTE: Starting in R2019a the following name changes occurred:
  •     MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
  •     mdce_def was renamed to mjs_def
  •     mdce binary was renamed to mjs

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2007b

Community Treasure Hunt

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

Start Hunting!