Control Applets - Run at commandline or call in batch file

  • Section(s): Commandline, Miscellaneous, Utilities
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 4.7 out of 5 based on 6 votes.
Windows NT / Windows 2000 / Windows XP Control Applets can be started from Start/Run, from Shortcuts, from commandline, or from scripting using

rundll32.exe shell32.dll,Control_RunDLL CPLapplet:

Accessibility: rundll32.exe shell32.dll,Control_RunDLL access.cpl
Add/Remove Programs: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
Display: rundll32.exe shell32.dll,Control_RunDLL desk.cpl
Joystick: rundll32.exe shell32.dll,Control_RunDLL joy.cpl
Mouse: rundll32.exe shell32.dll,Control_RunDLL main.cpl
Multimedia: rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl
Modems: rundll32.exe shell32.dll,Control_RunDLL modem.cpl
PC Card (PCMCIA): rundll32.exe shell32.dll,Control_RunDLL devapps.cpl
Regional Settings: rundll32.exe shell32.dll,Control_RunDLL intl.cpl
SCSI Adapters : rundll32.exe shell32.dll,Control_RunDLL devapps.cpl,@1
System: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl
Time/Date: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl

Rundll32.exe is an application included with Windows that executes functions in dynamic link libraries (DLLs). Most applications (and Windows) use DLLs to share code between multiple applications or multiple modules within a single application. There are lots of other tasks you can accomplish with Rundll32.exe. You can execute these commands from a console or incorporate them into scripts or batch files to help you quickly access certain features in the user interface for configuring the operating system or hardware.

  • The following command starts the Add Printer Wizard:
    Rundll32.exe printui.dll,PrintUIEntry /il
  • If you want to add a standard TCP/IP port for printing, use this command:
    Rundll32.exe tcpmonui.dll,LocalAddPortUI
  • You can easily create new shared folders through the New Share dialog box. Use this command to open it:
    Rundll32.exe ntlanui.dll,ShareCreate
  • Another function you can access through Ntlanui.dll is the Shared Directories dialog box. Here's how to open it:
    Rundll32.exe ntlanui.dll,ShareManage

Related tips:

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?