Announcement

Collapse
No announcement yet.

Script to run the SFC procedure and then after it finishes DISM?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script to run the SFC procedure and then after it finishes DISM?

    Is there any way at present to run a second procedure after the first finishes on Itarian, if not, could a script be created to run SFC and then after it finishes DISM?
    https://scripts.itarian.com/frontend...rm-sfc-scannow
    https://scripts.itarian.com/frontend...restore-health

    Thanks

  • #2
    Hi nct,

    Unfortunately, we can't call another procedure from one procedure. We have asked our script developers to create a script where SFC will run then DISM will run once SFC is finished.

    Kind Regards,
    PremJK

    Comment


    • #3
      Thanks, the results will also need show on the portal like normal.

      Comment


      • #4
        Hi

        Correct me if I'm wrong, but we can combine these 2 (or more) procedures into one ?
        Open the first procedure then at the end simply click "add existing procedure" or just copy and paste both into a new one.

        They should run one after the other, as have this on my systems as a first up run with about 7 different scripts all in one.

        mcfproservices

        Comment


        • #5
          Hi nct,

          Please try this JSON file prepared by our script developers and provide your feedback.
          Note: The script execution will take 20mins to 2hours to complete, it depends on Hard disk

          20211118-sfc-and-dism(1).json

          Kind Regards,
          PremJK

          Comment


          • #6
            Originally posted by PremJkumar View Post
            Hi nct,

            Please try this JSON file prepared by our script developers and provide your feedback.
            Note: The script execution will take 20mins to 2hours to complete, it depends on Hard disk

            [ATTACH]n72712[/ATTACH]

            Kind Regards,
            PremJK
            Thanks, PremJK , that works well. Please could you add to https://scripts.itarian.com/f?

            Comment


            • #7
              Hi nct,

              Please check this script link published in scripts.itarian.com as requested
              https://scripts.itarian.com/frontend...-and-dism-scan

              Kind Regards,
              PremJK

              Comment


              • #8
                Originally posted by PremJkumar View Post
                Hi nct,

                Please check this script link published in scripts.itarian.com as requested
                https://scripts.itarian.com/frontend...-and-dism-scan

                Kind Regards,
                PremJK
                PremJK , perhaps make it clear on the scripts page or description that it runs the specific DISM command? DISM /Online /Cleanup-Image /RestoreHealth

                Comment

                Working...
                X