How to borrow a license using command lines?
Not version-specific
Tekla Structures
Environment
Not environment-specific
Question: How to borrow a license using command lines?
Solution: Normally this is not needed but for troubleshooting purposes license borrowing can be done using command lines just like license activation. Start command prompt (cmd) and go to C:\TeklaStructures\License\Borrow. The utility we need to use is called appactutil.exe.
The following example will borrow a Full license for version 2016 through the port 27007 from a server server_name until 11-Jan-2017:
appactutil.exe -served -commServer 27007@server_name -productID NAME=Full;VERSION=2016 -expiration 11-Jan-2017
The application will display a following message to indicate a successful borrowing:
The Product ID NAME can be one of the following:
To check the trusted storage of borrowed licenses you can type:
appactutil.exe -view -long
To return a borrowed license, type:
appactutil.exe -return FID-XXXXXXXXXX-YYY -commServer 27007@server_name
where FID-XXXXXXXXXX-YYY is the fullfillment ID of the license to be returned.
You will see the following message if returning was successful:
Solution: Normally this is not needed but for troubleshooting purposes license borrowing can be done using command lines just like license activation. Start command prompt (cmd) and go to C:\TeklaStructures\License\Borrow. The utility we need to use is called appactutil.exe.
The following example will borrow a Full license for version 2016 through the port 27007 from a server server_name until 11-Jan-2017:
appactutil.exe -served -commServer 27007@server_name -productID NAME=Full;VERSION=2016 -expiration 11-Jan-2017
The application will display a following message to indicate a successful borrowing:
Image
The Product ID NAME can be one of the following:
- ProjectViewer
- Full
- SteelDetailing
- Primary
- Educational
- ConstructionModeling
- Drafter
- Engineering
- PrecastConcreteDetailing
- RebarDetailing
To check the trusted storage of borrowed licenses you can type:
appactutil.exe -view -long
Image
To return a borrowed license, type:
appactutil.exe -return FID-XXXXXXXXXX-YYY -commServer 27007@server_name
where FID-XXXXXXXXXX-YYY is the fullfillment ID of the license to be returned.
You will see the following message if returning was successful:
Image