Feb 10, 2009

A Little note for registry of window (1)

What is Registry?
Registry is a database used to store settings and options for the 32-bit versions of Microsoft Windows including Window 98,Me,2000.
=>Contains information and settings for all hardware ,software ,user and preference of PC. =>Control panel ,System policies မွာ change တာတုိ႔၊ software install လုပ္တာတုိ႔ လုပ္ရင္ ဒီမွာလာၿပီး stored လုပ္တယ္။
=>Physical file အေနနဲ႔ Window အေပၚမူတည္ၿပီး ကဲြျပားပါတယ္။ Window 95 နဲ႔ 98 မွာ hidden file အေနနဲ႔ user.dat နဲ႔ system.dat ဆုိၿပီးရွိပါတယ္ ။ Window Me မွာဆုိရင္ classes.dat ဆုိတဲ့ file ပါ ထပ္ပါလာေသးတယ္။ Window NT/2000 မွာဆုိရင္ %SystemRoot%\System32\Config ထဲမွာရွိပါတယ္။ သူ႕ကုိတုိက္ရုိက္ edit လုပ္လုိ႔ မရဘဲ Registry Editor ကေနပဲ eidt လုပ္ရပါတယ္။
The Structure Of Registry
Registry key မ်ားကုိ file /folder ေတြနဲ႔ျပပါတယ္။ အားလံုးကုိ Root structure နဲ႔ ျပပါတယ္။
6 Main Branches (HIVE)
  • HKEY_CLASSES_ROOT file association mappings to support the drag-and-drop feature, OLE information ,Window shortcuts and core aspects of the Windows user interface.
  • HKEY_CURRENT_USER HKEY_USERS ရဲ႕ အပုိင္းခဲြ တစ္ခုျဖစ္ပါတယ္။ သူ႕အထဲမွာ log on information ေတြပါရွိပါတယ္။ Name ,Desktop setting ,Start menu settings စတာေတြပါ။
  • HKEY_LOCAL_MACHINE information about type of hardware , software and other preference ဒါေတြဟာ log on လုပ္တဲ့ user အားလံုးအတြက္ပါ ။
  • HKEY_USERS User အားလံုးအတြက္ individual preference ေတြပါပါတယ္။
  • HEKY_CURRENT_CONFIG LOCAL_MACHINE ရဲ႔ branch link တစ္ခုျဖစ္ပါတယ္ ။ အခုလက္ရွိ computer configuration နဲ႔ သက္ဆုိင္တဲ့ ဟာေတြပါ၀င္ပါတယ္။
  • HKEY_DYN_DATA HKEY_LOCAL_MACHINE ရဲ႔ branch link တစ္ခုျဖစ္ျပီး Plug & play feature ေတြနဲ႔ devices ေတြျဖဳတ္တပ္ တာေတြကုိ stored လုပ္ေပးပါတယ္။

No comments:

Post a Comment