Skip to content

Instantly share code, notes, and snippets.

@scotgabriel
Last active November 11, 2023 14:53
Show Gist options
  • Star 64 You must be signed in to star a gist
  • Fork 16 You must be signed in to fork a gist
  • Save scotgabriel/fe2a7bd7213739b2bc407ecf0e100f9a to your computer and use it in GitHub Desktop.
Save scotgabriel/fe2a7bd7213739b2bc407ecf0e100f9a to your computer and use it in GitHub Desktop.
Common windows functions via rundll user32 and control panel

Rundll32 commands

OS: Windows 10/8/7

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 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

Taskbar and start menu props TASKBAR

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 1

Taskbar and start menu props START MENU

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 3

Taskbar and start menu props TOOLBARS

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 6

Folder options GENERAL

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 0

Folder options SEARCH

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 2

Folder options VIEW

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 7

Turn system icons on or off

  • %SystemRoot%\System32\rundll32.exe shell32.dll,Options_RunDLL 4

Select which icons and notifications apear on taskbar

  • %SystemRoot%\System32\rundll32.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

  • EXPLORER: 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%\SYSTEM32\RESTORE\rstrui.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):
  • SFC / scannow: immediately scans all system files and repairs damaged files
  • SFC / VERIFYONLY: scans only those files system
  • SFC / Scanfil = "name and file path": scans the specified file, and repaired if damaged
  • SFC / VERIFYFILE = "name and file path": Scans only the file specified
  • SFC / scanonce: scans the system files on the next restart
  • SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.
@shoodidagen
Copy link

under 'Control Panel' the word 'Colour' for 'Control Colour' needs to be 'Color' or it doesn't work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment