Share via


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.


Rundll32 <DLLname>


Parameter Description

Rundll32 printui.dll,PrintUIEntry

Displays the printer user interface


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 (

Additional references

Command-Line Syntax Key