Forum Home
Press F1
 
Thread ID: 42203 2004-02-04 00:30:00 adding Registry Blue_face (1148) Press F1
Post ID Timestamp Content User
212679 2004-02-04 00:30:00 Hi..

I want to add a new string value to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\CabinetState\

I want to name the new string called "Search"

In the value data of "search", I want to set it to "NO".

is there a way which i can make a registry file that will auto set all the above just by double click on the mouse? if yes, how? i never done this before and interested to learn :D
Blue_face (1148)
212680 2004-02-04 02:20:00 You would need something like this:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\CabinetState]
"Search"="NO"

Just copy and paste into notepad then Save As search.reg (or whatever you want to call it as long as it has .reg on the end)

I don't think there is anyway you can use this method to delete a registry key though :(
CYaBro (73)
212681 2004-02-04 02:21:00 Use notepad and save it as a name.reg
For your example,

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\CabinetState]
"Search"="no"

Two things.......
1/ To find out about the structure, regedit and highlight the entry, then file-save. Then look at it using notepad.

2/If you fiddle, be prepared to RELOAD windows, as some registry changes can cause you not to be able to do a restore or load Windows.
It is very dangerous "adjusting" things in the registry without full knowledge of what you are doing.
Pheonix (280)
212682 2004-02-04 02:42:00 There is also another small complication in Windows XP Registry. it basically uses version 5 reg files which are written in Unicode which uses 2 bytes for each character, hence the file header, Windows Registry Editor Version 5.00.
Win9x uses version 4 reg files, hence the file heading REGEDIT 4, and these use ANSI characters with 1 byte to represent each character.

Fortunately however version 4 can also be used most times except when the registry contains localised text that requires Unicode.

Just thought I'd muddy the water a bit :)
Terry Porritt (14)
212683 2004-02-04 02:45:00 Oh, a faint bell rang, I think Colossus, the valve computer used to crack Enigma used Unicode. Terry Porritt (14)
212684 2004-02-04 05:13:00 Hmm.......... getting confused with modulo 2 arithmetic which is what Colossus used (I think !). Terry Porritt (14)
212685 2004-02-04 05:23:00 It didn't even use ASCII. I think those burning papertapes were 5-level. ;-) Graham L (2)
1