Home > Windows API > Rundll32 is interesting!

Rundll32 is interesting!

We know that Rundll32 is pretty useful to act as a surrogate process for hosting dlls by invoking exported functions in such a dll which in turn runs the code in such a function…

Here are some useful and interesting calls…

// Start time and date applet
rundll32 /d C:\WINDOWS\system32\shell32.dll,Control_RunDLL timedate.cpl

// Add a new printer
rundll32 printui.dll,PrintUIEntry /in /Gw /n \\ServerBlah\PrinterName

// To start image viewer
rundll32.exe shimgvw.dll,ImageView_Fullscreen “C:\NibuIsSmart.jpg”

// More here –>
Read on

// Lock your computer, better still create a shortcut for this command so that when you click on it computer locks up 😉
rundll32 User32.dll,LockWorkStation

Will add more when I get time! 😉

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: