Share via


Rundll32

Updated: April 17, 2012

Applies To: Windows 7, Windows 7 with SP1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2008 R2 with SP1, Windows Vista, Windows XP

Loads and runs 32-bit dynamic-link libraries (DLLs). There are no configurable settings for Rundll32. Help information is provided for a specific DLL you run with the rundll32 command.

You must run the rundll32 command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

Syntax

Rundll32 <DLLname>

Commands

Parameter Description

Rundll32 printui.dll,PrintUIEntry

Displays the printer user interface

Remarks

Rundll32 can only call functions from a DLL that are explicitly written to be called by Rundll32. For more information about Rundll32 requirements see article 164787 in the Microsoft Knowledge Base (https://go.microsoft.com/fwlink/?LinkID=165773).

Additional references

Command-Line Syntax Key