I have compiled a list of Windows 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 Windows11/10
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 the 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
Hibernate
RunDll32.exe powrprof.dll,SetSuspendState
Internet Explorer’s Internet Properties dialog box.
RunDll32.exe Shell32.dll,Control_RunDLL Inetcpl.cpl,,4
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
I hope you find the list or rundll32.exe shortcuts useful. If you know of any more, please do share.
NOTE: Please also see the comment by André Modesto below.
MANY MANY THANKS!
Hi. Do you know a shortcut to create new directory in win 7 or xp?
Anand, do you know of a way to use rundll32 to open the “Windows Update” control panel in Windows 8?
You can type the following in Command Prompt or Run box to open Windows Update applet:
control /name Microsoft.WindowsUpdate
add/remove programs not working, others are :0
Sorry, there was some formatting error. I have rectified it. Check now. It works. :)
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?
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
I just tried it now. It works. :)
Check these:
https://www.thewindowsclub.com/safely-remove-hardware-not-working
https://www.thewindowsclub.com/safely-remove-usb-devices-removedrive-free-commandline-tool
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.
Hi. do you know a way to run this command silent?
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 10
how can I open folder properties for any particular folder using rundll32.exe
Thanks in advance
Is there a way to open Control PanelNetwork and InternetNetwork Map?
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?
appwiz.cpl will also get you there!
Closest I know of is ncpa.cpl which is handy for network adapters.
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”] ?
==================================================================
Taskbar and start menu props TASKBAR
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 1
==================================================================
Taskbar and start menu props START MENU
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 3
==================================================================
Taskbar and start menu props TOOLBARS
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 6
==================================================================
Folder options GENERAL
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 0
==================================================================
Folder options SEARCH
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 2
==================================================================
Folder options VIEW
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 7
==================================================================
Turn system icons on or off
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 4
==================================================================
Select which icons and notifications apear on taskbar
%SystemRoot%System32rundll32.exe shell32.dll,Options_RunDLL 5
==================================================================
Control Panel
* CONTROL: opens the control panel window
* CONTROL ADMINTOOLS: opens the administrative tools
* CONTROL KEYBOARD: opens keyboard properties
* CONTROL COLOUR: opens display properties.Appearance tab
* CONTROL FOLDERS: opens folder options
* CONTROL FONTS: opens font policy management
* CONTROL INTERNATIONAL or INTL.CPL: opens Regional and Language option
* CONTROL MOUSE or MAIN.CPL: opens mouse properties
* CONTROL USERPASSWORDS: opens User Accounts editor
* CONTROL USERPASSWORDS2 or NETPLWIZ: User account access restrictions
* CONTROL PRINTERS: opens faxes and printers available
* APPWIZ.CPL: opens Add or Remove programs utility tool
* OPTIONALFEATURES: opens Add or Remove Windows component utility
* DESK.CPL: opens display properties. Themes tab
* HDWWIZ.CPL: opens add hardware wizard
* IRPROPS.CPL: infrared utility tool
* JOY.CP: opens game controllers settings
* MMSYS.CPL: opens Sound and Audio device Properties. Volume tab
* SYSDM.CPL: opens System properties
* TELEPHON.CPL: Opens phone and Modem options
* TIMEDATE.CPL: Date and Time properties
* WSCUI.CPL: opens Windows Security Center
* ACCESS.CPL: opens Accessibility Options
* WUAUCPL.CPL: opens Automatic Updates
* POWERCFG.CPL: opens Power Options Properties
* AZMAN.MSC: opens authorisation management utility tool
* CERTMGR.MSC: opens certificate management tool
* COMPMGMT.MSC: opens the Computer management tool
* COMEXP.MSC or DCOMCNFG: opens the Computer Services management tool
* DEVMGMT.MSC: opens Device Manager
* EVENTVWR or EVENTVWR.MSC: opens Event Viewer
* FSMGMT.MSC: opens Shared Folders
* NAPCLCFG.MSC: NAP Client configuration utility tool
* SERVICES.MSC: opens Service manager
* TASKSCHD.MSC or CONTROL SCHEDTASKS: opens Schedule Tasks manager
* GPEDIT.MSC: opens Group Policy utility tool
* LUSRMGR.MSC: opens Local Users and Groups
* SECPOL.MSC: opens local security settings
* CIADV.MSC: opens indexing service
* NTMSMGR.MSC: removable storage manager
* NTMSOPRQ.MSC: removable storage operator requests
* WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
* PERFMON or PERFMON.MSC: opens the Performance monitor
* MMC: opens empty Console
* MDSCHED: opens memory diagnostics tools
* DXDIAG: opens DirectX diagnostics tools
* ODBCAD32: opens ODBC Data source Administrator
* REGEDIT or REGEDT32: opens Registry Editor
* DRWTSN32: opens Dr. Watson
* VERIFIER: opens Driver Verifier Manager
* CLICONFG: opens SQL Server Client Network Utility
* UTILMAN: opens Utility Manager
* COLORCPL: opens color management
* CREDWIZ: back up and recovery tool for user passwords
* MOBSYNC: opens Synchronization center
* MSCONFIG: opens System Configuration Utility
* SYSEDIT: opens System Configuration Editor (careful while using this command)
* SYSKEY: Windows Account Database Security management (careful while using this command)
Windows utility and applications
* EPLORER: Opens windows Explorer
* IEXPLORER: Opens Internet explorer
* WAB: opens Contacts
* CHARMAP: opens Character Map
* WRITE: opens WordPad
* NOTEPAD: opens Notepad
* CALC: opens Calculator
* CLIPBRD: opens Clipbook Viewer
* WINCHAT: opens Microsoft Chat Interface
* SOUNDRECORDER: opens sound recording tool
* DVDPLAY: run CD or DVD
* WMPLAYER: opens Windows Media Player
* MOVIEMK: Opens untitled Windows Movie Maker
* OSK: opens on-screen Keyboard
* MAGNIFY: opens Magnifier
* WINCAL: opens Calendar
* DIALER: opens phone Dialer
* EUDCEDIT: opens Private Character Editor
* NDVOL: opens the mixer volume
* RSTRUI : opens Tool System Restore (For Vista only)
* %WINDIR%SYSTEM32RESTORErstrui.exe: opens Tool System Restore (for XP only).
* MSINFO32: Opens the System Information
* MRT : launches the utility removal of malware.
* Taskmgr : Opens the Windows Task Manager
* CMD: opens a command prompt
* MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
* Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
* SIDEBAR: Open the Windows (Vista only)
* Sigverif : Opens the tool for verification of signatures of files
* Winver : Opens the window for your Windows version
* FSQUIRT: Bluetooth Transfer Wizard
* IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
* MBLCTR: opens the mobility center (Windows Vista only)
* MSRA : Opens the Windows Remote Assistance
* Mstsc : opens the tool connection Remote Desktop
* MSDT: opens the diagnostic tools and support Microsoft
* WERCON: opens the reporting tool and solutions to problems (for Vista only)
* WINDOWSANYTIMEUPGRADE: Enables the upgrade of Windows Vista
* WINWORD : opens Word (if installed)
* PRINTBRMUI : Opens migration wizard printer (Vista only)
Disk management
* DISKMGMT.MSC: opens disk management utility
* CLEANMGR: opens disk drive clean up utility
* DFRG.MSC: opens disk defragmenter
* CHKDSK: complete analysis of disk partition
* DISKPART: disk partitioning tool
Connection management
* IPCONFIG: list the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
* INETCPL.CPL: opens internet properties
* FIREWALL.CPL: opens windows firewall
* NETSETUP.CPL: opens network setup wizard
Miscellaneous commands
* JAVAWS: View the cover of JAVA software (if installed)
* AC3FILTER.CPL: Opens the properties AC3 Filter (if installed)
* FIREFOX: Mozilla launches Firefox (if installed)
* NETPROJ: allow or not connecting to a network projector (For Vista only)
* LOGOFF: closes the current session
* SHUTDOWN: shut down Windows
* SHUTDOWN-A: to interrupt Windows shutdown
* %WINDIR% or %SYSTEMROOT%: opens the Windows installation
* %PROGRAMFILES%: Opens the folder where you installed other programs (Program Files)
* %USERPROFILE%: opens the profile of the user currently logged
* %HOMEDRIVE%: opens the browser on the partition or the operating system is installed
* %HOMEPATH%: opens the currently logged user C: Documents and Settings [username]
* %TEMP%: opens the temporary folder
* VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
* System File Checker (Requires Windows CD if the cache is not available):
o SFC / scannow: immediately scans all system files and repairs damaged files
o SFC / VERIFYONLY: scans only those files system
o SFC / Scanfil = “name and file path”: scans the specified file, and repaired if damaged
o SFC / VERIFYFILE = “name and file path”: Scans only the file specified
o SFC / scanonce: scans the system files on the next restart
o SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.
Thanks for this list. :)
thank you.
for the contribution.
It is very interesting.
I have an AD policy to lock the screen on a workstation and when it invokes rundll32 user32.dll,LockWorkstation there is a ding or windows startup like sound (Windows 7) when the screen locks. Is there anyway thru policy to turn off just that sound?
Hi Jairo
I know its old thread but for all those who will land here like I did.
To create directory using CMD just type in MD /? or MKDIR /? for all available folder creation switches.
;)
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,Advanced,@Advanced
w10
How to copy files with rundll+shell32 from the command line? Like when you do it with “Ctrl+C” and “Ctrl+V”, but from bat-file? I need a visual system progress-bar during copying, but I don’t want to see black cmd-windows
In explorer CTRL+Shift+N :)
Hi. How I can control another computer remotely credentials ? I want to create , modify and delete the credentials of all workstations from a single computer
Thanks for this. I know you can display images with:
rundll32.exe %SystemRoot%System32shimgvw.dll,ImageView_Fullscreen+’ ‘+FileName
but can I also use a similar method to play media files? (audio/video)
Thanks.
control sysdm.cpl,,3 opens the System properties with Advanced tab selected. Is it possible to change the syntax so that we can call the tab by its name. Something like control sysdm.cpl,,advanced
This is very helpful and educational. Kudo.s to all people willing to share their knowledge! thank you
search for “Bring up” in this page :))