Functionality
Enable/disable the following functions in CT.
Service stop prohibition function of CT
Uninstallation prohibition function of CT
Connection server modification prohibition function of CT
Collection function of CT operation status log
By executing in CS, this command will be reflected on policy. In CT, after receiving and reflecting the modified policy, it is able to enable/disable each function.
After executing this command, the information will be reflected on all CTs with server (CS,DS) installed.
Record format
CTPolicy.exe | [-service.cannot.stop {on|off}] |
CTPolicy.exe | {-h|-help} |
Option
Each option is not case-sensitive.
Enable/disable the service stop prohibition function.
Enable function.
Disable function (initial value).
Enable/disable the uninstallation prohibition function.
Enable function.
Disable function (initial value).
When specifying "on", it is required to set a password used in uninstallation prohibition function. The password is required to be set twice in input validation.
The password can be specified by single-byte letters and numerals using from four to twelve characters, and the following single-byte symbols. In addition, the English letters are required to be case-sensitive.
"-", "=", "*", "+", "'", "@", "~", "(",")", "&", "$", "#", "!", "?", "%", ".", ",", "/", ":", ";", "`", "[","]", "|", "<",">", "{", "_", "}"
Enable/disable the connected target server name modification prohibition function.
Enable function.
Prohibit function (initial value).
Enable/disable the collection function of CT operation status log.
Enable function (initial value)
Prohibit function.
The use method of this command will be output to standard output.
Return value
0: ended normally
Other than 0: ended abnormally
Command saving location
The following folder in CS:
CS Installation Directory \FJSVsbtrs\bin |
Authority required for execution/executing environment
Administrator authority is required.
This command shall be executed in CS.
Cautions
It is not required to stop Systemwalker Desktop Patrol service (ITBudgetMGR (INV)).
When modifying the password of uninstallation prohibition function, specify -cannot.uninstall on option again and set password. The later set password will be valid.
For -edit.primaryserver and -collect.ctlog option, the CT installed in CS/DS is still valid.
Command execution example
Enable the service startup prohibition function.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -service.cannot.stop on |
Enable the uninstallation prohibition function.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -cannot.uninstall on |
Specify the password used in uninstallation prohibition function twice.
The entered password is displayed as "*", and encrypted during saving.
Enable the Connection server modification prohibition function.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -edit.primaryserver on |
Disable the connection server modification prohibition function.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -edit.primaryserver off |
Disable the collection function of CT operation status log.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -collect.ctlog off |
Disable the connection server modification prohibition function and collection function of CT operation status log.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -edit.primaryserver off -collect.ctlog off |
The use method of this command will be output to standard output.
"C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\FJSVsbtrs\bin\CTPolicy.exe" -help |
Execution result/output format
When executing the command normally, the following message will be output.
Command execution succeeded. |
When the processing failed, a message indicating failure will be output. Refer to "3.1.7 Messages Output When Using Client Prohibition Function" for details.