Run Matlab without Admin rights?

I'm trying to install Matlab with a trial license on Win7 SP1. UAC is set to default. It seems impossible to run Matlab without Admin rights, not only can I not activate Matlab unless run as Admin (Error1731), I also have to run it as Admin after activation. Is there any way to install it so that a user can run it? It seems ridiculous that the Admin password is needed to run the program, I can't give everyone who uses the program Admin rights?

4 Kommentare

A M
A M am 25 Mär. 2015
Meanwhile, I found my own answer to this question - install Matlab in the user account by temporarily giving the user admin privileges, then revoke them after install. There has to be a better solution, if you know it, feel free to share (seems I'm not the only one with this problem, since I see a lot of questions in the support forum, but no answers). I assume the admin user is connected to the license during install, but I don't see any option to associate it with a certain user. Cmd? It would be really awesome if such a basic question could be answered in the TSG.
John D'Errico
John D'Errico am 26 Mär. 2015
I don't see the problem. That is pretty much what has been done for as long as I remember. Or give them admin rights.
Alex
Alex am 3 Apr. 2015
I have the same problem as A M: Company policy says "not Administrator", so I can't run Matlab. Fail.
Image Analyst
Image Analyst am 3 Apr. 2015
I know for a fact that I do not have to "run it as Admin after activation". See my properties:
See? The "Run as administrator" checkbox is unchecked.
I don't recall if I need to grant administrator privileges during installation since I only do that twice a year. Anyway, my answer below remains the same for you as it was for A M - contact installation support at the Mathworks.

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Marc Jakobi
Marc Jakobi am 10 Nov. 2017

6 Stimmen

This thread is a bit old, but I had the same problem and just found a solution. It's related to this this thread.
When you activated Matlab, you specified your administrator account. As a result, the license file is saved to the administrator account, not your user account. Every time you start Matlab, it can't find a license file and starts the Matlab Activator (which requires administrator privileges).
To solve this problem, activate Matlab and when prompted to put in the account name, replace the administrator account name with your user account.

1 Kommentar

Jeffrey Brodhecker
Jeffrey Brodhecker am 20 Jan. 2021
Thank you very much. This is the correct answer. side note - There will also be a 'warning' type message that comes up when you try to change the name, but just put the correctly spelt name of the account you are trying to run it on and it will be fine

Melden Sie sich an, um zu kommentieren.

Image Analyst
Image Analyst am 25 Mär. 2015
Bearbeitet: Image Analyst am 25 Mär. 2015

0 Stimmen

We don't really answer licensing or installation questions here. I would Contact Support Installation Help . I can say, though, that I don't have to run MATLAB as an administrator to get it to launch.
Jan
Jan am 3 Apr. 2015

0 Stimmen

On my Windows 7 computer Matlab runs fine without admin privileges. It was useful to gain writing privileges to [matlabroot]\toolbox\local, such that pathdef can be adjusted. But the rest runs smoothly as user.

Gefragt:

A M
am 25 Mär. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by