Avoid the Logon Prompt

See Also

Each time you enter a command from the command line, VSS prompts you for your username and, if one is set, your password. You can avoid this step by performing certain actions based on your environment.

Set the SSUSER Environment Variable to your User Name

In Windows NT and Windows 95, the command-line interface queries the operating system for the name of the currently logged-on user. If this name matches a username in the VSS database, the user is automatically logged onto the VSS database. If the username does not match, the command-line interface uses other methods to determine the VSS username, such as prompting for a username with each command.

You can set the SSUSER environment variable on your computer to your user name to avoid the logon prompt each time you enter a command from the command prompt. For example, user Kim would enter the following from the command prompt:

set ssuser=kim

Set SSUSER in the Autoexex.bat File

You can also include a line similar to the preceding example in your Autoexec.bat file in Windows 95, or set it in the System control panel in Windows NT. If you do include such a line or setting, you can change users by entering the SET SSUSER command from the command prompt at any time.

Note   Be sure that you do not enter any spaces on either side of the equal sign when setting the user.