Registry editing with tasks

(imported topic written by jpeppers91)

I need to change a value in the registry but the key has no name. When you look at it shows"(Default)" but when you open the key the value is blank. Everytime I try to modify the key instead of overwriting, it just adds the new key. I need to replace the existing key but how do I do it if it doesn’t have a name?

(imported comment written by jessewk)

Use the @ symbol to specify the default key:

Regset "

HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\TestKey

" @=“I am your default”

Note that’s the same thing you’ll see for the default key if you export it from the registry and open the .reg file in a text editor.

Jesse

(imported comment written by jpeppers91)

Thanks! I didn’t realize that. I learn something new everyday.