Aug 25, 2011
tom

Is it possible to open Control Panel based applications with raised privileges?

Question

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?

Answer

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

Related posts:

  1. Why is Bitlocker missing from Control Panel?
  2. CopSSH control panel overwrites sshd_config
  3. Easiest centOS control panel
  4. Remove Console Tree and Default to Standard in Services Control Panel
  5. Free Windows hosting control panel

Leave a comment