Hello, Does anyone know how to make a simple registry change
remotely to 160 machines? I have Admin rights. Bat files don't seem to work.
Any Help Appreciated.
You could configure your login script and use regedit to import a .REG file? If memory serves, running regedit with the /S switch imports it silently without the confirmation of import message.
Your command line would read:
REGEDIT /S FILE.REG -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
Techlad thnks for input, however I really dont want to change login scripts for 160 machines that are in the field. I think a bat file is the answer to address all these machines but I like the regedit suggestion. Surely there is a solution whereby a bat file with machine names
can be scripted. Any more suggestions? Anyone?
Have you tried to place the information Lad gave you in a batch file and attempt to run it that way? All the login script for windows is a simple batch file anyway. Try it out I'm sure it should work. Once you get that working then you could have each user execute it on the system to make the change. Of course I am assuming your 160 systems don't log into a network since you stated you didn't want to change the login scripts of 160 machines. david e *end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
Give us a little better idea of what you are trying to do in your registry change. The regedit import as described by TheLad is used quite often in the enterprise environment to push changes to the registry...silently.
It should work fine if you are looking to add or modify registry settings. However, if you are looking to delete some registry keys altogether then this method will not suit your needs. A simple method to delete registry entries is to create an INF file with the necessary data and then use the "rundll32" API functions to run the commands in your INF file. I can provide more detail and an example if you are interested in this course.
A couple of questions....Are the registry changes the same for all 160 machines? How are you planning to deploy the changes if not through a login script, eg - end user runs the batch file, tech goes to each computer, pushed via remote control sw (pcanywhere, carboncopy) or mgmt sw (SMS, HP Openview).
I am a little curious about your statement "...bat file with machine names...". Are you saying you want to script a batchfile that will check the client machine name and then apply the registry changes per machine? That shouldn't be that difficult since %computername% is a supported environment variable.
if "%computername%" == "MYCOMPUTER" goto regupd
goto end
Hey DXD,
Yeah the reg "changes" I want to make are the same for all
the machines. I don't want to delete anything The Change is in HKey_Local_machine,Software,and in a program subfolder.Yes you're right, I usually just script a bat file listing all the machine names with the %computername%Variable when I want to make changes enmasse to a number of machines, script a Bat file and run from CMD line on my workstation, but I have never tried this successfully on a reghack. Also I want to do this silently but will probably require a reboot to seat the changes I think
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.