For example, I want to uninstall an application on a users PC whilst they are logged in, but they do not have the rights to do so in the "Add/remove Programs" application. Is it possible to use "Run as..." for Control Panel based applications so that I can open the application as an Administrator?

link|improve this question

feedback

1 Answer

up vote 5 down vote accepted

You can use the runas command.

runas /user:Administrator "control appwiz.cpl"

It will prompt for a password then launch Add/Remove Programs with Administrator's credentials. There are other control panel applets you might need to launch this way as well.

You can also hold shift while right-clicking the applets and most of them allow you to choose "Run As".

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.