Geoff Posted March 7, 2007 Posted March 7, 2007 The command line program 'reg' can do this (I'm assuming REG_SZ is the data type here): REG ADD HKLM\SOFTWARE\QCA\DPS\TDS\Configuration /v APSAddress /t REG_SZ /d 172.19.40.1 which can be run as a startup script in group policies. More info on the reg command here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true http://www.petri.co.il/reg_command_in_windows_xp.htm
plexer Posted March 7, 2007 Posted March 7, 2007 Dave: I thought that information was set in the DPSConfig.ini can you not create a new one of those and use a startup script to copy it to the machines? Ben
mrforgetful Posted March 7, 2007 Posted March 7, 2007 Can you not just export the key that's correct, put it in the netlogon share, create a .cmd file making the registry file run and assign the .cmd to run at startup? Or tell them the KS3 is awful and you don't want it to work? While I'm here, is it possible to change the security on a registry key using a script or GP?
6Foot2 Posted March 7, 2007 Author Posted March 7, 2007 Hi Ben, Yes it is set in DPSConfig.ini, but for some reason some of my stations are 'remembering' the IP of the server as it was last year: Between last year and this I have had to change the IP address of the server. This is just an attempt to force the stations to co-operate until I can find another more permant answer.
Geoff Posted March 7, 2007 Posted March 7, 2007 While I'm here, is it possible to change the security on a registry key using a script or GP? Have a look at the RegINI command. http://support.microsoft.com/kb/245031
djm968 Posted March 7, 2007 Posted March 7, 2007 Copy the reg frag you have created to the net logon share Create a txt file and copy the code below into it replacing the filename with the name of your reg frag. REGEDIT -s filename.reg Rename the txt file with CMD as the file extension Execute the CMD file via GPO as a startup script. Hope this helps. Registration Info Editor (REGEDIT) Command-Line Switches
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now