JSI Tip 2073. CMD.exe issues an 'access' error on a long running batch file?

If you receive an access violation or access denied error message in CMD.exe, and you are running SP4 or greater, there may be a workaround.

If your batch file:

1. Runs a long time

2. Uses the FOR /F command to process a files contents

3. Runs commands using the files contents as parameters

try implementing DisableHeapLookaside.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish