Archive: Writing the Default Value to a key in Windows NT 4


Writing the Default Value to a key in Windows NT 4
Hello all,

A little background first. I'm using NSIS to allow me to change the configuration of a PC depending on what it's going to be used for. (IE Server, Client, Standalone).
As such, I need to change the name of the 'My Computer Icon'.

So I'm trying to figure out how to change the 'Default' value in a specific key. (IE, if there are no strings/dwords/bin's in a specific key, there will still be a 'Default' key in there)

I can add new values to a key, and even add a duplicate entry entitled '(Default)' with the proper value for the Icon Name Change, but I cannot for the life of me figure out how to change the ACTUAL default value of the key.

If need be, I'll post the key here, but it's just a really long complicated key, and the computer I'm working on isn't connected to the internet...so writing it out is a pain. :)

Any help would be GREATLY appreciated.


Forget it! I figured it out! :)

Happy me.

Thanks anyways though!

(figured that by Murphy's Law, if I posted the question, I'd figure it out shortly afterwards!)


Know the feeling :D