3 Replies Latest reply on Nov 5, 2013 12:04 AM by stickman

    unregister.cmd

    stickman

      Came across task in task scheduler which executes unregister.cmd, owner: system which is scheduled to run every day. Below is the script. What does this script do?

       

      task > \\domain\sysvol\domain\policies\xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx\machines\sc ripts\startup\unregister.cmd

       

      c:

      cd "C:\Program Files\Common Files\McAfee\SystemCore\"

      for /f %%f in ('dir /b "C:\Program Files\Common Files\McAfee\SystemCore\scriptsn*dll"') do regsvr32 /u %%f /s

      net stop "system center management"

      net start "system center management"

        • 1. Re: unregister.cmd
          Peter M

          Moved provisionally to VSE for better support.

          • 2. Re: unregister.cmd
            johma

            HI Minion,

            This batch file creates a list  with all file names that look like "scriptsn*.dll" from the "C:\Program Files\Common Files\McAfee\SystemCore\" folder.  It will then register the .DLL files using regsvr32.exe. When that is done it will stop and restart the system center management service.

             

             

            • 3. Re: unregister.cmd
              stickman

              Thank you Johma, basicly what you did there is just explain the script, I could have also done it

               

              This was more the answer I was looking for:

               

              The unregister.cmd script was created to de-register an old scriptscan dll due to a memory issue that was resolved by Patch 2 for VSE8.8. This task can safely be removed as so long as the customer is on VSE 8.8 Patch 2 there is no need for this task.

               

              Problem solved!

               

              Message was edited by: minion on 11/5/13 12:04:10 AM CST