Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reset Autodesk 2023 Licensing - Update!

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
TravisNave
18344 Views, 9 Replies

How to reset Autodesk 2023 Licensing - Update!

CLICK HERE FOR THE NEW VERSION!

 

Problem:  You have Autodesk 2020-2023 software installed, but are now unable to simply change the licensing from Single User to Multi-User, Networked Licensed, or Trial version. 

 

Reason:  Autodesk has changed how the Autodesk 2020-2023 products are licensed and apparently there is no simple way to do this from Help > About to Manage Licenses, or by deleting LGS file information as in previous versions.  Later releases have this functionality but it is inconsistent.  If you cannot perform this action in your 2023 software, then this solution is for you.

 

Solution:  With the introduction of the Autodesk 2020 software release, changing the licensing now requires commands to be entered via an elevated command prompt.  This is the same for 2021, 2022, and 2023.

 

Detailed instructions for how to find and use the AdskLicensingInstHelper.exe and all of its commands and options can be found at this link:

 

https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Use-In...



Method #1 (Manually) Essentially, you would need to run a command similar to this for AutoCAD 2023:

 

AdskLicensingInstHelper change --prod_key 001O1 --prod_ver 2023.0.0.F --lic_method ""


This method, however, is quite obtuse and requires you to also know the Product Key and the Product Version for your installed product.  You can find this using the LIST argument and plugging your values into the command. 

 

AdskLicensingInstHelper list


Because the normal everyday user is unlikely to be able to follow and comprehend these instructions clearly, I have decided to update my batch file to perform these actions without requiring the knowledge necessary in the Autodesk KB article.   Also since the 2021 release and named user login, the manual method requires additional steps to force the logout and the release of the assigned license before the Autodesk application can reset the licensing dialogue.   Note:  For 2021-23 products, you need to logout of your Autodesk/SSO username within the software to manually reset named user licensing.  

 


Method #2 (Preferred)
 
Download and run the command script attached at the bottom of this article with elevated privileges.  NOTE:  The previous script for 2021 will also work for 2022 and 2023.

 

1.  When you launch the script (you may have to allow it in Windows 10 or if you have UAC enabled) you will see the following screen:

 

Run as AdministratorRun as Administrator

 

Note:  You will need to right-click and run as Administrator.  Otherwise, it will warn you that you are not running as administrator and need to close the program.


2.  
To determine which products you have installed and need to reset, choose option 1 to list the products installed. 

Choose Option 1 to List ProductsChoose Option 1 to List Products

 

In this example, the program lists AutoCAD 2020 with Product Key 001L1 and Product Version 2020.0.0.F.  However, with this update we will be using AutoCAD 2023 default values of 001O1 and Product Version 2023.0.0.F to reset back to factory default.  The output of this command is a little convoluted.  It is especially busy when you have multiple products installed.  You will want to look for the value of "def_prod_key" and "def_prod_ver" when you run this option (highlighted.)  

 

You can now type B to go back to the previous menu. 



3.
   To reset the licensing for your listed product, choose option 2.

 

Choose Option 2 to reset license to factory defaultChoose Option 2 to reset license to factory default

 

By default, the values are set for AutoCAD 2023 with the Product Key of 001O1 and the Product Version of 2023.0.0.F. 

To accept these default values, all you need to do is press <Enter> to continue.  If the values of your product are different, then enter those values instead.  For example, if you have AutoCAD LT 2021 installed, you will use Product Key 057M1.  It will verify your entry and prompt you to confirm that you wish to reset your license back to factory default.   Note:  This license tool is backwards compatible for Autodesk 2020 products, which are shown in the pictured examples.  

 

I suspect product versions will change as different updates and service packs are released -- as they were with the 2020-2022 releases.

 


4.  
To reset your license choose to answer Y to the prompt:  WARNING THIS WILL RESET YOUR LICENSE? [Y or N] _

 

Successful Result has no output between brackets []Successful Result has no output between brackets []

 

If successful, you should receive no output between the brackets.  This is because the Autodesk license helper displays no output for a successful command.  The main difference between this updated version and the older 2020 reset tool is that this version will automatically backup and reset the Named User Autodesk/SSO login of the product for assigned licenses as well. 

 

If you made a typo or the product does not exist on your machine, then an error message will be displayed instead. 

 

Error when product not foundError when product not found

 

Also, if you are using the Autodesk Network License Manager for Network Licensed products, then resetting the licensing will also open the folder location for the LICPATH.LIC file, which contains the location of your license manager.  This will allow you to easily modify the file or remove it altogether if unneeded. 

 


5.  
You can then choose whether or not to reset another licensed product or to quit the program.  When you quit the program, it is set to log an application event to your Windows logs.  This can help you keep track of when the program has been run.  Choosing Y will take you back to the main menu, while choosing N will exit the program.

 


Bonus options
:

 

There are a few extra options included in this batch script that are helpful with Autodesk licensing.  These are optional settings to help make changes that are also otherwise difficult to do or understand. 

 

 Set ADSKFLEX_LICENSE_FILE -  This will allow you to change the System Environment Variable (and subsequently the registry value) of the Autodesk Network License Manager server location on the current client.  Acceptable values are often 27000@SERVERNAME or simply @SERVERNAME.  More information on this variable or instructions on how to set this manually can be found here.

 

Set FLEXLM_TIMEOUT - This will allow you to change the System Environment Variable for the amount of time that Autodesk software waits to check out a network license.  This is helpful when there is network latency or you are using a VPN or WAN to connect to your NLM.  A good start is usually a value of one-million.  (1000000 = 1 second.)  More information on this variable or instructions on how to set this manually can be found here.

 

Open adskflex*.data file location - This will allow you to open the file location where the adskflex*.data file exist that keeps track of single user licensed products.  For more information about manually removing license files, please see this KB Article

 


Download and unzip the script attached below.  Run as Administrator.  If Windows complains that the file is dangerous, you will need to click more information and run anyway. 

 

If you have any issues or want to add features, please feel free to contact me!

 

Good Luck!



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Tags (1)
Labels (1)
9 REPLIES 9
Message 2 of 10
TravisNave
in reply to: TravisNave

Please use this script at your own risk.  I have tested it on Windows 10  for AutoCAD 2023.  You should use this script in the functionality in the Help menu to change licensing is not working or your licensing is corrupted.

 

If you have any problems or would like to add more features, please contact me.  I will try to keep updated versions in this thread if possible. 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 3 of 10
JoseVargas1145
in reply to: TravisNave

Hi,

I got this error when trying options 1:

Get "http://127.0.0.1:61978/api/v1/feature": dial tcp 127.0.0.1:61978: connectex: No connection could be made because the target machine actively refused it.

No firewall, no antivirus and ran the script with admin priviledges.

Message 4 of 10
TravisNave
in reply to: JoseVargas1145

127.0.0.1 is the local host. So either your firewall is blocking it or the
service is not running.


Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 5 of 10
jibijib
in reply to: TravisNave
Message 6 of 10
sestep66
in reply to: TravisNave

The tool worked for us. Thanks!! We needed to switch from expired individual licenses to a network server license. Now trying to find a way to automate the script contents to reset four installs (AC, Rev, InvPro,AC LT) across many pcs.

Message 7 of 10
raczamor
in reply to: TravisNave

I followed the instructions and utilized the script you built.  It showed no errors on completion.  However, the 2023 version is still claiming an expired license.  Are there any additional steps I can take or alternate methods I can try?

 

Thank you

 

Message 8 of 10
TravisNave
in reply to: raczamor

The reset tool allows you to easily change from named-user to network,
etc. It doesn't make an expired license valid again. You would need to
renew and update your licensing.


Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 9 of 10
raczamor
in reply to: TravisNave

According to the account info, the license doesn't expire until October of 2023.

Message 10 of 10
sestep66
in reply to: raczamor

I logged in to AutoDesk and obtained the new license serials and then registered them to get a network license file and updated my combined license file on my license server. Here is the script that worked for my 4 products(AD, INV PRP, REV,AC LT . I pasted it in to PDQ Deploy as a "Command" to push it to my affected machines. It took seconds and it was a life saver.

 

start "" "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" change --prod_key 829N1 --prod_ver 2022.0.0.F --lic_method "NETWORK" --lic_servers "@MYSERVERXXX"
timeout /t 1 /nobreak
start "" "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" change --prod_key 001N1 --prod_ver 2022.0.0.F --lic_method "NETWORK" --lic_servers "@MYSERVERXXX"
timeout /t 1 /nobreak
start "" "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" change --prod_key 057N1 --prod_ver 2022.0.0.F --lic_method "NETWORK" --lic_servers "@MYSERVERXXX"
timeout /t 1 /nobreak
start "" "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" change --prod_key 797N1 --prod_ver 2022.0.0.F --lic_method "NETWORK" --lic_servers "@MYSERVERXXX"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report