fortypoundhead.com

Run Control Panel Applets from a Command Prompt

Posted On 2008-11-15 by FortyPoundHead
Keywords:
Tags: Windows Commandline Tip Windows Windows XP Vista
Views: 2679


This handy little chart shows you which commands to issue at the command prompt to start control panel applets. Very handy for keyboard commandos.

Applet Name Filename
Accessibility Controls access.cpl
Add/Remove Programs control appwiz.cpl
Add Hardware Wizard hdwwiz.cpl
Automatic Updates wuaucpl.cpl
Date/Time Properties control timedate.cpl
Display Properties control desk.cpl or control desktop
Display Properties "Appearance Tab Preselected" control color
Disk Management dskmgmt.cpl
Find Fast control findfast.cpl
Fonts Folder control fonts
Folders Properties control folders
Game Controllers joy.cpl
Internet Properties control inetcpl.cpl
Keyboard Properties control main.cpl or control keyboard
Mouse Properties control main.cpl or control mouse
Multimedia Properties control mmsys.cpl
Network Properties control netcpl.cpl
Password Properties control password.cpl
Printers Folder control printers
Power Configuration powercfg.cpl
Printers and Faxes control printers
Regional Settings intl.cpl
Sound and Audio Devices control panel mmsys.cpl
System Properties control sysdm.cpl
Windows Firewall firewall.cpl

This comes in especially handy if you are supporting someone else's computer, who may not have the rights to perform a particular task. You can couple the above information with the RunAs command, specifying your account information (that has admin rights to the requested applet), and gain proper access. Here is an example:

runas /user:computername\Administrator "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl"

Replace "computername" with either the domain or the name of the pc, and "Administrator" with the name of the account that has administrative rights on the system. This particular example opens the System applet.


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.166.189.88

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

SSL Now Active
dwirch posted on June 16, 2017 at about 8:40 in Site News

SSL Now Active
dwirch posted on June 13, 2017 at about 7:59 in Site News

Coding Archive?
dwirch posted on June 3, 2017 at about 12:54 in Site News

Job Spammer: Bharti Jigyasi
dwirch posted on June 2, 2017 at about 16:57 in Spammers

Coding Archive?
dwirch posted on May 25, 2017 at about 12:38 in Site News

BWASL returns
dwirch posted on May 13, 2017 at about 15:24 in Site News