Professional Documents
Culture Documents
Registory Tricks For Windows
Registory Tricks For Windows
WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS UPDATED TILL MARCH 2008 REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS By:Shobhit Katoch REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS REGISTORY TRICKS FOR WINDOWS
TABLE OF CONTENTS
1. Tutorial on Registry..03 2. Registry tricks........06
Lock Out Unwanted Users..06 Multiple Columns For the Start Menu06 Changing Windows Icons...06 Disable the Outlook Express Splash Screen...07 Creating a Logon Banner08 Automatic Screen Refresh..08 Disable Password Caching.08 Adding Items to the Start Button08 Disabling My Computer...09 Recycle Bin Edits.09 Setting the Minimum Password Length10 Removing the Shortcut Icon Arrows ..10 Protection on system files...10 Increase BROADBAND ...11 Customize Windows Media Player Title Bar11 Specify Default IE Download Directory.11 Increase Menu Display Speed...12 Create a Hidden User Account..12 Multiple login to yahoo.12 Force windows XP to reboot upon crashing 13 Customize Logon prompt with your Own Words.13 Adding Administrative Tools Icon To The Desktop.13 Modify Color Selection of Default Theme.13 Maximize Windows or Internet Explorer on opening..13 Disabling Display of Drives in My Computer..............14 Take Over the Screen Saver..14 Pop a banner each time Windows Boots.14 Secure your Desktop Icons and Settings.15 Making the Internet Explorer & the Explorer Toolbars Fancy...15 Change Internet Explorer's Caption..15
3. Notes...16
TUTORIAL ON REGISTRY
1) REGISTRY:- The registry is a hierarchical database that contains virtually all
information about your computer's configuration. Under previous version of Windows, those setting where contained in files like config.sys, autoexec.bat, win.ini, system.ini, control.ini and so on. From this you can understand how important the registry is. The structure of the registry is similar to the ini files structure, but it goes beyond the concept of ini files because it offers a hierarchical structure, similar to the folders and files on hard disk. In fact the procedure to get to the elements of the registry is similar to the way to get to folders and files. In this section I would be examine the Win95\98 registry only although NT is quite similar.
Folder/predefined key
HKEY_CURRENT_USER
Description
Contains the root of the configuration information for the user who is currently logged on. The user's folders, screen colors, and Control Panel settings are stored here. This information is referred to as a user's profile. This important key contains the sub key .Default and another key for each user that has access to the computer. If there is just one user, only .Default key exists. . Each sub key maintains the preferences of each user, like the desktop colors, the fonts used, and also the settings of many programs. HKEY_CURRENT_USER is a subkey of HKEY_USERS.
HKEY_USERS
HKEY_LOCAL_MACHINE
This key contains any hardware, applications and services information. Several hardware information is updated automatically while the computer is booting. The data stored in this key is shared with any user. Is a subkey of HKEY_LOCAL_MACHINE\Software. The information stored here ensures that the correct program opens when you open a file by using Windows Explorer. It also contains OLE, drag'n'drop, shortcut and file association information. Contains information about the hardware profile used by the local computer at system startup.
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_USERS also has a sub keys: AppEvent:- It contains the path of audio files that Windows plays when
some events happen. Control Panel:- Here are the settings defined in the Control Panel. They used to be stored in win.ini and control.ini. Keyboard Layouts:- It contains a voice that identify the actual keyboard disposition how it is set into the Control Panel. Network:- This key stores subkeys that describe current and recent network shortcuts. RemoteAccess:- The settings of Remote Access are stored here. Software:- It contains all software settings. This data was stored in win.ini and private .ini files.
3) The following table lists the data types currently defined and used by the
system:
Data type
REG_BINARY
Description
Raw binary data. Most hardware component information is stored as binary data and is displayed in Registry Editor in hexadecimal format. Data represented by a number that is 4 bytes long. Many parameters for device drivers and services are this type and are displayed in Registry Editor in binary, hexadecimal, or decimal format. A variable-length data string. This data type includes variables that are resolved when a program or service uses the data. A multiple string. Values that contain lists or multiple values in a form that people can read are usually this type. Entries are separated by spaces, commas, or other marks. A fixed-length text string. A series of nested arrays designed to store a resource list for a hardware component or driver.
REG_DWORD
REG_EXPAND_SZ
REG_MULTI_SZ
REG_SZ REG_FULL_RESOURCE_DESCRIPTOR
REGISTRY TRICKS
1. Lock Out Unwanted Users
Want to keep people from accessing Windows, even as the default user? If you do not have a domain does not attempt this. Open Registry Editor. Go to: HKEY_LOCAL_MACHINE\Network\Logon. Create a dword value "MustBeValidated". Set the value to 1.
Create a string value "StartMenuScrollPrograms". Right click the new string value and select modify. Set the value to FALSE.
7= Removable Drive 8= Hard Drive 9= NetWork Drive 10= Network Drive Offline 11= CD-ROM Drive 12= RAM Drive 13= Entire Network 14= Network Hub 15= My Computer 16= Printer 17= Network Neighborhood 18= Network Workgroup 19= Start Menu's Program Folders 20= Start Menu's Documents 21= Start Menu's Setting 22= Start Menu's Find 23= Start Menu's Help 24= Start Menu's Run 25= Start Menu's Suspend 26= Start Menu's PC Undock 27= Start Menu's Shutdown 28= Shared 29= Shortcut Arrow 30= (Unknown Overlay) 31= Recycle Bin Empty 32= Recycle Bin Full 33= Dial-up Network 34= DeskTop 35= Control Panel 36= Start Menu's Programs 37= Printer Folder 38= Fonts Folder 39= Taskbar Icon 40= Audio CD You need to reboot after making changes. You may need to delete the hidden file ShellIconCache if after rebooting the desired Icons are not displayed.
For Windows 2000 XP 2003 Vista HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Winlogon
Create a new String value "LegalNoticeCaption " Enter the Title of the window. What is displayed in the Title Bar. Create a new string value "LegalNoticeText" Enter the text for your message box that will appear even before the Logon window.
Right-click on the key you just created and create another key under it called command. For the value of this command, enter the full path and program you want to execute. Now when you right click on the Start Button, your new program will be there. For example, if you want Word to be added, you would add that as the first key, the default in the right panel would be &Word so when you right click on the Start Button, the W would be the Hot Key on your keyboard. The value of the key would be C:\Program Files\Office\Winword\Winword.exe.
9. Disabling My Computer
In areas where you are trying to restrict what users can do on the computer, it might be beneficial to disable the ability to click on My Computer and have access to the drives, control panel etc. To disable this: Open Registry Editor. Search for 20D04FE0-3AEA-1069-A2D8-08002B30309D. This should bring you to the HKEY_CLASSES_ROOT\CLSID section. Delete the entire section.
Now when you click on My Computer, nothing will happen. You might want to export this section to a Registry file before deleting it just in case you want to enable it again. Or you can rename it to 20D0HideMyComputer4FE0-3AEA-1069-A2D8-08002B30309D. You can also hide all the Desktop Icons, see Change/Add restrictions.
"Attributes"=hex:50,01,00,20
"Attributes"=hex:60,01,00,20
"Attributes"=hex:70,01,00,20
Restore the recycle bin to Windows defaults including un-deleting the icon after deletion:
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows \CurrentVersion\ explorer\ Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}
@="Recycle Bin"
"Attributes"=hex:40,01,00,20
"Attributes"=hex:40,01,01,20 ... standard shortcut arrow "Attributes"=hex:40,01,02,20 ... a different shortcut arrow "Attributes"=hex:40,01,04,20 ... and still another shortcut arrow "Attributes"=hex:40,01,08,20 ... make it look disabled (like it's been cut) For Windows XP and 2000 also edit
HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}
Now, choose the Edit/New/Binary value command and call the new value MinPwdLen. Press Enter twice and Assign it a value equal to your minimum password length. Add\delete programs to run every time Windows starts. You can start or stop programs from executing at boot up by adding or deleting them to/from the run Keys in the Registry. Windows loads programs to start in the following order; Program listed in the Local Machine hive, then the Current User hive, then theWin.ini Run= and Load = lines. Then finally programs in your Start Up folder.
Open Registry Editor. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\ Control\ SessionManager. Create the a Dword value and name it "ProtectionMode ". Set the Value to1.
Effect is immediate on some systems, some need to re-boot. This is more of a "counter what XP does" thing. In other words, programs can request up to 20% of the bandwidth be reserved for them, even with QoS disabled.
Modify/Create DWORD Value of Data type REG_DWORD Named [Type Name of Account to be Hidden] Setting for Value Data: [0 = Account is Hidden / 1 = Enabled] Exit Registry / Reboot While the account is hidden on the Welcome screen, note that the account profile will be visible in C:\Documents and Settings or wherever user profiles are stored as well as in Local Users and Groups.
Now close registry and restart yahoo messenger and try Multiple Login.
In right pane, look for key by the name "LogonPrompt". Set its value to whatever text you want to see displayed at login screen. And also see on the right side pane as DefaultPassword:It shows the password of the administrator.
Create the following key: {D20EA4E1-3957-11d2-A40B-0C5020524153} (just copy/paste, including the brackets). Close Registry Editor. There is no need to reboot. Just wait a few seconds and see how the icon appears.
and locate the key "ColorName". Right Click on it and select modify its value from "NormalColor" to "Metallic". Click Ok, and exit registry editor and restart your computer.
In the right window of the Registry Editor program, double click on FullScreen registry. Change the Value data to 1 in the Edit DWORD Value window. Click OK.
Now in the right pane create a new DWORD item and name it NoDrives. Now modify it's value and set it to 3FFFFFF (Hexadecimal). Exit registry editor and press F5 to refresh. When you click on My Computer, no drives will be shown. To enable display of drives in My Computer, simply delete this DWORD item.
Now add a new string value and name it Mouse Corners. Edit this new value to -Y-N. Press F5 to refresh the registry. Now you can activate your screensaver by simply placing the mouse cursor at the top right corner of the screen and if you take the mouse to the bottom left corner of the screen, the screensaver will deactivate.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.
In the right pane create a new DWORD Value named NoSaveSettings and modify it's value to 1. Refresh and restart for the settings to get saved.
29. Making the Internet Explorer & the Explorer Toolbars Fancy
The Internet Explorer toolbar looks pretty simple. Want to make it fancy and kewl? Why not add a background image to it. Open Registry Editor. Go to:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\ Internet Explorer\Toolbar.
Now in the right pane create a new String Value and name it BackBitmap and modify it's value to the path of the Bitmap you want to dress it up with by right clicking on it and choosing Modify. When you reboot the Internet Explorer and the Windows Explorer toolbars will have a new look.
In the right pane create a new String Value names Window Title (Note the space between Window and Title). Right click on this newly created String Value and select Modify. Type in the new caption you want to be displayed. Restart for settings to take place.
Well that's it for now, more tricks later, till then goodbye. Shobhit Katoch For any queries you may contact shobhitrocks@gmail.com.
NOTES