Back Up You registry Programmatically
-
hi. I wonder if there is any way to backup my registry using straight C++ 6 code or vb6 code. (I am using win 2000). Ths.
-
hi. I wonder if there is any way to backup my registry using straight C++ 6 code or vb6 code. (I am using win 2000). Ths.
Check out the Win32 registry API (RegEnumKeys, etc.) It's ugly, but will get you going. Note that if you are on Windows NT, 2000, or XP, you will have to be administrator to be able to read some of the keys. Sometimes I feel like I'm a USB printer in a parallel universe.
-
Check out the Win32 registry API (RegEnumKeys, etc.) It's ugly, but will get you going. Note that if you are on Windows NT, 2000, or XP, you will have to be administrator to be able to read some of the keys. Sometimes I feel like I'm a USB printer in a parallel universe.
Backing Up My registry using these Api functions is :eek: X| X| . I need something really simple.
-
Backing Up My registry using these Api functions is :eek: X| X| . I need something really simple.
To back up the whole registry, use the Windows NT Backup tool (Ntbackup.exe) and use the option to back up the registry. Or, run the rdisk /s command. check msdn for details...
It's not a bug, it's an undocumented feature.
suhredayan@omniquad.commessenger :suhredayan@hotmail.com
-
hi. I wonder if there is any way to backup my registry using straight C++ 6 code or vb6 code. (I am using win 2000). Ths.
See RegSaveKey() in MSDN. :) Respectfully, Igor.
-
See RegSaveKey() in MSDN. :) Respectfully, Igor.
Ths. This is very useful. Anton.
-
See RegSaveKey() in MSDN. :) Respectfully, Igor.
Actually after i red about it, it is much less useful. SaveKey/Restore Key save the Key Contents, but not the key itself neither its security and other attributes. :((. Only Absolute Power and Absolutely No power matters. The rest is slavery.