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.
Run Matlab without Admin rights?
62 次查看(过去 30 天)
显示 更早的评论
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 个评论
Alex
2015-4-3
I have the same problem as A M: Company policy says "not Administrator", so I can't run Matlab. Fail.
Image Analyst
2015-4-3
I know for a fact that I do not have to "run it as Admin after activation". See my properties:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/182561/image.jpeg)
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.
回答(3 个)
Marc Jakobi
2017-11-10
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 个评论
Jeffrey Brodhecker
2021-1-20
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
Image Analyst
2015-3-25
编辑:Image Analyst
2015-3-25
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.
0 个评论
Jan
2015-4-3
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!