The command line program 'reg' can do this (I'm assuming REG_SZ is the data type here):
which can be run as a startup script in group policies.Code:REG ADD HKLM\SOFTWARE\QCA\DPS\TDS\Configuration /v APSAddress /t REG_SZ /d 172.19.40.1
More info on the reg command here:
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?
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?
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.
Have a look at the RegINI command.While I'm here, is it possible to change the security on a registry key using a script or GP?
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.
Rename the txt file with CMD as the file extensionCode:REGEDIT -s filename.reg
Execute the CMD file via GPO as a startup script.
Hope this helps.
Registration Info Editor (REGEDIT) Command-Line Switches
There are currently 1 users browsing this thread. (0 members and 1 guests)