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

63 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2024-4-12
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by