Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


1.8.6 Execution as a user who has administrator permissions

If User Account Control (UAC) is disabled in Windows, you can perform operations with permissions of the logon user, but OS security will be degraded. Therefore, perform the following operations as much as possible.

Organization of this subsection

(1) Starting Manager

After starting Manager as a user who has administrator permissions, execute script files and Editor functions as a user who has administrator permissions. In this case, you must also monitor script files from Editor as a user who has administrator permissions.

To start Manager as a user who has administrator permissions, use either of the following methods:

(a) Specifying "Run as administrator"

To specify the setting:

  1. Right-click the shortcut of Manager to open the menu, and then select Run as administrator.

    The User Account Control dialog box for elevation of privileges opens.

  2. Click the Continue button.

  3. If you are not a member of the Administrators group, enter the administrator password.

(b) Specifying "Run this program as an administrator" for the privilege level

To specify the setting:

  1. Right-click the shortcut of Manager to open the menu, and then select Properties.

    The Properties dialog box opens.

  2. On the Compatibility page, select the Run this program as an administrator check box for the privilege level.

  3. Start Manager.

    The User Account Control dialog box for elevation of privileges opens.

    If you are not a member of the Administrators group, the specification in 2. does not take effect. Instead, Manager is started with standard user privileges.

(2) Executing script files

To execute script files as a user who has administrator permissions, use either of the following methods.

(a) Specifying "Run this program as an administrator" for the privilege level

To specify the setting:

  1. Right-click sptxe.exe in the JP1/Script installation folder to open the menu, and then select Properties.

    The Properties dialog box opens.

  2. On the Compatibility page, select the Run this program as an administrator check box for the privilege level.

  3. Execute all the script files.

    The User Account Control dialog box for elevation of privileges opens.

    If you are not a member of the Administrators group, the specification in 2. does not take effect. Instead, the script files are executed with standard user privileges.

(b) Specifying "Run as administrator"

To specify the setting:

  1. Create a shortcut of sptxe.exe, which is in the JP1/Script installation folder, on the desktop.

  2. Right-click the shortcut to open the menu, and then select Properties.

    The Properties dialog box opens.

  3. On the Shortcut page, specify the script file name after sptxe.exe under Target.

  4. Right-click the shortcut to open the menu, and then select Run as administrator.

    sptxe.exe is executed, and the User Account Control dialog box for elevation of privileges opens.

  5. Click the Continue button.