Creo parametric license selection in launch .bat file
Hi Team,
Looking for suggestions. We have limited Creo Parametric licenses (PROE_DesignAdvP T3 and PROE_DesignAdv T2). Is it possible to control license selection via the Creo launch .bat file so it checks FlexNet availability and automatically switches to the next available license if the preferred one is fully consumed?
I’ve tried using lmutil lmstat in the batch file to check license usage. it checks the license count then close the launcher bat. i tried different codes but it is still bypassing the license count check. Please advise if this approach is supported or if there’s a recommended method.
I included this block in my bat file.
!--scriptorstartfragment-->
SET LMUTIL="C:\ptc\Creo 10.0.8.0\Common Files\x86e_win64\obj\lmutil.exe"
SET LICENSE_SERVER=7788@license01.au.lmco.com
"%LMUTIL%" lmstat -f PROE_DesignAdv -c %LICENSE_SERVER% > "%TEMP%\lmstat_pro.txt" 2>&1
FINDSTR /I /C:"Licensed number of users already reached" "%TEMP%\lmstat_pro.txt" >nul ^
&& (
ECHO --------------------------------------------------
ECHO License count exhausted.
ECHO All Creo Design Advanced Professional
ECHO licenses are currently in use.
ECHO --------------------------------------------------
GOTO :CFG_LIST
)!--scriptorendfragment-->
COPY /Y NUL "%WORKING_DIR%\..\%BA%_%DATECODE%_CFG_%CFG_CHOICE%.txt" >NUL
Rest is generic specific config codes.

