create the registry entry just the way you want it on one of your workstations. Next use regedit and browse to the portion you want, from the menu select export registry file and save the .reg file. Open this file with notepad and remove any non-pertinant sections (careful to leave the first line and keep the basic structure). place this file on a network accessible location and place a line in your login script something like
regedit \\servername\sharename\fix.reg
this will have the workstations apply the change each time they process the logon script. If you want to get fancy you can also have the script place a dummy file on the workstation and look for it with an if then statement to make sure the file only runs once.
Note:
Make sure to test the .reg file on a few machines before you roll it out to make sure your edits were a good thing and not a bad thing.
You can test it by double clicking on the .reg file
make sure that the line has the path to the file along with the filename
regedit /s \\servername\sharename\file.reg
as a note /s does not always work and your users may get a box popping up that they have to click OK. there is a MS Q doc that explains how to pipe a yes into the command in a batch file (sorry it is not on the top of my head).
When I was working with it, some clients will not take a /y. They still get the OK box to respond to. there was a ms Q doc that outined another method. I cannot remember what it was, but it was not the /y switch.
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.