Using the lmutil lmborrow Utility
For an early return of a borrowed license, you can use the lmborrow subfunction with the lmutil Flexnet utility. The lmutil utility resides at C:\Program Files\PTC\Creo <version number>\Common Files\x86e_win64\obj.
Before running the lmutil lmborrow utility, you can run the following command in a command shell to check the status of the borrowed license:
lmutil lmborrow -status
Then read the command output to determine the optional arguments for the lmutil lmborrow utility. See the next table. To use the lmutil lmborrow utility, open a command shell and type the following command at the prompt:
lmutil lmborrow -return [-fqdn][-c license_file_list] [-d display] feature
Optional arguments are enclosed within brackets in the previous command syntax. Descriptions of the arguments follow.
Argument
Description
-fqdn
Specifies that a fully qualified domain name was used for license borrowing, rather than a simple host name. Use the lmutil lmstat command to determine the format of the host name used when the license was borrowed.
-c license_file_list
Specifies the license server from which the license was borrowed. In most cases specifying the port@hostname value for the server is sufficient.
* 
You can avoid using this argument by setting the LM_LICENSE_FILE variable. Set the variable as LM_LICENSE_FILE=port@hostname to point to the server used for borrowing the license.
-d display
Displays the system name. Required only if the displayed system name is different than the one used to initiate borrowing.
feature
Names the borrowed license feature to be returned early. Use the lmborrow -status command for a list of borrowed license features.