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:
-
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.
-
Click the Continue button.
-
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:
-
Right-click the shortcut of Manager to open the menu, and then select Properties.
The Properties dialog box opens.
-
On the Compatibility page, select the Run this program as an administrator check box for the privilege level.
-
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:
-
Right-click sptxe.exe in the JP1/Script installation folder to open the menu, and then select Properties.
The Properties dialog box opens.
-
On the Compatibility page, select the Run this program as an administrator check box for the privilege level.
-
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:
-
Create a shortcut of sptxe.exe, which is in the JP1/Script installation folder, on the desktop.
-
Right-click the shortcut to open the menu, and then select Properties.
The Properties dialog box opens.
-
On the Shortcut page, specify the script file name after sptxe.exe under Target.
-
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.
-
Click the Continue button.