Document Type | Troubleshooting
Category | Installation
Applicable Product Versions | 6FS06, 6FS07, 6FS07PS, 7FS01, 7FS02, 7FS02PS
Document Number | TINTS012
Issue
During the installation process, when running system.vbs, the default CMD host should be changed to cscript, but a situation occurs where it is not changed.
In a normal case, the following message is displayed and it is set to cscript.exe.
C:\Tibero\tibero6\scripts> cscript //H:CScript Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. The default script host has now been set to "cscript.exe".
Cause
If CMD is not run with administrator privileges, due to insufficient permissions, the default script host cannot be changed to cscript.
C:\Users\user>cscript //H:CScript Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. CScript error: Cannot change the default script host. C:\Users\user>
Solutions
You can explicitly run it as below in CMD without changing the default host.
C:\Users\user>cscript system.vbs Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. .. .. .. C:\Users\user>
Note
It is also acceptable to run CMD with administrator privileges and then change the host by the command cscript //H:CScript.