How to use ‘runas’ command to remotely install software for users?

If you are working with users that have limited access rights to their Windows profile, and they need to install some software (e.g. printer drivers, application softwares) to their computer but couldn’t because they do not have administrator rights. Then, one way to do this is to use the ‘runas’ command.

1. Go to the Command prompt

2. Type in ‘runas /user:administrator “mmc c:\windows\system32\compmgmt.msc” This will start up the Computer Management console with the administrator rights. It will prompt you for the administrator password to the account.

3. Temporarily add the user to the administrator group and restart the computer

4. Install the necessary software for the user

5. Remove the user from the administrator group and logoff