RUNDLL32.EXE settings

Sample usage of RUNDLL32.EXE executable:

Running a Control Panel applet
rundll32 shell32.dll,Control_RunDLL applet.cpl (see this page for further reference of applets)

rundll32.exe AppWiz.Cpl,NewLinkHere %1
Creates a new link in directory %1 (name and target are requested by wizard)

rundll32.exe desk.cpl,InstallScreenSaver %l [Opens screensaver menu]

Open with ... function
rundll32.exe shell32.dll,OpenAs_RunDLL %1
%1 is a place holder and carries first argument, e.g. Path+Name

rundll32.exe diskcopy,DiskCopyRunDll
Copy Disk

rundll32.exe user.exe,ExitWindows [Fast Shutdown of Windows]
rundll32.exe user.exe,ExitWindowsExec [Restart Windows]

rundll32.exe shell32.dll,SHExitWindowsEx n
where n stands for:
0 - LOGOFF
1 - SHUTDOWN
2 - REBOOT
4 - FORCE
8 - POWEROFF
(can be combined -> 6 = 2+4 FORCE REBOOT)

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 install.inf
Installs given [install.inf] INF file

rundll32.exe user.exe,wnetconnectdialog [Opens Connect Network drive dialog]
rundll32.exe user.exe,wnetdisconnectdialog [Opens Disconnect Network drive dialog]

rundll32.exe rnaui.dll,RnaDial UUNET
Starts given connection, e.g. UUNET in Dial-Up network directory.