From the Explorer window or desktop, right-click My Computer.
Choose Properties to display the System Properties dialog.
Click the Advanced tab.
Click Environment Variables.
In the User variables section, add or update the PATH variable.
In the User variables section, add the environment variable AS_ADMIN_USER and set it to the administrative user name that you assigned during installation.
If you set this variable, you do not need to enter the administrative user name when you run asadmin commands.
If you installed the server with the “Don't Prompt for Admin User Name” option selected, you do not need to create the AS_ADMIN_USER variable.
Click OK to commit the change and close the remaining open windows.