1. The issue I faced was an authentication issue. I found that if I included
the -user and -password switches the commands ran fine. So instead of
running:
"adtest -r newroot -root 0 -t 20 -sf -o newroot.log"
run this :
"adtest -user perftest -password "perftest" -r newroot -root 0 -t 20 -sf -o
newroot.log"
The instructions ask you to create a user account "perftest" with a password
of "perftest" and join it to the Ent Admin group. If you do this or use any
account that is a member of the Ent Admin group the script will run.
2. There is a line in the.ats file in the [user] section (open it in
Notepad) that needs to be deleted
ATTR unicodePwd:$PassWord
-FS