how to set a mdceuser?
1 view (last 30 days)
Show older comments
By default,a worker on a windows operating system installed as a service running as localsystem,so it does not have acess to mapped network drives.How to set the mdceuser and mdcepass? I need detail steps.
thanks!
0 Comments
Answers (1)
Richard Alcock
on 28 Sep 2011
To change the user the MDCE service is running as you need to do the following on all the computers MDCE is running on.
1. From a Command Prompt, stop and uninstall MDCE. Note: this will destroy all your jobs.
$MATLABROOT\toolbox\distcomp\bin> mdce -clean stop
$MATLABROOT\toolbox\distcomp\bin> mdce uninstall
2. Open $MATLABROOT\toolbox\distcomp\bin\mdce_def.bat in a text editor
3. Change the line "set MDCEUSER=" to specify the user you want the MDCE service to run as.
4. Reinstall the MDCE service. This will prompt you for the password for the MDCEUSER account.
$MATLABROOT\toolbox\distcomp\bin> mdce install
5. Start the MDCE service
$MATLABROOT\toolbox\distcomp\bin> mdce start
6. Start jobmanager and workers as before.
IMPORTANT NOTE: This will not give MDCE access to the users mapped drives. Services, even when running as a real user, do not have the mapped drives that that user has when they log on interactively. You will need to refer to the locations by the full network (UNC) path - something like \\server\path\to\file. However, by changing the user, the MDCE service may now have permission to access this network location.
2 Comments
Richard Alcock
on 15 Jan 2013
On Windows, the full name of a user is specified like "DOMAINNAME\USERNAME" - the DOMAINNAME might be the same as the local computer the user is defined on, or might be something like your group, department or company name. You need to find the full username of the user you want the service to run as and then the mdce_def.bat file as above.
\\jcfy-pv\d\test
looks like an UNC path to me - they start with two slashs, and then the computer name.
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!