Add the following lines to the JBoss run.bat file as described in section 5.1.2 - JBoss:
set JAVA_OPTS=%JAVA_OPTS% -Djcifs.smb.client.username=<account>
set JAVA_OPTS=%JAVA_OPTS% -Djcifs.smb.client.password=<password>
set JAVA_OPTS=%JAVA_OPTS% -Djcifs.smb.client.domain=<domain>
The three -D… settings can also be combined on a single line.