I want to modify the registry of window OS using c. kindly guide me or give me some hints so that I can make it possible.
read http://msdn.microsoft.com/en-us/library/ms724871(VS.85).aspx
You need to use Win32 APIs such as RegOpenKeyEx for doing this.