1.8.2 Script execution users
This section describes script execution users, and users for communication with other computers.
The script execution user and password vary as described in the following table according to the script execution method.
|
No. |
Script execution method |
Script execution user and password |
|---|---|---|
|
1 |
Script is executed from the JP1/Script service by the automatic startup function. |
Logon account and password that were set for the JP1/Script service.# |
|
2 |
Script is executed from a JP1/AJS service program. |
OS user and password that were mapped to the JP1 user executing the script. |
|
3 |
Script is executed from a service program other than JP1/AJS. |
Logon account and password that were set for the service.# |
|
4 |
Script is executed from Script Launcher by the automatic startup function. |
User and password that were used to log on to the computer. |
|
5 |
Script is executed from Script Manager or Script Editor. |
|
|
6 |
Script is executed directly from Windows Explorer or another program. |
- #
-
You cannot use the system account as the service account when using the SetGV, GetGV, DeleteGV, or NetExec command to call a remote computer. A user account that exists on the called computer must be set for the service account.
The following table lists the execution users and passwords that are used when the connection is successful and the NetExec command executes an executable file on the called computer.
The execution users and passwords in the following table are also used when, for example, the NetExec command calls a copy operation (including the Copy command) to the file server.
|
No. |
Value of the fifth argument of the NetExec command |
Program used to control NetExec command requests |
User and password used for the called executable files |
|---|---|---|---|
|
1 |
True (execute in service space) |
JP1/Script service |
Logon account and password of the JP1/Script service in the called computer |
|
2 |
False (execute in logon space) |
Script Launcher |
User and password first used to log on to the called computer |
|
3 |
Script Launcher service |
User (and password) specified by the Script Launcher service start parameter on the called computer Or, User (and password) logged on to the called computer with high priority in the NetExec logon user settings file |
When calling other computers with the SetGV, GetGV, DeleteGV, and NetExec commands, the command will return an error if the user (and password) executing the calling script is not a user (and password) capable of logging on to the called computer.
Check the user and password executing the calling script to verify that the user and password can log on to the called computer.
For details about the SetGV, GetGV, and DeleteGV commands, see 8.2.5 SetGV (set a global variable), 8.2.6 GetGV (get a global variable), and 8.2.7 DeleteGV (delete a global variable).
For details about the NetExec command, see 8.10.2 NetExec (call an executable file on the local PC or remote PC).