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.
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:
|Control Panel Applet||Filename|
|Add New Hardware||hdwwiz.cpl|
|Local Users management||nusrmgr.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|
|Network Properties||netcpl.cplNote: In Windows NT 4.0, W2K, XP and Windows 2003 – Network properties is Ncpa.cpl|
Each applet might have additional features. See the links on the right for more details.