How to make a shortcut to always "Run as Administrator"

358 views (last 30 days)
I would like to change the default startup of Matlab to 'Run as Administrator', which is necessary for tasks like saving the path. I start Matlab from a desktop icon and would like to alter the icon properties so I always 'Run as Administrator'. Or if there is another way to make the default startup of any Matlab session to run as administrator, please let me know. I know this can be done via right clicking on Matlab from the Windows start menu, but would like to not have to take this extra step. I am using Windows 10 and running R2015b.
  1 Comment
Adam on 13 Jun 2017
Edited: Adam on 13 Jun 2017
I don't remember doing anything out of the ordinary with my shortcuts and I have no problem saving my path (Windows 10, R017b)

Sign in to comment.

Accepted Answer

Dimitris Iliou
Dimitris Iliou on 16 Jun 2017
Please keep in mind that this is a Windows workflow and not a MATLAB specific one.
What I would suggest is
  1. Go to the MATLAB icon
  2. Click on properties
  3. Go to the Shortcut tab
  4. Press Advanced..
  5. Check the "Run as administrator" checkbox.
  1 Comment
KAE on 16 Jun 2017
Edited: KAE on 11 Jul 2017
Works perfectly. I am delighted. Head's up though if anyone is trying this: If you run as administrator, you may no longer see mapped network drives from within Matlab, see here.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!