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 - server.mydomain.com

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!
WindhamSDAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
http://support.microsoft.com/kb/310516

Hope this helps
0
ZabagaRCommented:
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.

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\User Agent"
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
pause
:end

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 server.mydomain.com

(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....
0
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.
0
DonNetwork AdministratorCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.