Wednesday, December 17, 2014

Tuesday, March 17, 2009

How to access Control panel Applet via command line.

We can use Control Panel tools either by navigating to Control Panel or via using command line. It's an useful way from an administrator's point of view. All control panel tools are named with .cpl extension as *.cpl and all the .cpl files are strored in %systemroot%\system32 folder. We have to use the names of control panel tools by which they are present in this folder. List of .cpl files.



5. Example: "control main.cpl,,2" which will open the same mouse properties but this time the tab opened will be 2nd satring first tab as 0.



6. Example: "control main.cpl keyboard" . This option will open keyboard properties.








registry hacks

Swap Ctrl + Alt + Del functioning

What happen when you press Ctrl + Alt + Del? Yeah, Task manager pop ups have you ever think what’s the reaction of your friend when he presses Ctrl + Alt + Del and Calculator pop ups or nay other application. Here is the way to open any application by using Ctrl + Alt + Del
1. Open Regedit. (type Regedit in RUN dialog box)
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Image File Execution Options\taskmgr.exe
3. On the right pane double click or create a string named Debugger and set its value to C:\\WINDOWS\\system32\\calc.exe
Now, whenever you press Ctrl + Alt + Del calculator program will pop up.


Define keys

If you have a multimedia keyboard then you can change the functionality of your application keys like play, pause, mute etc key to something of your choice
In my keyboard (Logitech clavier media) I have a app key which opens calculator which I am going to change. You can use this trick to change any key you want; here I am changing the functionality of key 18 which opens calculator on pressing so that it would open task manger.
Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18
Here create or modify the string named ShellExecute and set its value to the actual path of the program which you want to open. In my case I have set the path to C:\WINDOWS\system32\taskmgr.exe

Swap Mouse Buttons

Navigate to
HKCU\Control Panel\Mouse
On the right pane change the value of String named SwapMouseButtons to 1.

Or

Scared from regedit, no problem open RUN (WIN+R) and type
RUNDLL32 USER32.DLL SwapMouseButton and press enter.



download all registry tricks from here

Swap Ctrl + Alt + Del functioning

What happen when you press Ctrl + Alt + Del? Yeah, Task manager pop ups have you ever think what’s the reaction of your friend when he presses Ctrl + Alt + Del and Calculator pop ups or nay other application. Here is the way to open any application by using Ctrl + Alt + Del
1. Open Regedit. (type Regedit in RUN dialog box)
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Image File Execution Options\taskmgr.exe
3. On the right pane double click or create a string named Debugger and set its value to C:\\WINDOWS\\system32\\calc.exe
Now, whenever you press Ctrl + Alt + Del calculator program will pop up.


Define keys

If you have a multimedia keyboard then you can change the functionality of your application keys like play, pause, mute etc key to something of your choice
In my keyboard (Logitech clavier media) I have a app key which opens calculator which I am going to change. You can use this trick to change any key you want; here I am changing the functionality of key 18 which opens calculator on pressing so that it would open task manger.
Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\18
Here create or modify the string named ShellExecute and set its value to the actual path of the program which you want to open. In my case I have set the path to C:\WINDOWS\system32\taskmgr.exe

Remove Empty Recycle Bin option

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Empty Recycle Bin]
@="{645FF040-5081-101B-9F08-00AA002F954E}"

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}]
@="Empty Recycle Bin"