• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Simple registry hack in Windows 2000

Muse

Lifer
I'm a noob at this, basically. I have an application that has registry values and I want to reset one of them automatically. I'd prefer it to happen when the application opens but figure I'm out of luck there. Instead, I figure I'll put a registry editing utility in my startup folder to make the registry value change when Windows 2000 starts up. I obviously did something wrong. I created a file in notepad and named it:

MyHDFileOpenPath.REG

The contents of the file:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\MyHD]
"FILELIST_PATH"="I:\MyHD WorkArea\"

I haven't put the file in my startup folder yet, but have double clicked it to run it. I get two popup dialogues, the first asking me if I want to run it, the second telling me that the file's instructions have been successfully applied to my registry. Of course, I don't want to have those dialogues to deal with. But the worst of it is that the value for the key FILELIST_PATH hasn't changed to the value I want in there, "="I:\MyHD WorkArea\"

So, what am I doing wrong? I've poked around in a few online sites concerning registry editing, hacks, etc. to no avail. Thanks for any help.


PS -- Do I need to create a vbs script to do this?
 
Export the key you want and use the export file as a template.

Then run regedit /s when you merge the key to prevent the popups.
 
Originally posted by: bsobel
Export the key you want and use the export file as a template.

Then run regedit /s when you merge the key to prevent the popups.

I saw something like that. My impression is that when you export the file you get the whole key with all its values. I just want to edit one value, not all the values. If other values have changed I don't want them overwritten by what I'm importing. Do I fail to understand this?

In the registry, when I go to Registry/Export Registry File I have an option to have an Export range of "Selected branch"

In my case it would be HKEY_LOCAL_MACHINE\SOFTWARE\MyHD. That has scores of keys and values.
 
Delete the lines in a text editor that you don't want. This way you know the initial format is correct.
 
Back
Top