Thursday, August 6, 2009

Right Click Modification

Add Items In Send To

====================



Open Folder

-----------



C:\Users\Mahavir\AppData\Roaming\Microsoft\Windows\SendTo

Now Paste Your Application Or Folder Shortcut In The Above Folder.



Now Click On Any File

Select Send To Option



Enjoy.....


Now open Noteped and save file with Copyto.reg
==============================================
Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]



[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB630-2971-11D1-A18C-00C04FD75D13}]



Now open Noteped and save file with Moveto.reg
==============================================
Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]



[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C2FBB631-2971-11D1-A18C-00C04FD75D13}]






Now open Noteped and save file with InstallTakeOwenerShip.reg
=============================================================
Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\*\shell\runas]

@="Take Ownership"

"NoWorkingDirectory"=""



[HKEY_CLASSES_ROOT\*\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"



[HKEY_CLASSES_ROOT\Directory\shell\runas]

@="Take Ownership"

"NoWorkingDirectory"=""



[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"




Now open Noteped and save file with RemoveTakeOwenerShip.reg
============================================================
Windows Registry Editor Version 5.00





[-HKEY_CLASSES_ROOT\*\shell\runas]



[-HKEY_CLASSES_ROOT\Directory\shell\runas]



Run As Administrator
====================
ave you ever tried to unzip a file to the Program Files directory in Vista? You'll get all sorts of permission denied errors, and generally be unsuccessful. So how do we open up the zipfile as an administrator? For that matter, how do you open any file as administrator?
There's a simple registry tweak that will let us specify the action to run as administrator for a file type. Unfortunately you'll have to make the tweak manually, but we'll walk you through it.
Note: The method explained here is courtesy of jd2066, one of the helpful geeks over on our forum.
Manual Registry Tweak
Open regedit through the start menu search or run box and then browse down to the following key, substituting ".zip" for the file extension that you are looking for. (Note that the find dialog helps here)
HKEY_CLASSES_ROOT\.zip



Now you want to take note of the Data value for the "(Default)" item. This tells you which application is registered to handle this file type, and also where we need to go in the registry next.
For this example, since the data field in this example says "WinRAR.ZIP" we'll need to browse down to the following registry key. (again, the find dialog helps here)
HKEY_CLASSES_ROOT\WinRAR.ZIP\shell\open\command
What we want to do is copy the shell\open\command section to shell\runas\command. The easiest way to do that is right-click on "command" and then choose Export.




Now open up the exported registry file in Notepad and change "open" to "runas" where indicated below:



Double-click on the file to enter the information into the registry. Now you'll see that the "runas" section is identical to the "open" section:


And now you can right-click on a file and open it as administrator:



This example used WinRAR, but this should work for almost any filetype or application. You'll just have to change where you look in the registry.


Add Items in right click
========================
Windows 7 shows 2 extra options in Desktop context menu ( i.e. when you right-click on Desktop). The 2 extra options are:
Display Settings
Gadgets
“Display Settings” shows the graphics card settings page where you can change the monitor and resolution settings.
“Gadgets” opens the Add gadgets window so that you can add new gadgets to your sidebar.
Both options are quite useful and if you want to add them in Windows Vista, then you can follow this simple and easy tutorial.
After following this tutorial, you’ll get following desktop context menu in Vista:

So here are the steps:
To Add “Display Settings” Option:
1. Type regedit in RUN or Startmenu Search box and press Enter. It’ll open Registry Editor.
2. Now go to following key:
HKEY_CLASSES_ROOT\Directory\Background\shell
3. Now we’ll need to create a new key under “Shell” key. Right-click on “Shell” key and select “New -> Key“. Give the new key name of “Display Settings” (without quotes).
4. Now we’ll need to create another new key. Right-click on the new key which we created in the last step e.g. Display Settings and select “New -> Key“. Give the new key name of command.
5. Now select “command” key and in right-side pane, you’ll see “Default” String value. Double-click on it and set its value to as following:
control desk.cpl,,@display

6. That’s it.
To Add “Gadgets” Option:
1. Type regedit in RUN or Startmenu Search box and press Enter. It’ll open Registry Editor.
2. Now go to following key:
HKEY_CLASSES_ROOT\Directory\Background\shell
3. Now we’ll need to create a new key under “Shell” key. Right-click on “Shell” key and select “New -> Key“. Give the new key name of “Gadgets” (without quotes).
4. Now we’ll need to create another new key. Right-click on the new key which we created in the last step e.g. Gadgets and select “New -> Key“. Give the new key name of command.
5. Now select “command” key and in right-side pane, you’ll see “Default” String value. Double-click on it and set its value to as following:
C:\program files\windows sidebar\sidebar.exe /showgadgets
NOTE: If your Windows is installed in any other drive, then change C: to that drive letter.
6. That’s it.



Here is a tutorial to add any application shortcut in desktop context menu of Windows Vista and 7:

1.Open regedit and goto:
HKEY_CLASSES_ROOT\Directory\Background\shell
now under this key create another key with any name and in right-side pane set its value to the label, which you want to show in desktop context menu, like Media Player, Winamp, Firefox, anything else.
2. Now create another key under this newly created key with name command. and in right-side pane set its value to the exact path of application, like:
C:\Program Files\Windows Media Player\wmplayer.exe
C:\Program Files\Winamp\winamp.exe
etc…
3. Thats it. Now you can check your favorite application shortcut in desktop context menu.
4. You can create as many shortcut as you want. Simply create a separate key for all the applications.
5. Following is a ready-made code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP]
@=”Windows Media Player”
[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP\command]
@=”C:\\Program Files\\Windows Media Player\\wmplayer.exe”
Just change the label and path to ur desired application and save with the name “vishal.reg” (including the quotes) and run it.
U can also set the application shortcut to show only when u press key by adding “Extended” String value in right-side pane of the newly created key:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP]
@=”Windows Media Player”
“Extended”=”"
[HKEY_CLASSES_ROOT\Directory\Background\shell\WMP\command]
@=”C:\\Program Files\\Windows Media Player\\wmplayer.exe”



Enable or Disable Right-Click Context Menus in Windows Explorer
===============================================================
Have you ever had the context menus in Windows Explorer just completely disappear? There's a simple registry hack that can turn the context menus off, which means you could also reverse that hack to re-enable the context menus.


is hack probably isn't very useful for most people, but we like to explain all the hidden features, including the boring ones.
Manual Registry Hack
Open up regedit.exe through the start menu search or run box, and then browse down to the following key (create the key if it does not exist)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer



No comments:

Post a Comment