Executing the amserveradmin.bat batch file produces
the following error message:

The system cannot find the path specified.
Loading amAdminConsole.xml
The system cannot find the path specified.
Loading amAuth.xml
The system cannot find the path specified.
Loading amAuthAnonymous.xml
The system cannot find the path specified.
Loading amAuthCert.xml
The system cannot find the path specified.

This is because after reconfiguring, tokens in this file are not getting
tag swapped.

Workaround

In the amserveradmin.bat.template, set the value
for AM_DIR to AM_DIR=c:\sun\identity.
Rename the template file to amserveradmin.bat.