Without knowing the specifics of what the batch file is attempting to do, my first advice would be to add the Resource Kit "kill" command-line utility to the batch file. You can then kill whatever process name is running (cmd.exe or explorer.exe, for example), which might allow the batch file to proceed correctly.
Related Q&A from Laura Hunter
Active Directory expert Laura E. Hunter offers a tip for shortening client wait times.continue reading
Active Directory expert Laura E. Hunter offers some advice for changing the IP addresses of domain controllers.continue reading
Active Directory expert Laura E. Hunter tells a reader what to keep in mind when deleting subnets associated with sites being removed in an ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.