I have a batch file running an exe that doesn't complete before other jobs run.

Rick Someone 411 Reputation points
2021-11-15T21:22:38.697+00:00

I have a batch file to run an exe silently. It does work but as soon as it starts, other jobs start installing which delays the first one from completing almost until all other jobs finish.

I am using

start "" "C:\path to exe" /silent /wait and also tried

start /wait "" "C:\path to exe /silent

Nothing makes MDT wait for this install to complete before going on. I'm sure there is a better syntax if
anyone has better thoughts.

Windows for business Windows Client for IT Pros Devices and deployment Set up, install, or upgrade
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 49,311 Reputation points Microsoft External Staff
    2021-11-16T06:51:24.557+00:00

    Hi, @Rick Someone
    Thank you for posting in Microsoft Q&A forum.

    Please try below command to see if it helps:
    START /WAIT "Path\setup.exe" /silent


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.