Send out Registry Updates to Machines from Server 2003

Hi Everyone,

I know the best answer to this question is to upgrade to Server 2008 or Server 2012, but unfortunately I'm not in that environment. But I need to send up registry updates to machines to populate a reg field.

HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\User Agent
-------------->Identification Server - REG_SZ -

The machines are a mix of XP and Windows 7. The other caveat, is that not every machine has this software installed so it would be nice if it would only update that value if it's there.

Thanks in advance!
Who is Participating?
Donald StewartConnect With a Mentor Network AdministratorCommented:
Will SzymkowskiSenior Solution ArchitectCommented:
Your best bet with 2003 is going to have to be scripting/batch file and distribute this script via a GPO to the machines in question.

In your batch file you will need to use regedit.exe /s "regchange.reg" which will update the reg vaules on the machines during the computer startup script.

See the link below for more info

Hope this helps
ZabagaRConnect With a Mentor Commented:
If you want to batch it out, something like this batch script would work:
I'm only running against my local machine. You can add machine name too if you're doing for remote machines.

If %ERRORLEVEL% neq 0 goto end
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\User Agent" /v "Identification Server" /t REG_SZ /d newtest /f

My script looked to see if there was anything present in that REG KEY then if there was, it changes the Identification Server's value to my test word "newtest". That's where you'd put

(The PAUSE is there so you can test and watch it work...remove for running live of course)

For remote machines, you just add \\SERVERNAME or \\SERVERIPADDRESS in front of the HKEY information above...i.e. \\SERVER1\HKEY_LOCAL_MACHINE\SOFTWARE....etc....
WindhamSDAuthor Commented:
That's great Zabaga! I'm going to try to script this, Put it in a startup GPO, and test it out in my environment. Stay tuned.
WindhamSDAuthor Commented:
Thanks for all of your help everyone. The scripting worked out OK. But in the end, I spun up a 2008 server and added it to the domain as a DC then had everything I needed from there. Thanks again for the help!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.