List of Rundll32 commands for Windows 8 | 7

I have compiled a list of Rundll32 commands, which can be used for directly invoking the specified functions or to create shortcuts of those, which you use and require frequently.

Rundll32 commands for Windows

To Create Desktop Shortcuts : Right click on desktop > New > Shortcut. In the first box of the Create Shortcut Wizard, copy-paste the desired command. Then Click Next. Give the Shortcut a Name. Finally, select an appropriate icon for it.

Some of them can prove to be rather useful, eg, copy-paste rundll32.exe keymgr.dll,KRShowKeyMgr in Search bar and hit enter; and you will see the Stored User Names and Passwords Box pop up ! The Stored User Names and Passwords Applet lets you assign user names and passwords to use, when needing to authenticate yourself, to services in domains other than the one you are currently logged into. It’s normally very awkward to access it, but this way lets you do so faster ! You can thus access quite a few useful functions easily !

Add/Remove Programs

RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Content Advisor

RunDll32.exe msrating.dll,RatingSetupUI

Control Panel

RunDll32.exe shell32.dll,Control_RunDLL

Delete Temporary Internet Files

 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Delete Cookies

 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Delete History

 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Delete Form Data

 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Delete Passwords

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All + files and settings stored by Add-ons:

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Date and Time Properties

RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl

Display Settings

RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3

Device Manager

RunDll32.exe devmgr.dll DeviceManager_Execute

Folder Options – General

RunDll32.exe shell32.dll,Options_RunDLL 0

Folder Options – File Types

RunDll32.exe shell32.dll,Control_Options 2

Folder Options – Search

RunDll32.exe shell32.dll,Options_RunDLL 2

Folder Options – View

RunDll32.exe shell32.dll,Options_RunDLL 7

Forgotten Password Wizard

RunDll32.exe keymgr.dll,PRShowSaveWizardExW


RunDll32.exe powrprof.dll,SetSuspendState

Internet Explorer’s Internet Properties dialog box.

Rundll32 Shell32.dll,ConBring up trol_RunDLL Inetcpl.cpl,,6

Keyboard Properties

RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1

Lock Screen

RunDll32.exe user32.dll,LockWorkStation

Mouse Button – Swap left button to function as right

Rundll32 User32.dll,SwapMouseButton

Mouse Properties Dialog Box

Rundll32 Shell32.dll,Control_RunDLL main.cpl @0,0

Map Network Drive Wizard

Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL Connect

Network Connections

RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl

Organize IE Favourites

Rundll32.exe shdocvw.dll,DoOrganizeFavDlg

Open With Dialog Box

Rundll32 Shell32.dll,OpenAs_RunDLL Any_File-name.ext

Printer User Interface

Rundll32 Printui.dll,PrintUIEntry /?

Printer Management Folder.

Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

Power Options

RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl

Process Idle Tasks

rundll32.exe advapi32.dll,ProcessIdleTasks

Regional and Language Options

Rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,0

Stored Usernames and Passwords

RunDll32.exe keymgr.dll,KRShowKeyMgr

Safely Remove Hardware Dialog Box

Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll

Sound Properties Dialog Box

Rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,0

System Properties Box

Rundll32 Shell32.dll,Control_RunDLL Sysdm.cpl,,3

System Properties – Advanced

RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4

System Properties: Automatic Updates

RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5

Taskbar Properties

RunDll32.exe shell32.dll,Options_RunDLL 1

User Accounts

RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

Unplug/Eject Hardware

RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Windows Security Center

RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl

Windows – About

RunDll32.exe SHELL32.DLL,ShellAboutW

Windows Fonts Installation Folder

Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL FontsFolder

Windows Firewall

RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl

Wireless Network Setup

RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW

Hope you find the list useful. If you know of any more, please do share.
Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • Tiziano Di Rauso


  • Jairo

    Hi. Do you know a shortcut to create new directory in win 7 or xp?

  • Martin Leeves

    Anand, do you know of a way to use rundll32 to open the “Windows Update” control panel in Windows 8?

  • Anand Khanse

    You can type the following in Command Prompt or Run box to open Windows Update applet:

    control /name Microsoft.WindowsUpdate

  • yoyo

    add/remove programs not working, others are :0

  • Anand Khanse

    Sorry, there was some formatting error. I have rectified it. Check now. It works. :)

  • Martin Leeves

    Thank you very much, Anand.

    Also, thanks for your instructions above to open the Power Options control panel (“RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl”)

    I specifically want to open this Control Panel and then open the “Change Plan Settings” for the “High Performance” power plan. Do you know which parameters I must supply to the rundll32 command to do this?

  • jo

    Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll

    absolutly not working :((… Have been looking everywhere to safely Remove Hardware because it’s impossible to Eject Through Right Click

  • Anand Khanse
  • Jeevun Vethanayagam

    I don’t really know how to do it in 7; although in windows 8 the hotkey is windows key + x + o.
    C:WindowsSystem32powercfg.exe -setactive SCHEME_MIN
    you can use this to set your computer to high performance! Create a new shortcut and make this your location. SCHEME_MEDIUM and SCHEME_MAX are other power options. you can find all your power option names by run cmd and then powercfg -l.

  • oizworkplace

    Hi. do you know a way to run this command silent?

    RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 10

  • vsoni

    how can I open folder properties for any particular folder using rundll32.exe

    Thanks in advance

  • Guest

    Is there a way to open Control PanelNetwork and InternetNetwork Map?

  • KERR

    Rundll32 Shell32.dll,Control_RunDLL Sysdm.cpl,,3 – actually points to the advanced tab.

    RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4 – points to System Restore.

    Anyone know how to go directly to the Performance Options on the Advanced tab?

  • KERR

    appwiz.cpl will also get you there!

  • KERR

    Closest I know of is ncpa.cpl which is handy for network adapters.

  • Shantha D

    Following issue is specific to IE11-WIN8.
    When I refer INetCache folder using any program and try to print its contents, it always it displays [“Content.IE5″, “counters.dat”, “desktop.ini”, “IE”, “Low”, “Virtualized”]. But when I access the same INetCache folder using IE11 browser, Tools->Internet Options->General->Browsing history-> Settings(click)->View files(click), I get different folder structure, which contains some favicon.ico files. How can I make my program to refer always these favicon.ico files instead of [“Content.IE5″, “counters.dat”, “desktop.ini”, “IE”, “Low”, “Virtualized”] ?

  • Recent Comments