IMPORTANT NOTES:
EDITING THE REGISTRY
Let’s get started:
The first step is to modify (or create) the registry entries that handle the MediaDirect button. Open REGEDIT via the RUN command (type REGEDIT). This will launch the REGISTRY EDITOR.
Find the following keys...
Note: You may not have an entry for ControlSet003 - if not, don't worry. Just proceed.
For each of these keys, there is an Application Path entry. This is the entry you will need to modify.
When looking at it, it will look like this:
"C:\Program Files\Dell\MediaDirect\MDirect.exe"
In order to remap it to launch another application, just edit the path to whatever application you want. So, for example:
To map it to launch Windows Media Center, you would change the path to: "C:\Windows\ehome\ehshell.exe"
You now have the process to change the mapping to any application you have. Just point the application path to the application you want the button to launch. Remember to leave in the quotes.
NOTE: After modifying the registry, you will need to reboot for your changes to take effect.
OTHER FUNCTIONS
Several people have expressed interest inhaving the MediaDirect button power off the LCD when pressed. In order to do this, use the following process:
That’s it! After your reboot is complete, depressing the MediaDirect button will turn off the LCD. Moving the mouse or pressing a keyboard key will power on the LCD.
LOCK YOUR LAPTOP
So, for Lock Workstation you would:
"C:\LockWorkstation"
Pressing the MediaDirect button will now lock your laptop. Granted it’s probably just as fast to use the keyboard shortcut (Windows Key+L), but some people may find it useful.
POWER OFF LCD AND LOCK WORKSTATION:
How about locking and turning off the LCD by just pushing the button?
@echo off
start C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation
PING 127.0.0.1 -n 3
start C:\TurnOffLCD.exe
Save the file as 'TurnOffLCDandLock.bat' - BE SURE TO CHANGE THE FILE TYPE to: All Files or it wont save properly. Save the file to the root level of the C: drive.
"C:\TurnOffLCDandLock.bat"
SHUTDOWN
As before, create a new shortcut, but instead use the following to create a "SHUTDOWN shortcut" which will force all open applications to close and the system to shutdown when the button is pressed:
Shutdown.exe -s -t 00
or to give the system 30 seconds, use this:
Shutdown.exe -s
SLEEP/SUSPEND
For SLEEP, try:
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
HIBERNATE
For HIBERNATE, try:
Rundll32.exe Powrprof.dll,SetSuspendState Hibernate
WEBSITES AND DOCUMENTS
For Website or Document shortcuts just follow the same procedure. Right Click on the desktop and create your shortcut. You could even link to a .wav or .mp3. Anything is possible. ;)
Remember, once you have identified the shortcut/application/file you want to link the button to, just go into the registry as before and change the Application Path.
Kind of cool, huh? Well, that's about it for remapping the Dell MediaDirect button.