I've got a few registry keys I'm trying to add to new NT 4 workstations as I set them up. Normally I manually type them in, which is extermely tedious. I finally figured out that I could make a registry file so I could automate things a bit. Unfortunately it's not working the way I think it should and I need some help.
Here's the file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"CLRTEMP"="C:\\Policies\clrtemp.cmd"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"="2"
"NetworkPath"="C:\Policies\ntconfig.pol"
With the exception of the "UpdateMode" line, the rest are new entries. By default, the updatemode is 1 and after executing this file, it is changed to 2. What isn't working is that it will not add the two new lines.
What am I doing wrong?
Here's the file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"CLRTEMP"="C:\\Policies\clrtemp.cmd"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"="2"
"NetworkPath"="C:\Policies\ntconfig.pol"
With the exception of the "UpdateMode" line, the rest are new entries. By default, the updatemode is 1 and after executing this file, it is changed to 2. What isn't working is that it will not add the two new lines.
What am I doing wrong?
