Login VSI and Login PI rely on the ability of the Test Account to run a specific logon script or start up script during logon or after logon has completed. If using logon scripts will be an issue then the startup script method will be used.
Logon scripts can be set a variety of ways and all valid. You can use GPOs or associate a logon script with the user Active Directory Object for example.
The startup script can exist in one of two locations:
- Startup folder location per user: %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- Startup folder location per system: %programdata%\Microsoft\Windows\Start Menu\Programs\StartUp
Login VSI uses a logon script that must get executed from a specific location:
The reason for this is the logon script uses a reference that points to its own current directory and copies the required payload to the target for test execution. Generally a logon or startup script is created that calls the logon.cmd located under \\servername\VSIShare\_VSI_Binaries\Target.