Home Page

Showing posts with label Registries. Show all posts
Showing posts with label Registries. Show all posts

Sunday, March 9, 2014

Missing Tray Icons Registry Fix For Windows 7 & 8

Follow The below Steps Carefully :

Ø Click Start, type regedit in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for confirmation, type the password, or click Allow .

Ø Locate and then click the following registry subkey:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify

Ø In the Details pane, click the IconStreams registry entry.
Ø On the Edit menu, click Delete , and then click Yes .
Ø In the Details pane, click the PastIconsStream registry entry.
Ø On the Edit menu, click Delete , and then click Yes .
Ø Exit Registry Editor.
Ø Restart the Explorer.exe process.

To do these, follow these steps:

Ø Press CTRL+SHIFT+ESC.
Ø On the Processes tab in Task Manager, click the explorer.exe process, and then click End Process two times.
Ø On the File menu, click New Tasks (Run) , type explorer , and then click OK .
Ø Exit Task Manager.

Warning : Make sure not to modify any of the system registries with out proper knowledge. This may lead to serious issues including crashing of windows which may leave you with no other options other formatting the Operating System and hence resulting in data loss.


Thank You..

Sunday, August 21, 2011

Create System Folders/Icons Any Where In System.

Windows system folders are identified by global unique strings referred as CLSIDs (Class Identifiers) and technically Namespace Extensions. Using this you can create Icons like My Computer, Recycle Bin, and many other icons in any drive of the system.
                       
Here is the list of few CLSIDs.

My Computer
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Control Panel
{21EC2020-3AEA-1069-A2DD-08002b30309d}

Recycle Bin
{645FF040-5081-101B-9F08-00AA002F954E}
Network Places
{208d2c60-3aea-1069-a2d7-08002b30309d}
Fonts
{D20EA4E1-3957-11d2-A40B-0C5020524152}

You can find such CLSIDs in Registry. Type regedit in run and go to HKEY_CLASSES_ROOT\CLSID and find few more. In same manner, there is CLSID for system folder “All Tasks” which lists all tasks, available in Control Panel as per your edition of Windows and its CLISD is {ED7BA470-8E54-465E-825C-99712043E01C}

Steps for creating the System folders :

Ø Create a folder where you need the particular system folder ie; My Computer, Recycle Bin, Control Panel Network Places, Fonts Etc.

Ø Rename the folder with specific CLSIDs.

Ø When Renaming make sure you give a name before the CLSID. Ie; For My Computer it should be My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}

Note : Can use any name of your choice, Make sure you insert a dot “.” after the name with out which the folder/icon cannot be created.  When renaming, make sure there is no space before the name ie; My Computer or any other names and after the” }” bracket.

Warning : Make sure not to modify any of the system registries with out proper knowledge. This may lead to serious issues including crashing of windows which may leave you with no other options other formatting the Operating System and hence resulting in data loss. Prevention is always better than cure.

If you know the CLSID of any particular system folder, you can access and launch it easily. Basically there are three methods to access them.


Thank You..





Thursday, July 28, 2011

An Overview Of System Registry


What is the Registry?

The Registry is a database used to store settings and options for the 32Bit versions of Microsoft Windows including Windows 95, 98, ME, NT/2000, Windows XP, Vista and 7 (32 and 64Bit versions). It contains information and settings for all the hardware, software, users, and preferences of the PC. Whenever a user makes changes to a Control Panel settings, or File Associations, System Policies, or installed software, the changes are reflected and stored in the Registry.
The physical files that make up the registry are stored differently depending on your version of Windows; under Windows 95 & 98 it is contained in two hidden files in your Windows directory, called USER.DAT and SYSTEM.DAT. For Windows ME there is an additional CLASSES.DAT file. Windows NT/2000, XP, Vista and 7 the files are contained separately in the %SystemRoot%\System32\Config directory. You cannot edit these files directly, you must use a tool commonly known as a "Registry Editor" to make any changes.

The Structure of The Registry :

The Registry has a hierarchal structure, although it looks complicated the structure is similar to the directory structure on your hard disk, with Regedit being similar to Windows Explorer.

Each main branch (denoted by a folder icon in the Registry Editor, see left) is called a Hive, and Hives contains Keys. Each key can contain other keys (sometimes referred to as sub-keys), as well as Values. The values contain the actual information stored in the Registry. There are three types of values; String, Binary, and DWORD - the use of these depends upon the context.

There are six main branches, each containing a specific portion of the information stored in the Registry. They are as follows:

·        HKEY_CLASSES_ROOT - This branch contains all of your file association mappings to support the drag-and-drop feature, OLE information, Windows shortcuts, and core aspects of the Windows user interface.

·        HKEY_CURRENT_USER - This branch links to the section of HKEY_USERS appropriate for the user currently logged onto the PC and contains information such as logon names, desktop settings, and Start menu settings.

·        HKEY_LOCAL_MACHINE - This branch contains computer specific information about the type of hardware, software, and other preferences on a given PC, this information is used for all users who log onto this computer.

·        HKEY_USERS - This branch contains individual preferences for each user of the computer, each user is represented by a SID sub-key located under the main branch.

·        HKEY_CURRENT_CONFIG - This branch links to the section of HKEY_LOCAL_MACHINE appropriate for the current hardware configuration.

·        HKEY_DYN_DATA - This branch points to the part of HKEY_LOCAL_MACHINE, for use with the Plug-&-Play features of Windows, this section is dymanic and will change as devices are added and removed from the system.


Each registry value is stored as one of five main data types :


·       REG_BINARY - This type stores the value as raw binary data. Most hardware component information is stored as binary data, and can be displayed in an editor in hexadecimal format.

·     REG_DWORD - This type represents the data by a four byte number and is commonly used for Boolean values, such as "0" is disabled and "1" is enabled. Additionally many parameters for device driver and services are this type, and can be displayed in REGEDT32 in binary, hexadecimal and decimal format, or in REGEDIT in hexadecimal and decimal format.

·    REG_EXPAND_SZ - This type is an expandable data string that is string containing a variable to be replaced when called by an application. For example, for the following value, the string "%SystemRoot%" will replaced by the actual location of the directory containing the Windows NT system files. (This type is only available using an advanced registry editor such as REGEDT32)

·      REG_MULTI_SZ - This type is a multiple string used to represent values that contain lists or multiple values, each entry is separated by a NULL character. (This type is only available using an advanced registry editor such as REGEDT32)

·        REG_SZ - This type is a standard string, used to represent human readable text values.

Other data types not available through the standard registry editors include :


·        REG_DWORD_LITTLE_ENDIAN - A 32-bit number in little-endian format.

·        REG_DWORD_BIG_ENDIAN - A 32-bit number in big-endian format.

·        REG_LINK - A Unicode symbolic link. Used internally; applications should not use this
type.

·        REG_NONE - No defined value type.

·        REG_QWORD - A 64-bit number.

·        REG_QWORD_LITTLE_ENDIAN - A 64-bit number in little-endian format.

·        REG_RESOURCE_LIST - A device-driver resource list.

Editing The Registry :

The Registry Editor (REGEDIT.EXE) is included with most version of Windows (although you won't find it on the Start Menu) it enables you to view, search and edit the data within the Registry. There are several methods for starting the Registry Editor, the simplest is to click on the Start button, then select Run, and in the Open box type "regedit", and if the Registry Editor is installed it should now open and look like the image below.

An alternative Registry Editor (REGEDT32.EXE) is available for use with Windows NT/2000, it includes some additional features not found in the standard version, including; the ability to view and modify security permissions, and being able to create and modify the extended string values REG_EXPAND_SZ & REG_MULTI_SZ.

Create a Shortcut to Regedit :

This can be done by simply right-clicking on a blank area of your desktop, selecting New, then Shortcut, then in the Command line box enter "regedit.exe" and click Next, enter a friendly name (e.g. 'Registry Editor') then click Finish and now you can double click on the new icon to launch the Registry Editor.

Using Regedit to modify your Registry :

Once you have started the Regedit you will notice that on the left side there is a tree with folders, and on the right the contents (values) of the currently selected folder.

Like Windows explorer, to expand a certain branch (see the structure of the registry section), click on the plus sign [+] to the left of any folder, or just double-click on the folder. To display the contents of a key (folder), just click the desired key, and look at the values listed on the right side. You can add a new key or value by selecting New from the Edit menu, or by right-clicking your mouse. And you can rename any value and almost any key with the same method used to rename files; right-click on an object and click rename, or click on it twice (slowly), or just press F2 on the keyboard. Lastly, you can delete a key or value by clicking on it, and pressing Delete on the keyboard, or by right-clicking on it, and choosing Delete.

Note: it is always a good idea to back up your registry before making any changes to it. It can be intimidating to a new user, and there is always the possibility of changing or deleting a critical setting causing you to have to reinstall the whole operating system. It's much better to be safe than sorry!

Importing and Exporting Registry Settings :

A great feature of the Registry Editor is it's ability to import and export registry settings to a text file, this text file, identified by the .REG extension, can then be saved or shared with other people to easily modify local registry settings. You can see the layout of these text files by simply exporting a key to a file and opening it in Notepad, to do this using the Registry Editor select a key, then from the "Registry" menu choose "Export Registry File...", choose a filename and save. If you open this file in notepad you will see a file similar to the example below:

Quote:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
"SetupType"=dword:00000000
"CmdLine"="setup -newsetup"
"SystemPrefix"=hex:c5,0b,00,00,00,40,36,02


The layout is quite simple, REGEDIT4 indicated the file type and version, [HKEY_LOCAL_MACHINE\SYSTEM\Setup] indicated the key the values are from, "SetupType"=dword:00000000 are the values themselves the portion after the "=" will vary depending on the type of value they are; DWORD, String or Binary.

So by simply editing this file to make the changes you want, it can then be easily distributed and all that need to be done is to double-click, or choose "Import" from the Registry menu, for the settings to be added to the system Registry.

Deleting keys or values using a REG file :

It is also possible to delete keys and values using REG files. To delete a key start by using the same format as the the REG file above, but place a "-" symbol in front of the key name you want to delete. For example to delete the [HKEY_LOCAL_MACHINE\SYSTEM\Setup] key the reg file would look like this:

Quote:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SYSTEM\Setup]


The format used to delete individual values is similar, but instead of a minus sign in front of the whole key, place it after the equal sign of the value. For example, to delete the value "SetupType" the file would look like:

Quote:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
"SetupType"=-


Use this feature with care, as deleting the wrong key or value could cause major problems within the registry, so remember to always make a backup first.

Regedit Command Line Options :

Regedit has a number of command line options to help automate it's use in either batch files or from the command prompt. Listed below are some of the options, please note the some of the functions are operating system specific.


·        regedit.exe [options] [filename] [regpath]
·        [filename] Import .reg file into the registry
·        /s [filename] Silent import, i.e. hide confirmation box when importing files
·        /e [filename] [regpath] Export the registry to [filename] starting at [regpath]
e.g. regedit /e file.reg HKEY_USERS\.DEFAULT
·        /L:system Specify the location of the system.dat to use
·        /R:user Specify the location of the user.dat to use
·        /C [filename] Compress
·        /D [regpath] Delete the specified key

Maintaining the Registry :

Manual steps to restore the registry in Windows XP :

Note : Use System Restore to undo registry changes in in Windows XP.  This will help out in most cases to recover from serious system errors caused by registry edits


  •   Click Start, click Run, type %SystemRoot%\System32\Restore\Rstrui.exe, and then click OK
  • On the Welcome to System Restore page, click Restore my computer to an earlier (time  if it is not already selected), and then click Next .
  • On the Select a Restore Point page, click the system checkpoint. In the On this list select the restore point area, click an entry that is named "Guided Help (Registry Backup)," and then click Next. If a System Restore message appears that lists configuration changes that System Restore will make, click OK.
  •  On the Confirm Restore Point Selection page, click Next. System Restore restores the previous Windows XP configuration and then restarts the computer.
  •  Log on to the computer. When the System Restore confirmation page appears, click OK..


Thank You..­­­­

Wednesday, July 27, 2011

Increasing Folder Settings In MS Windows











Windows remembers 400 folder settings. When that number is reached some settings aren't retained any longer. You can change this to 8000 by adding this edit to the registry.

Follow the steps given below :

« Copy the following (everything in the bold) into notepad as such.

QUOTE
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000

« Save the file as folder8000.reg

« Double click the file to import into your registry.

Note : Modification of other files in Registry may cause serious Sytem Unstabilities.

Thank You

Backing Up And Restoring Of System Registries


Before you edit the registry, export the keys in the registry that you plan to edit, or back up the whole registry. If a problem occurs, you can then follow the steps how-to restore the registry to its previous state.
 
 How to Export Registry Keys

Ø Click Start, and then click Run.

Ø In the Open box, type regedit, and then click OK.

Ø On the File menu, click Export.

Ø In the Save in box, select the boxs at the bottom the bottom according to weather you want to export all or only selected branches of the registry.

Ø Next select a location in which to save the backup .reg file. In the File name box, type a file name, and then click Save.


How to Restore the Registry

To restore registry keys that you exported, double-click the .reg file that you saved.

Thank You..