This is the most comprehensive thread on the subject I have participated in so far. There you will find working examples of section access and batch files.
Basically, you need to add the user that is running the batch using NTNAME (no password) along with the rest of the USERID and PASSWORD values.