Friday, April 18, 2008

Create and Publish your own registry hacks

Want to deal with registry files. It's easy, Creating and Publishing your own registry files/hacks is as simple as abc. Here comes a little but sufficient guides. Create hacks from syntax given below and save the file with extension .reg, don't forget to put disclaimer or other safe points while publishing.

The syntax of the .reg file

Registry Editor Version
                          // a blank line
[RegistryPath1]
"DataItemName1"="DataType1:DataValue1"
"DataItemName2"="DataType2:DataValue2"
                          // a blank line
[RegistryPath2]
"DataItemName3"="DataType3:DataValue3"

Example:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"DragWidth"="4"
"FontSmoothing"="2"
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000001
 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"DesktopProcess"=dword:00000001

Remember that registry is backward compatible. Windows XP has Windows Registry Editor Version 5 while previous versions had Regedit 4. But regedit 4 work on XP besides Windows 98 and NT systems. Whereas Regedit 5 works only on XP/2000 not on 98/NT.

This hack related to desktop and Windows Explorer are taken from previous posts in this blog.

0 responses:

Post a Comment

Thanking you for your comment(s). Hope you will visit this blog again!

Subscribe to geeklog feed Bookmark and Share

Design by Free blogger template