mati02
asked on
Modify Registry Key - Via SMS
I would like to modify and existing registry key to select users in my company. Cannot use GPO or Logon scripts (adm templates). Below is the key. Could someone please give me syntax i would use? I must use SMS to deploy the key. I do not have SMS installer to create the .EXE file
[HKEY_LOCAL_MACHINE\SOFTWA RE\ESRI\Li cense\LICE NSE_SERVER
Current value is @XXXXXX and I need to change it to @YYYYY
[HKEY_LOCAL_MACHINE\SOFTWA
Current value is @XXXXXX and I need to change it to @YYYYY
This might help...
How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file:
http://support.microsoft.com/kb/310516
I think you might have to create a batch file and within the batch file run regedit.
Batch File Help:
http://www.computerhope.com/batch.htm
How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file:
http://support.microsoft.com/kb/310516
I think you might have to create a batch file and within the batch file run regedit.
Batch File Help:
http://www.computerhope.com/batch.htm
Or you could execute a VBScript (which is what I do in my environment) to make the changes by calling "cscript.exe".
The VBScript will be responsible for making the registry change.
Registry Scripting Center
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/registry/#CreateStringDword.htm
Create String and DWORD Values
http://gallery.technet.microsoft.com/ScriptCenter/en-us/8253ebcd-6024-4d0d-944d-0f8c209c933a
The VBScript will be responsible for making the registry change.
Registry Scripting Center
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/registry/#CreateStringDword.htm
Create String and DWORD Values
http://gallery.technet.microsoft.com/ScriptCenter/en-us/8253ebcd-6024-4d0d-944d-0f8c209c933a
ASKER
I need to do this through SMS Silently.
I know. Create a Package, then a Program and in the Command Line field just enter the appropriate command-line arguments. See image.
SCCM-Program-CommandLine.png
SCCM-Program-CommandLine.png
ASKER
unfortunately i'm not a scripting master. I will try creating a batch file and run exported key with modifications (which i have) from a file share.
ASKER
batch files will not run through SMS. I ran batch file with
XXX.bat /s and did not work.
XXX.bat /s and did not work.
ASKER
batch file called the registry key.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent. just what i was looking for.
ASKER