
close
close
How can I run Control Panel applets as another user (one with administrative privileges)?
Sometimes you’ll want to do file and folder modifications, or even partition formatting, but you won’t want to do it while logged on as an administrator.
Every Control Panel applet is in fact a file with a .CPL extension. If you perform a search for these files you’ll see that they’re all located in the %systemroot%\system32 folder.
advertisment
That’s it!
BTW, it’s time you got to know the RUNAS command that’s now native in W2K and XP. Open a Command Prompt and run the following command:
runas /user:computername\Administrator command
where computername is the name of your computer, and username is the name of the user you’re trying to run the command as (e.g. Administrator). The command is the command you’re trying to run (e.g. a batch file, an .exe file or even a control panel applet).
For example, to open System from a command line as an administrator, type:
runas /user:computername\Administrator "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl"
For a list of some of the Control Panel applet filenames see this (incomplete) list:
advertisment
Control Panel Applet | Filename |
Accessibility | access.cpl |
Add New Hardware | hdwwiz.cpl |
Add/Remove Programs | appwiz.cpl |
Date/Time Properties | timedate.cpl |
Display Properties | desk.cpl |
FindFast | findfast.cpl |
Internet Properties | inetcpl.cpl |
Joystick Properties | joy.cpl |
Keyboard Properties | main.cpl |
Local Users management | nusrmgr.cpl |
Microsoft Exchange | mlcfg32.cpl |
Microsoft Mail Post Office | wgpocpl.cpl |
Modem Properties | modem.cplNote: In Windows NT 4.0, W2K, XP and Windows 2003 – Modem properties is telephon.cpl |
Mouse Properties | main.cpl |
Multimedia Properties | mmsys.cpl |
Network Properties | netcpl.cplNote: In Windows NT 4.0, W2K, XP and Windows 2003 – Network properties is Ncpa.cpl |
Password Properties | password.cpl |
Power Options | powercfg.cpl |
Regional Settings | intl.cpl |
Sound Properties | mmsys.cpl |
System Properties | sysdm.cpl |
Each applet might have additional features. See the links on the right for more details.
More from Daniel Petri
advertisment
Petri Newsletters
Whether it’s Security or Cloud Computing, we have the know-how for you. Sign up for our newsletters here.
advertisment
More in Windows Client OS
Best Practices for Installing Active Directory Domain Controllers in a Virtual Machine
Apr 15, 2022 | Michael Taschler
Most popular on petri
Log in to save content to your profile.
Article saved!
Access saved content from your profile page. View Saved
Join The Conversation
Create a free account today to participate in forum conversations, comment on posts and more.
Copyright ©2019 BWW Media Group