3 Replies Latest reply on Sep 14, 2011 4:41 AM by John Landells

    Registry Value

    shan NameToUpdate

      I am looking for the best way to change the registry value.

        • 1. Re: Registry Value
          Gerardo Bartoccini

          1)      Choose a server where that registry key is available

           

          2)      Add the key as a BLPackage.

           

          3)      Open the BLPackage and set the value to the desired one (if not already set)

           

          4)      Deploy the BLPackage

          1 of 1 people found this helpful
          • 2. Re: Registry Value
            shan NameToUpdate

            Is there any possibility to do registry change through NSH Script Job?

            • 3. Re: Registry Value

              There are loads of different ways that you can do this.  One would be similar to the previous response:

               

              1)      Choose a server where that registry key is available

               

              2)      Add the key as a BLPackage.

               

              3)      Open the BLPackage and set the value to the desired one (if not already set)

               

              4)      Deploy the BLPackage using BLCLI from within an NSH script

               

              This has the advantage that it's neat and versatile and is using BladeLogic as intended.

               

              The alternatives would involve either using something like WMI from within a script and calling this as an NSH script job, or creating a .reg file and using a script to load this into the registry.

               

              Personally, I'd go for the first option!

               

              Hope this helps.

               

              -John.

              1 of 1 people found this helpful