& Construction
Integrated BIM tools, including Revit, AutoCAD and Civil 3D
& Manufacturing
Professional CAD/CAM tools built on Inventor and AutoCAD
You can use batch files with installation scripts to distribute software to computers in a network. Each file has one or more commands with command switches that modify options.
An installation script includes paths to the product's setup.exe file. This file must be on your installation media or on the network. You need administrator permissions to install the products.
Use batch file templates to install Autodesk software products in typical configurations for standalone or network licensed versions. Copy the template and replace variables with appropriate values for the products that you're installing. Variables shared by more than one template appear at the end of this topic.
Note: Although the batch file templates shown here include multiple lines of code, in practice you should write each file as a single line of instructions.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: INSTALLDIR="%programFiles%\Autodesk\<Product Name>" ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"
Example:
C:\setup.exe /t /qb /language en_us /c ACAD_MAIN: ACADSERIALPREFIX=123 ACADSERIALNUMBER=12345678 ADLM_PRODKEY=001M1 ADLM_EULA_COUNTRY=US InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"
INSTALLDIR is an optional parameter. It’s not recommended. It can specify a different installation directory from the default location, which can cause problems. <Product Name> specifies the product installation directory, such as Inventor 2021.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="3" ACADLICENSESERVERTYPE="Single Server License" ACADLICENSETYPE="Network License" ACADSERVERPATH="<FlexLicenseServer> 000000000000"
<FlexLicenseServer> specifies the network license server.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="3" ACAD_LICENSESERVER_DISTRIBUTED="1" ACADLICENSESERVERTYPE="Distributed Server License" ACADLICENSETYPE="Network License" ACADSERVERPATH="@<server1>;@<server2>;@<server3>;"
<server1> through <serverN> are valid network license servers.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="3" ACADLICENSESERVERTYPE="Redundant Server License" ACADLICENSETYPE="Network License" ACADSERVERPATH="<server1> 000000000000 27005;<server2> 000000000000 27005; <server3> 000000000000 27005;"
<server1> through <server3> are valid network license servers with redundant licenses.
When you install an Autodesk suite that includes multiple products, you need a separate code block in the batch file for each product. Each code block includes the product ID for one of the products being installed. However, the same suite serial number and product key are used for all products. The following template shows a batch file for standalone installation of three products.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1" /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1" /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"
Autodesk Analytics sends usage data to Autodesk for analysis. By default, users in your deployment can opt-in or opt-out later, from an option in their product Help menu. However, during installation you can opt-in or opt-out of Autodesk Analytics for all users in your deployment by including one of the following commands in your installation script.
To opt-out for all users in your deployment, include this command in your script:
Msiexec.exe [product].msi ADAOPTIN=0 ADAOVERRIDED=1
To opt-in for all users in your deployment, include this command in your script:
Msiexec.exe [product].msi ADAOPTIN=1 ADAOVERRIDED=1
The Assistant can help you find answers or contact an agent.
What level of support do you have?
Different subscription plans provide distinct categories of support. Find out the level of support for your plan.