Help! Script to lookin for something
Hi, I have a problem.
I must read registry to look for key: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Healthservice\Parametres\Managements Groups
This key have others subkeys about name Management Group for example FAKE, TEST etc. Subkey FAKE, TEST contains others subkeys too.
I need read this main subkey and if name management groups will be different than FAKE, script will be make this command:
msiExec.exe \i \\fileserver\MOM\momagent.msi /norestart /qn /l*v "c:\MOMReinstall.log" MANAGEMENT_GROUP="BUKA" MANAGEMENT_GROUP_OPERATION="RemoveConfigGroup" MANAGEMENT_Server="Cerberos" REINSTALL="all"
I will be very grateful for your help :)
Martha
I must read registry to look for key: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Healthservice\Parametres\Managements Groups
This key have others subkeys about name Management Group for example FAKE, TEST etc. Subkey FAKE, TEST contains others subkeys too.
I need read this main subkey and if name management groups will be different than FAKE, script will be make this command:
msiExec.exe \i \\fileserver\MOM\momagent.msi /norestart /qn /l*v "c:\MOMReinstall.log" MANAGEMENT_GROUP="BUKA" MANAGEMENT_GROUP_OPERATION="RemoveConfigGroup" MANAGEMENT_Server="Cerberos" REINSTALL="all"
I will be very grateful for your help :)
Martha
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.