Share via



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

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>




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