JAIMIN WORLD

Journey to Knowledge

Archive for the ‘Registry Hacks’ Category

Improve performance by registry editing

Registry Tips

Posted by jaiminworld on September 10, 2008

Registry Hack : This is the format and commands to change the registry by batch file.


Command :
REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]

  1.  
      [\\Machine\]FullKey
      Machine Name of remote machine – omitting defaults to the current machine Only HKLM and HKU are available on remote machines
      FullKey ROOTKEY\SubKey
      ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
      SubKey The full name of a registry key under the selected ROOTKEY
      The value name, under the selected Key, to add
      adds an empty value name for the key
      RegKey data types
      [ REG_SZ | REG_MULTI_SZ | REG_DWORD_BIG_ENDIAN | REG_DWORD | REG_BINARY | REG_DWORD_LITTLE_ENDIAN | REG_NONE | REG_EXPAND_SZ ]
      If omitted, REG_SZ is assumed
      Specify one charactor that you use as the separator in your data string for REG_MULTI_SZ. If omitted, use “” as the separator
      The data to assign to the registry ValueName being added
      Force overwriting the existing registry entry without prompt
      Adds a key HKLM\Software\MyCo on remote machine ABC
      Adds a value (name: Data, type: REG_BINARY, data: fe340ead)
      Adds a value (name: MRU, type: REG_MUTLI_SZ, data: faxmail)
      Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)
      Notice: Use the double percentage ( %% ) inside the expand string
  2. KeyName /v /ve /t /s /d /f Examples:

    REG ADD \\ABC\HKLM\Software\MyCo REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d faxmail REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%%

>> See in the Registry catagories to implement registry code in batch files.

>> Copy and Paste above Code in Notepad and Rename file to .bat and after run the file ….

Posted in Registry Hacks | Tagged: | Leave a Comment »

Remove shared documents

Posted by jaiminworld on September 10, 2008

Remove shared documents : To remove shared documents registry editing is required.


1. Direct in Regedit :

  1.  
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders
      KEY : {59031a47-3f72-44a7-89c5-5595fe6b30ee}
  2. Open :
    Delete :


    OR


2. By Batch file :

    Write following Code in BATCH file ,save it and Run it.>> To Delete Shared documents :

    REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\ {59031a47-3f72-44a7-89c5-5595fe6b30ee}

    >> To Recover Shared documents :

    REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\ {59031a47-3f72-44a7-89c5-5595fe6b30ee}

    Without space in last line (Parameter line : HKEY_LO…)

Posted in Registry Hacks | Tagged: , , | Leave a Comment »

Improve on shutdown time

Posted by jaiminworld on September 10, 2008

Improve on shutdown time : How to improve on shutdown time ? It works by Closing apps automatically & quickly at shutdown time.


1. Direct in Regedit :

  1.  
      HKEY_CURRENT_USER\CONTROL PANEL\DESKTOP
      key : “AutoEndTasks”
      Default value is 0. Change it to 1.
  2. Open :
    Look for :
    Set value :
    Take Care: HungAppTimeout is greater than WaitToKillAppTimeout. Change the values of WaitToKillAppTimeout to say 3500 (since default value for HungAppTimeout 5000 and for WaitToKillAppTimeout is 20000)

Posted in Registry Hacks | Tagged: , , , | Leave a Comment »

Customizing right click menu

Posted by jaiminworld on September 10, 2008

Customizing Right click menu (Context menu) : Ever wondered how does the right click menu (which is actually a context menu) work ? For example, when I right click in windows explorer, I see an option which says “open command window here”. Do You know why I see this ? Well I see this because I have following entries in my registry.


1. For files :

Open:

    HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers

Edit as follows:

    Right click the ContextMenuHandlers key and choose New>Key. Name the new key “Copy To” (without the quotes).
    Repeat the above and create another new key named Move To.

You should now have two new subkeys under the ContextMenuHandlers key:

    HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers\Copy To
    HKEY_CLASSES_ROOT->*->shellex->ContextMenuHandlers\Move To

>> Select the Copy To key and in the right hand pane, double click “Default” Enter this clsid value as the value data:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}

>> Next , select the Move To key and in the right hand pane set the default value to:
{C2FBB631-2971-11d1-A18C-00C04FD75D13}.


OR


2. For folders :

Open:

    HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHan dlers

Edit as follows:

    Right click the ContextMenuHandlers key and choose New>Key. Name the new key “Copy To” (without the quotes).
    Repeat the above and create another new key named Move To.

>> Select the Copy To key and in the right hand pane, double click “Default” Enter this clsid value as the value data:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}

>> Next , select the Move To key and in the right hand pane set the default value to:
{C2FBB631-2971-11d1-A18C-00C04FD75D13}.

Posted in Registry Hacks | Tagged: , , , | Leave a Comment »

Avoid autoplay of CD

Posted by jaiminworld on September 10, 2008

Avoid autoplay of CD : Hey this time no registry trick even though there are ways in registry to do it. In earlier operating systems only those CD that had autorun.inf file in their root directory were able to execute on its own but with advent of WINDOWS XP it has become possible with just about anything. Well sometimes it is good but there are other times when you want to avoid this part of automation.


1. Simple Trick :

    Simply press SHIFT key when you enter a CD in your CD drive. It won’t Auto play.

 


OR


 

2. Direct in Regedit :

  1.  
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Explorer
      key : “NoDriveTypeAutoRun”
      185 (decimal)
  2. Open :
    Look for :
    Set value :

Posted in Registry Hacks | Tagged: , , , | Leave a Comment »

Speed up the Start Menu

Posted by jaiminworld on September 10, 2008

Speed up the Start Menu : This tip to speed up the Start Menu in Windows XP. Did you know you can customize the speed of the Start Menu by editing a Registry Key.


1. Direct in Regedit :

  1.  
      HKEY_CURRENT_USER\Control Panel\Desktop
      key : “MenuShowDelay” (On right panel)
      In the Value Data box, change to default value for the menu speed from 400 to a lesser number, such as 1.
  2. Open :
    Look for :
    Set value :
    Caution: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you may want to back up any valued data on your computer.

Posted in Registry Hacks | Tagged: , , , | Leave a Comment »

Increase Dial up Download speed

Posted by jaiminworld on September 7, 2008

Increase Dial up Download speed :

Dial up Download speed is low and some time it can be unused for advanced user so to improve Dial up Download speed following registry editing is helpfull.


1. Direct in Regedit :

    Open:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Tcpip\Parameters

    Edit as follows:

      “SackOpts”=dword:00000001
      “TcpWindowSize”=dword:0005ae4c
      “Tcp1323Opts”=dword:00000003
      “DefaultTTL”=dword:00000040
      “EnablePMTUBHDetect”=dword:00000000
      “EnablePMTUDiscovery”=dword:00000001
      “GlobalMaxTcpWindowSize”=dword:0005ae4c


    OR

2. By .Reg file :


    Open notepad & paste

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
    “SackOpts”=dword:00000001

    “TcpWindowSize”=dword:0005ae4c
    “Tcp1323Opts”=dword:00000003
    “DefaultTTL”=dword:00000040
    “EnablePMTUBHDetect”=dword:00000000
    “EnablePMTUDiscovery”=dword:00000001
    “GlobalMaxTcpWindowSize”=dword:0005ae4c

    >> Now save this file as speed.reg (in Windows). Execute it and observe the change!

Posted in Registry Hacks | Tagged: , , , | Leave a Comment »

Remove Recycle Bin from Desktop

Posted by jaiminworld on September 7, 2008

Remove Recycle Bin from Desktop : There is no option to remove recycle bin from desktop. To remove Recycle Bin from Desktop registry editing is required.
1. Direct in Regedit :

Open :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Explorer\Desktop\NameSpace\
Delete :
KEY : {645FF040-5081-101B-9F08-00AA002F954E}

OR

2. By Batch file :

Write following Code in BATCH file ,save it and Run it.

>> To Delete Recycle Bin :

REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}

>> To Recover Recycle Bin :

REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}

Without space in last line (Parameter line : HKEY_LO…)

Posted in Registry Hacks | Tagged: , | Leave a Comment »

Change Folder Options

Posted by jaiminworld on September 7, 2008

Enable or Disable Folder-Option : Folder-Option is disabled by some virus .To Enable the Folder-Option two trick are given below.
1. Direct in Regedit :

Open :
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Create :
DWORD and give the name NoFolderOptions

Set value :
0 to Enable folder option
1 to Disable folder option
OR

2. By Batch file :

Write following Code in BATCH file ,save it and Run it.

>> To Enable folder option :

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoFolderOptions /t REG_DWORD /d 0 /f

>> To Disable folder option :

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoFolderOptions /t REG_DWORD /d 1 /f

Posted in Registry Hacks | Tagged: , , | Leave a Comment »

About Registry

Posted by jaiminworld on September 7, 2008

What is Registry ?

>> In the Microsoft Windows operating systems beginning with Windows 95, the registry is a single place for keeping such information as what hardware is attached, what system options have been selected, how computer memory is set up, and what application programs are to be present when the operating system is started. The registry is somewhat similar to and a replacement for the simpler INI (initialization) and configuration files used in earlier Windows (DOS-based) systems. INI files are still supported, however, for compatibility with the 16-bit applications written for earlier systems.

In general, the user updates the registry indirectly using Control Panel tools, such as TweakUI. When you install or uninstall application programs, they also update the registry. In a network environment, registry information can be kept on a server so that system policies for individuals and workgroups can be managed centrally.

    The Registry consists of the following major sections:

    # HKEY_Classes_Root – file associations and OLE information
    # HKEY_Current_User – all preferences set for current user
    # HKEY_User – all the current user information for each user of the system
    # HKEY_Local_Machine – settings for hardware, operating system, and installed applications
    # HKEY_Current_Configuration – settings for the display and printers
    # HKEY_Dyn_Data – performance data

To open the Registry Editor :
Type in Start>Run : regedit

Posted in Registry Hacks | Tagged: | Leave a Comment »