Monday, 1 October 2012

Opensource Softwares


Category: Opensource Softwares


Windows Freewares

Miro 3.5
An amazing open-source, non-profit video player.
Pidgin
Connect to multiple IM accounts simultaneously in a single app, including: AOL IM, MSN, and Jabber.
Miro Video Converter
Convert any type of video to mp4 or theora. Convert any video for use with iPhone, iPod, Android, etc. Very clean, easy to use interface.
RSSOwl
Solid cross-platform RSS client.
Gnucleus
A very good Gnutella search and download file-sharing program.
Cabos
A simple, easy to use file-sharing program. Gnutella network.
OpenOffice.org
Big, full featured suite of tools for word processing and spreadsheets. Compatible with and a free replacement for Microsoft Word documents. Also supports OpenDocument Format.
AbiWord
A word processor. Leaner and quicker than OpenOffice. Compatible with Microsoft Word documents and OpenDocument Format.
Juice
Solid podcasting client.
Handbrake
DVD to MPEG-4 ripper/converter.
GIMP
Photo editing application that rivals Photoshop in features.
Paint.NET
Graphics editor with a very nice interface.
Inkscape
Vector graphics application.
PeaZip
Fantastic archiving utility to extract and pack archives of an extensive amount of formats. PeaZip also features password protecting archives, keyfile support, system integration, a lovely interface, and much more.
Filezilla
Excellent FTP program. Download Filezilla Client (or) Filezilla Server

Category: Windows Errors and Problems


How to Fix BOOTMGR is Missing Error in Vista & 7


Step 01: Boot System using Windows Vista/7 Repair disk
Step 02: Select the Option Repair your computer & Select the System Recovery Option
Step 03: Select an Operating System to repair and click next
Step 04: a) Choose the Recovery Tool as Startup repair to fix problems automatically. b) To fix manually Choose Command Prompt
Step 05: To fix manually type the following command: bootrec /fixboot & exit
To create System Repair disk.
Navigate to: Control Panel\System and Security\Backup and Restore on the right-panel, Click Create a system repair disc. Insert a blank CD\DVD disk to create.

How to Fix a Missing or Corrupted Hal.dll File

HAL is Microsoft’s abbreviation for the Hardware Abstraction Layer, the technology and drivers that let the Windows NT, 2000, and XP operating systems communicate with your PC’s hardware. HAL is one of several features along with the Network file system (NTFS) that replaced the much less secure MS-DOS that make NT-based operating systems more secure and reliable than Windows 95, 98, and Me.
HAL prevents applications from directly accessing your PC’s system memory, CPU, or hardware devices (such as video and sound cards) a method that can prevent many device conflicts and crashes. Unfortunately, HAL sometimes also slows or stops DOS games and programs, which need to load their own memory managers or control hardware dire
ctly for better performance. Step 01: Insert Windows Service Pack Disk inside the CD/DVD-ROM drive.
Step 02: This procedure varies depending on the model of your computer. Check BIOS by tapping F1, F2, F12 or Del & Change First boot device to CD/DVD-ROM drive.
Step 03: Press any key to Continue for Windows Setup
Step 04: To repair a Windows installation using Recovery Console Press R, in my case Windows Xp
Step 05: Select the Corrupted windows partition of your machine, in my case it’s 1: C:\WINDOWS so, type 1 & Hit enter, than type Administrator account password.
Step 06: a) Change the Current Working directory as SYSTEM32, b) To know the CD/DVD-ROM drive letter, use map Command
Step 07: In Windows Service Pack disk the hal.dll file is located at i386 folder, In the name of hal.dl_. So you need to expand the hal.dl_ file into system32 directory in your machine. Type the following command shown in the figure and exit. After the command successfully completed exit from recovery console. Don’t forget to change your boot device priority.

How to get to regedit and gpedit.msc when there is no run or command window

How to get to regedit and gpedit.msc when there is no run or command window



  • 1
     
    Share
When you cannot get to your run dialog box or your command window it can cause problems for you. Even to bring your run box back you might need to use regedit or gpedit.msc. See how to restore the run command box.
The run window is used to type in commands like cmd for a dos command window, regedit, to edit the registry, and gpedit.msc, to edit the group policy. This is where you can change practically any setting for your computer. Therefore it is important that you know how to get to regedit and gpedit.msc.
The first and most obvious way to get to either regedit.exe or gpedit.msc is to navigate there manually. Yes this means you have to actually find the file yourself.
Go to My computer and double click on C: (or where windows is installed)
  1. Open the Windows Folder
  2. You may have to click to view the files because they are protected.
  3. Then find the system32 folder. (not system folder, must be system32)
  4. In that folder, amongst all the other files, you will find both regedit.exe and gpedit.msc icons.
  5. Double click on the icon to start registry editor or group policy.
The next way to get to regedit and gpedit.msc when there is no run or command window is a simple shortcut
  1. Open Task manager by pressing CTRL + ALT + DEL keys on the keyboard.
  2. Click on New task while holding the CTRL key down.
  3. This will open a dos command window
  4. Now you can type regedit and press enter. The registry editor will appear.
  5. Type gpedit.msc for the group policy window to open.
Notes:
  • You only have to type regedit because it is an exe file and Windows recognizes this. However the gpedit.msc is not an exe so you must type the whole thing in to get it to start.

Policy settings for the Start menu in Windows XP


Policy settings for the Start menu in Windows XP

Article ID: 292504 - View products that this article applies to.
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows 7 Solution Center
This article was previously published under Q292504

SUMMARY

This article provides descriptions of the registry entries for policies that you can apply to the Start menu in Microsoft Windows XP.

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


You can use the Group Policy editor (Gpedit.msc) under the following location to configure Start menu features:
User Configuration \ Administrative Templates \ Start Menu and Taskbar
Note: Except when noted, all of these registry settings are under the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
The registry entries are DWORD values. A value of 1 is enabled, and a value of 0 is disabled.
Policy:Disable the new simple Start Menu
Description:Disables the new simple Start menu and forces the classic 
Start menu.
Registry Value:"NoSimpleStartMenu"

Policy:Remove pinned programs list from the Start menu
Description:Removes the pinned programs list from the Start menu. Also 
removes the Internet and E-mail checkboxes from the Start menu 
customization CPL.
Registry Value:"NoStartMenuPinnedList"  

Policy:Remove frequent programs list from the Start Menu
Description:Removes the frequently-used programs list from the Start 
menu.
Registry Value:"NoStartMenuMFUprogramsList"

Policy:Remove More Programs list from the Start menu
Description:Removes the More Programs list from the Start menu.
Registry Value:"NoStartMenuMorePrograms" 

Policy:Remove common program groups from Start Menu
Description:Removes items in the All Users profile from the More 
Programs list on the Start menu.
Registry Value:"NoCommonGroups" 

Policy:Gray unavailable Windows Installer programs Start Menu shortcuts
Description:Displays partially installed programs in gray text on the 
Start menu.
Registry Value:"GreyMSIAds" 

Policy:Disable and remove links to Windows Update
Description:Removes the Windows Update link from the More Programs list 
in Start menu, from the Tools menu in IE, and blocks user access to 
update.microsoft.com.
Registry Value:"NoWindowsUpdate" 

Policy:Remove user folders from the Start Menu
Description:Removes all user-specific folders except My Documents (My 
Pictures, My Music, Favorites, and Recent Documents) from the Start menu. 
Also removes the corresponding checkboxes from the Start menu 
customization CPL.
Registry Value:This is a combination of the following: 
"NoStartMenuMyMusic", "NoSMMyPictures","NoFavoritesMenu",
"NoRecentDocsMenu" 

Policy:Prohibit user from changing user folder paths
Description:Prevents users from changing the path to the My Pictures, 
My Music, Favorites, and Recent Documents folders.
Registry Value:"DisableMyPicturesDirChange", "DisableMyMusicDirChange", 
"DisableFavoritesDirChange".

Policy:Remove My Documents folder from the Start Menu
Description:Removes My Documents folder from the Start menu and 
corresponding checkbox from the Start menu customization CPL.
Registry Value:"NoSMMyDocs"

Policy:Prohibit user from changing My Documents path
Description:Prevents users from changing the path to the My Documents 
folder.
Registry Value:"DisablePersonalDirChange" 

Policy:Remove Recent Documents item from Start Menu
Description:Removes the Recent Documents folder from the Start menu. Also 
removes the corresponding checkbox from the Start menu customization CPL.
Registry Value:"NoRecentDocsMenu"  

Policy:Maximum number of recent documents
Description:Specifies the number of shortcuts displayed on the Recent 
Documents submenu.
This policy exist under the following location in Group Policy: 

User Configuration \ Administrative Templates \ Windows Components
Registry Value:"MaxRecentDocs"  

Policy:Clear history of recent documents on exit
Description:Deletes all shortcuts shown in the Recent Documents menu when 
the user logs off.
Registry Value:"ClearRecentDocsOnExit" 

Policy:Remove Favorites item from Start Menu
Description:Prevents users from adding the Favorites item to the Start 
menu. Also removes the corresponding checkbox from the Start menu 
customization CPL.
Registry Value:"NoFavoritesMenu" 

Policy:Remove My Computer from the Start Menu
Description:Removes the My Computer item from the Start Menu and the 
corresponding checkbox from the Start menu customization CPL.
Registry Value:"{20D04FE0-3AEA-1069-A2D8-08002B30309D}" under 
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum. 

Policy:Remove Network Connections from the Start Menu
Description:Removes the Network Connections item from the Start menu 
and the corresponding checkbox from the Start menu customization CPL.
Registry Value:"NoNetworkConnections" 

Policy:Remove Network Places from the Start Menu
Description:Removes the Network Places item from the Start menu and the 
corresponding checkbox from the Start menu customization CPL.
Registry Value:"NoStartMenuNetworkPlaces" 

Policy:Do not add shares of recently used documents to Network Places
Description:Remote shared folders are not added to Network Places whenever
you open a document in the shared folder.
Registry Value:"NoRecentDocsNetHood" 

Policy:Remove Help item from Start Menu
Description:Removes the Help item from the Start menu, but does not 
disable Help files from running.
Registry Value:"NoSMHelp" 

Policy:Remove Search item from Start Menu
Description:Removes the Search item from the Start menu and disables some 
Windows Explorer search elements.
Registry Value:"NoFind" 

Policy:Remove Run item from Start Menu
Description:Removes the ability to execute programs from the Run option 
on the Start menu, Task Manager, or by pressing Winkey + R. Also removes 
the corresponding checkbox from the Start menu customization CPL.
Registry Value:"NoRun" 

Policy:Add "Run in Separate Memory Space" check box to Run dialog box
Description:Allows 16-bit programs to run in a dedicated Virtual DOS 
Machine (VDM) process.
Registry Value:"MemCheckBoxInRunDlg" 

Policy:Do not use the search-based method when resolving shell shortcuts
Description:Prevents the system from conducting a comprehensive search of 
the target drive to resolve a shortcut.
Registry Value:"NoResolveSearch" 

Policy:Do not use the tracking-based method when resolving shell shortcuts
Description:Prevents the system from using NTFS features to resolve a 
shortcut.
Registry Value:"NoResolveTrack" 

Policy:Force Logoff to the Start Menu
Description:Forces the Logoff button to the Start menu and prevents users 
from removing the Logoff option from the Start menu.
Registry Value:"ForceStartMenuLogoff" 

Policy:Disable Logoff on the Start Menu
Description:Removes the "Logoff" button from the Start menu and prevents 
users from adding the Logoff button to the Start menu.
Registry Value:"StartMenuLogoff" 

Policy:Disable and remove the Turn Off Computer button
Description:Removes the "Turn Off Computer" button from the Start Menu and
prevents shutting down Windows using the standard shutdown user interface.
Registry Value:"NoClose" 

Policy:Disable and remove the Undock PC command
Description:Removes the "Undock PC" button from the Start Menu and 
prevents undocking of the PC (laptop).
Registry Value:"NoStartMenuEjectPC" 

Policy:Disable drag-and-drop menus on the Start Menu
Description:Prevents users from modifying the Start menu by dragging and 
dropping items. Other methods of customizing the Start menu are still 
enabled.
Registry Value:"NoChangeStartMenu" 

Policy:Disable changes to Taskbar and Start Menu settings
Description:Removes the Taskbar & Start Menu item from the Control 
Panel, and removes the Properties item from the Start menu (and button) 
context menu.
Registry Value:"NoSetTaskbar" 

Policy:Disable user tracking
Description:Prevents the system from remembering the programs run, paths 
followed, and documents used.
Registry Value:"NoInstrumentation" 

Policy:Remove user name from Start Menu
Description:Removes the user name from the Start menu.
Registry Value:"NoUserNameInStartMenu"
    

Learn How to Use the Windows Registry Editor (Regedit) in One Easy Lesson

Learn How to Use the Windows Registry Editor (Regedit) in One Easy Lesson

A previous article discussed some basic facts about the Registry. In this tutorial, I’ll explain how the Registry Editor works and show how to tweak  the Registry. Applies to Windows XP / Vista / 7.

Introduction

Many people like to configure Windows their own way and Windows is a system with numerous possible tweaks. Most of these tweaks are actually edits of the Registry. There are several ways to apply Registry changes but the true tweaker often likes to go to the source and tune up the Registry directly with the Windows Registry editor Regedit.
Regedit is one of those Windows programs that Microsoft doesn't say much about. It isn’t listed in the All Programs menu and the Help function doesn’t say how to use it. In fact, in Windows XP it warns, “Although you can use Registry Editor to inspect and modify the registry, doing so is not recommended, as making incorrect changes can damage your system.” Pretty offputting but the caution is overdone. In Windows Vista/7, Microsoft relaxed a bit and included a few more details in Help but still not enough to let anyone understand how to use Regedit. If you are bold enough to go to Regedit itself, you will find it has its own Help menu with some instructions but they are rather sparse.
This tutorial will flesh out what Microsoft has omitted and give you all the information you need to begin editing the Registry.
But first, I must make the rules of Registry editing clear.

Rules for editing the Registry safely

I have edited the Registry hundreds of times over the years and have developed the steps below for safe editing. I have messed things up once or twice but I have always been able to get back to the original system state without trouble because I followed the rules. Here are my five rules for safer Registry editing:
  1. The ironclad rule of Registry editing is that you must first back up the Registry. For many, making a System Restore point is the most convenient backup method. I also use the export facility of Regedit to make a copy of the Registry key that I am working on. Keep in mind that Regedit has no Undo function.
  2. Know how to restore a Registry backup. It can be as simple as running System Restore or merging a backup REG file.
  3. Make only one Registry edit at a time. Wait to see if everything works the way you want before making any more changes to the Registry. Don't forget that many Registry edits require that you log off or reboot before they take effect.
  4. Only use Registry edits recommended by known reliable sources. Many of the common recommendations on the Internet are useless or nearly so. And some are even harmful.
  5. Remember Rule #1.
With the precautions out of the way, we can get down to learning about Regedit.

How to open Regedit

A quick way to access Regedit that applies to Windows XP, Vista, and 7 is the following:
  1. Open the Run box with the keyboard combination Windows key + r
  2. In the Run line, enter “regedit” (without quotes)
  3. Click “OK”
  4. Say “Yes” to User Account Control (Windows Vista/7)

The structure of the Registry as presented in Regedit

Using Regedit requires some knowledge of the basic structure of the Registry. I would go further and say I think it is worthwhile to take a look at the structure of the Registry even if you never intend to change a single comma in it. Total ignorance about what is actually in the Registry allows the imagination to assign mysterious and fearsome properties to something that is actually just a database. You may not remember any details but having once seen what is actually in the Registry, you will be psychologically better prepared to do the type of Registry operations that everybody should know- backing up and restoring.

Types of Information in the Registry

The information that the computer system needs to have is divided into two main categories. One is general information about the computer itself. These are settings that apply system wide and include the hardware on the system. This is named the Local Machine. The other general category consists of settings that are specific to each user account and is labeled Users. The particular user who is logged on is called the Current User.

The Hierarchical Tree Structure

Information in the Registry is presented in a tree-like system akin to folders and files. In the Registry, the containers for information are called "keys". These are analogous to folders. Keys can have subkeys just as folders can have subfolders. The name of data that is contained in a key is called a "value". This is something analogous to a file name. The actual data can have several formats and may be a string, a number, or a series of numbers.
Just as the computer file and folder system has a root (usually a hard drive) the Registry has root keys at the top of the hierarchy of keys and values. I have mentioned the two general categories of information and these constitute two root keys. Unfortunately, we now have to deal with some Microsoft jargon. Table I shows the names that Microsoft uses. The names of root keys have "HKEY" tacked on the front. and these keys are often called "hives". Although five root keys are used, three of them are really just subkeys or combinations of subkeys of the two main keys, HKLM and HKU. The additional root keys make programming easier.The abbreviations that are given are often used in writing scripts and INF files.
Table I. Root keys or Hives
Keys Abbreviation Description
HKEY_CLASSES_ROOT HKCR Stores file association and COM object registration
HKEY_CURRENT_USER HKCU Stores data associated with the account currently logged on
HKEY_LOCAL_MACHINE HKLM Stores system-related information
HKEY_USERS HKU Stores information about all the accounts on the machine
HKEY_CURRENT_CONFIG HKCC Stores information about the current machine profile

Using Regedit

Regedit is a two-pane interface with keys in the left pane (key pane) and value names with the corresponding data in the right pane (value pane). The setup is not unlike Windows Explorer with keys analogous to folders and values analogous to files. An example is shown in the figure below. This is from Windows XP but Vista/7 is very similar.
Figure 1. Registry Editor (Regedit)
Registry Editor
The bottom of the window for Regedit shows the path of the currently highlighted key as can be seen in the figure above. This is an example of  typical Registry address although the leading "My Computer" is normally omitted.
Also listed in the right or value pane is the type of data contained in a value. There are a number of formats that data can take and the usual ones that most PC users will encounter are given in Table II. I have omitted the more esoteric types. The three listed in the table constitute the vast majority of all Registry entries. Other data types are described at this Microsoft link.
Table II. Common Registry data types
Data type Description
REG_BINARY Binary data . Usually in hexadecimal notation. An example is 0xA8
REG_DWORD Double word (32 bits). Can be edited in either hexadecimal or decimal
REG_SZ A string. Figure 1 shows examples in the right pane.

Menus in Registry Editor

Regedit has some of the same menus that are so familiar throughout Windows. The menu bar can be seen near the top of Figure 1. Shown below are two commonly used menus.
Figure 2. File menu Figure 3. Edit menu
Registry File Menu Registry Edit Menu
The File menu has the functions "Import" and "Export" that can be used to backup and restore individual Registry keys with REG files. The next section will have more detail about this important function.
As you would expect, the "Edit" menu is where commands are located for making changes to the Registry. Keys and values can be deleted, added, or renamed. (Permission settings on keys can also be edited but that is an advanced subject beyond our scope.) Another two very useful functions are "Find..." and "Find Next". The Registry has thousands of keys and these search functions are very necessary. Unfortunately, the search function cannot find binary values or REG_DWORD entries. It searches key names, value names, and string data.
The Edit menu also contains a useful entry "Copy Key Name" that sends the path of the key to the clipboard, Since path names can be quite long, this can be very useful.
Favorites menu in RegeditAnother menu that can be quite useful is "Favorites". If you find that there are is a certain key that you modify often, this key can be added to the "Favorites' list for easy access. The example of a "Favorites" menu shown on the right contains three favorites. Note the names have been chosen by this user and can be anything that is a convenient reminder. They actually refer to specific Registry keys, which can have very long path names.

Backing up and restoring Registry keys with REG files

Here is how to back up a key (remember, a key is something like a folder):
  1. Open Regedit and highlight the key
  2. Open the "file" menu and click "Export". An alternative method is to right-click the key and choose "Export"
  3. A standard dialog box for saving files will open. For most cases, you will choose to save as a registration or REG file. This is a text file with extension .reg that is a copy of the highlighted Registry key
  4. Save it someplace safe
Note that whole keys and not single values are involved. To restore a Registry key, you can use the "Import" function. However, it is easier to merge REG files into a Registry by right-clicking the file and choosing "Merge". On many machines the default left double-click on a REG file will also create a merge. I prefer to change the double-click action to "Edit" so that accidental mergers do not happen. Notice that I use the word "merge". REG files do not replace keys but add to them, something to keep in mind. Anything extra that you may have added is not deleted. Some experienced PC users prefer to do any actual editing in the exported REG file and then to merge the edited file. This prevents accidentally doing something to the wrong key.
Keep in mind that Regedit has no "undo" function. What's done is done.

Editing the Registry

There are many useful adjustments to the Windows configuration or behavior that can be made by simple editing of the Registry. Unless you are a trained IT professional, you should probably limit Registry editing to one or two values at a time. I will limit this discussion to this type of straightforward scenario.
Dialog box for Edit StringFor the most part, direct Registry editing means changing a value. Highlight the value in question in the right-pane of Regedit. Then choose "Modify" from the "Edit" menu or right-click the value and choose "Modify" from the context menu. For strings, a box like the one shown in the nearby picture will open. As a specific example, consider the last value in the right-pane of Figure 1. The time that the system waits for a service to close at Shutdown is controlled by the entry for the value, WaitToKillServiceTimeout. The value is in milliseconds and the default is 20000 (20 seconds). To make things close up more quickly, you could change the value to 10000 (10 seconds). Or you might need to make it longer for certain systems. Enter the desired string in the line "Value data" and click OK.
Dialog box for DWORDA great many Registry values are strings but another type of data that is common is the "DWORD". A slightly different box will appear if you are editing a REG_DWORD value. The figure on the left shows the appropriate box. Note that when entering a DWORD value, you need to specify the base for the number. Be careful to be sure that you have chosen correctly between hexadecimal and decimal. You can enter either but the number that you enter must correspond to the correct value for the chosen base. In the example here the decimal number "96" would have to be "60" if hexadecimal were picked for the base.
And so we come to the end of the unveiling of the mysteries of the Registry. Go forth and edit well but carefully—Vic Laurie

gpedit.msc all setting

GPO Policies

Group Policy is a feature of the Microsoft Windows NT family of operating systems. Group Policy is a set of rules which control the working environment of user accounts and computer accounts. Group Policy provides the centralized management and configuration of operating systems, applications and users’ settings in an Active Directory environment. In other words, Group Policy in part controls what users can and cannot do on a computer system. Although Group Policy is more often seen in use for enterprise environments, it is also common in schools, smaller businesses and other kinds of smaller organizations. Group Policy is often used to restrict certain actions that may pose potential security risks, for example: to block access to the Task Manager, restrict access to certain folders, disable the downloading of executable files and so on.
Prevent users to access Control.exe (Control Panel)
Gpedit.msc\user configuration\administrative templates\control panel\Probihit access to the Control Panel: Enable(State)
Remove all control panel items from the control panel window and the start menu.
Gpedit.msc\user configuration\administrative templates\control panel\Show only specified Control Panel items: Enable(State)\List of allowed Control Panel items(Options)
How to hide specified applets from the control panel
Gpedit.msc\user configuration\administrative templates\control panel\Hide specified Control Panel items: Enable(State)
Remove the add/remove windows components button from the add or remove programs bar
Gpedit.msc\user configuration\administrative templates\control panel\add or remove programs\Hide Add/Remove Windows Components page: Enable(state)
How to Disable Screen saver in Windows 7
Gpedit.msc\user configuration\administrative templates\control panel\personalization\Enable Screen saver: Disable(state)
Prevent users from adding or changing the background design of the desktop
Gpedit.msc\user configuration\administrative templates\control panel\personalization\Prevent changing desktop background: Enable(state)
How to set a password protected screen saver
Gpedit.msc\user configuration\administrative templates\control panel\personalization\Password protect the screen saver: Enable(State)
Prevent users from accessing Installed updates page from the view installed update page status
Gpedit.msc\user configuration\administrative templates\control panel\programs\Hide “Installed Updates” page: Enable(State)
Prevent users from accessing programs and features to view, install, change or repair programs that are currently installed on the computer
Gpedit.msc\user configuration\administrative templates\control panel\programs\Hide “Programs and Features” page: Enable(State)
Prevent users from accessing the turn windows features on or off task from the programs control panel in category view, programs and features in Classic view and Get Programs
Gpedit.msc\user configuration\administrative templates\control panel\programs\Hide “Windows Features”: Enable(State)
Remove set program access and default page from  the programs control panel
Gpedit.msc\user configuration\administrative templates\control panel\programs\Hide “Set Program Access and Computer Defaults” Page: Enable(State)
Remove administrative option from the regional and language options control panel
Gpedit.msc\user configuration\administrative templates\control panel\regional and language options\Hide Regional and Language Options administrative options: Enable(State)
Removes icons, shortcuts, and other default and user-defined items from the desktop, including Briefcase, Recycle Bin, Computer, and Network Locations.
Gpedit.msc\user configuration\administrative templates\desktop\Hide and disable all items on the desktop: Enable(State)
Prevents users from using the Desktop Cleanup Wizard
Gpedit.msc\user configuration\administrative templates\desktop\Remove the Desktop Cleanup Wizard: Enable(State)
Properties option will not be present when the user right-clicks My Computer or clicks Computer and then goes to the File menu.  Likewise, Alt-Enter does nothing when Computer is selected
Gpedit.msc\user configuration\administrative templates\desktop\Remove Properties from the Computer icon context menu: Enable(State)
Properties option will not be present when the user right-clicks on Recycle Bin or opens Recycle Bin and then clicks File. Likewise, Alt-Enter does nothing when Recycle Bin is selected
Gpedit.msc\user configuration\administrative templates\desktop\Remove Properties from the Recycle Bin context menu: Enable(State)
Prevent users from enabling or disabling active desktop or changing the active desktop configuration
Gpedit.msc\user configuration\administrative templates\desktop\desktop\Prohibit changes: Enable(State)
Prevents users from adding Web content to their Active Desktop
Gpedit.msc\user configuration\administrative templates\desktop\desktop\Prohibit adding items: enable(State)
Permits only bitmap images for wallpaper. This setting limits the desktop background (“wallpaper”) to bitmap (.bmp) files. If users select files with other image formats, such as JPEG, GIF, PNG, or HTML, through the Browse button on the Desktop tab, the wallpaper does not load. Files that are autoconverted to a .bmp format, such as JPEG, GIF, and PNG, can be set as Wallpaper by right-clicking the image and selecting “Set as Wallpaper”.
Gpedit.msc\user configuration\administrative templates\desktop\desktop\allow only bitmapped wallpaper: Enable(State)
Advanced button on the Internet Protocol (TCP/IP) Properties dialog box is disabled for all users (including administrators). As a result, users cannot open the Advanced TCP/IP Settings Properties page and modify IP settings, such as DNS and WINS server information.
Gpedit.msc\user configuration\administrative templates\network\network connections\Prohibit TCP/IP advanced configuration: Enable(State)
Disabling Local Area Connection properties dialog box
Gpedit.msc\user configuration\administrative templates\network\network connections\Prohibit access to properties of a LAN connection: Enable(State)
Make New Connection icon does not appear in the Start Menu on in the Network Connections folder
Gpedit.msc\user configuration\administrative templates\network\network connections\Prohibit access to the New Connection Wizard
Synchronizing all offline files before logging off
Gpedit.msc\user configuration\administrative templates\network\offline files\Synchronize all offline files before logging off: Enable(State)
How to Synchronize all offline files when logging on
Gpedit.msc\user configuration\administrative templates\network\offline files\Synchronize all offline files when logging on: Enable(State)
How to clear history of recent opened documents on user logs off
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Clear history of recently opened documents on exit: Enable(State)
Removing balloon tips on start menu items
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove Balloon Tips on Start Menu items: Enable(State)
Prevents users from performing the following commands from the Start menu or Windows Security screen: Shut Down, Restart, Sleep, and Hibernate. This policy setting does not prevent users from running Windows-based programs that perform these functions.
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands: Enable(State)
How to remove all programs list from the start menu
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove All Programs list from the Start menu: Enable(State)
Preventing operating system and installed programs from creating and displaying shortcuts to recently opened documents
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Do not keep history of recently opened documents: Enable(State)
Prevent the clock in the system notification area from being displayed
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove Clock from the system notification area: Enable(State)
Remove the user name label from the Start Menu in Windows XP and Windows Server 2003
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove user name from Start Menu: Enable(State)
Preventing users from connecting to the Windows Update Web site
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove links and access to Windows Update: Enable(State)
How to Remove Logoff button from the Start Menu
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Remove Logoff on the Start Menu: Enable(State)
Prevents user from making any changes to the taskbar settings through the Taskbar Properties dialog
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Lock all taskbar settings: Enable(State)
How to Prevent users from resizing the taskbar
Gpedit.msc\user configuration\administrative templates\start menu and taskbar\Prevent users from resizing the taskbar: Enable(State)

Windows Registry Tutorial



Windows Registry Tutorial


Overview
The Registry is a database used to store settings and options for the 32 bit versions of Microsoft Windows including Windows 95, 98, ME and NT/2000. 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, while under Windows NT/2000 the files are contained seperately in the %SystemRoot%\System32\Config directory. You can not edit these files directly, you must use a tool commonly known as a "Registry Editor" to make any changes (using registry editors will be discussed later in the article).
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.
Registry Structure 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.
Picture of regedit.exe
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 backup 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:
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:

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:
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 (Windows 98)
/D [regpath]
Delete the specified key (Windows 98)
Maintaining the Registry
On Windows NT you can use either the "Last Known Good" option or RDISK to restore to registry to a stable working configuration.
How can I clean out old data from the Registry?
Although it's possible to manually go through the Registry and delete unwanted entries, Microsoft provides a tool to automate the process, the program is called RegClean. RegClean analyzes Windows Registry keys stored in a common location in the Windows Registry. It finds keys that contain erroneous values, it removes them from the Windows Registry after having recording those entries in the Undo.Reg file.