Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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