Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to reset Autodesk 2020 Licensing

How to reset Autodesk 2020 Licensing

TravisNave
Mentor Mentor
78,881 Views
56 Replies
Message 1 of 57

How to reset Autodesk 2020 Licensing

TravisNave
Mentor
Mentor

CLICK HERE FOR THE NEW VERSION!

 

Problem:  You have Autodesk 2020 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 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. 

 

Solution:  With the introduction of the Autodesk 2020 software release, changing the licensing now requires commands to be entered via an elevated command prompt. 

 

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 #1Essentially, you would need to run a command similar to this for AutoCAD 2020:

 

AdskLicensingInstHelper change --prod_key 001L1 --prod_ver 2020.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 write a batch file to perform these actions without requiring the knowledge necessary in the Autodesk KB article. 

 


Method #2
Download and run the command script attached at the bottom of this article with elevated privileges. 

 

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

 

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.  We will be using these values to reset AutoCAD 2020 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 2020 with the Product Key of 001L1 and the Product Version of 2020.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 2020 installed, you will use Product Key 057L1.  It will verify your entry and prompt you to confirm that you wish to reset your license back to factory default. 

 

I suspect product versions will change as different updates and service packs are released. 

 


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.  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
78,882 Views
56 Replies
Replies (56)
Message 41 of 57

PJsemanekAE7
Participant
Participant

Travis,

 

When trying to use Method 1 in your article I get the following error:

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

 

I also get a relatd error when using the .CMD file in your posting.

HELP!

 

Thanks!

PJ Semanek

0 Likes
Message 42 of 57

TravisNave
Mentor
Mentor

127.0.0.1 is your local machine.  So if it cannot connect to itself, make sure you try turning off your firewall/anti-virus and make sure you run the CMD or the Script as Administrator.  Clearly it is trying to connect via nonstandard port 62180, which could be being blocked by protection software locally.



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 43 of 57

Anonymous
Not applicable

thks 

0 Likes
Message 44 of 57

Anonymous
Not applicable

Thank you for this post! Its nice to see some real help. Autodesks dumpster fire of a license system and support is true garbage. Guess that's what happens when you have no competition. haha. Anyway sorry to vent. 

 

I seem to be having the issue where I click single user and the window disappears a Maya doesn't load. Would this be something that could be caused by a licence error? I get no clues to why this is happening. 

 

Thanks again for the awesome licence tool!

Message 45 of 57

PJsemanekAE7
Participant
Participant

Hi Travis!

 

Outstanding work on this CMD file! 

 

As one of your new web links ( URL: https://forums.autodesk.com/t5/subscription-changes/transition-to-named-user-faq-read-before-you-pos... ) points out...Autodesk's new Named User Policy will be bringing some BIG changes to companies that currently have Multi-User/Network Licensing and I would like to know if you have an updated CMD that RESETS Autodesk Suites / Collections like AEC Collection and all/most of the separate products within the collection? I would like to know if you have a new version that allows Bulk product resetting. With the Autodesk 2021 product line being released too I would like to know if you have a 2021 version due out in the coming weeks.

 

THANKS a bunch!

Phil "PJ" Semanek

 

P.S. I am an Autodesker and worked with John Bleakley an understudy of Jerry Milana.

 

P.S.S.Is there ANY quick way to have the CMD file detect the current Product Version since one or more Autodesk Updates may have been installed since the initial install?

0 Likes
Message 46 of 57

PJsemanekAE7
Participant
Participant

Hi Travis!

 

Outstanding work on this CMD file! 

 

As one of your new web links ( URL: https://forums.autodesk.com/t5/subscription-changes/transition-to-named-user-faq-read-before-you-pos... ) points out...Autodesk's new Named User Policy will be bringing some BIG changes to companies that currently have Multi-User/Network Licensing and I would like to know if you have an updated CMD that RESETS Autodesk Suites / Collections like AEC Collection and all/most of the separate products within the collection? I would like to know if you have a new version that allows Bulk product resetting of Autodesk 2020/2021 down to Autodesk 2017 versions.

 

THANKS a bunch!

 

Phil "PJ" Semanek

 

P.S. I am an Autodesker and worked with John Bleakley (circa 2003-2005) an understudy of Jerry Milana.

 

P.S.S.Is there ANY quick way to have the CMD file detect the current Product Version since one or more Autodesk Updates may have been installed since the initial install?

 

0 Likes
Message 47 of 57

TravisNave
Mentor
Mentor
Automation remains to be seen. I have been talking with Mark Lancaster
about it to see if maybe brute force would be a viable option. I'd have to
really break out some fancy programming skills to automate it. But
ya never know...


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
0 Likes
Message 48 of 57

PJsemanekAE7
Participant
Participant

Hi Travis,

 

Since March 25th we now have Autodesk 2021 products to support etc, so if I enter 2021 in the prompt using your Reset .CMD file will your routine run and reset Autodesk 2021 products?

 

Any news or updates since I last emailed you?

 

Have a safe and healthy week!

 

PJ Semanek

0 Likes
Message 49 of 57

TravisNave
Mentor
Mentor
I need to take the time to try this out. I believe it should work
with some added routines thrown in there to check to see if the SSO agent
is running. I will get to this when I can, but you know how things are
right now with the Rona...


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
0 Likes
Message 50 of 57

DarrenP
Consultant
Consultant

another user provided this tool: https://forums.autodesk.com/t5/installation-licensing/autodesk-licensing-modifier-tool/td-p/9422232

but this is not automated

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

0 Likes
Message 51 of 57

Anonymous
Not applicable

I've tried it but didn't work

attached is the last condition

P.S. I reinstalled it and the program keeps freezing

any suggest?IMG_1648.JPG

0 Likes
Message 53 of 57

PJsemanekAE7
Participant
Participant

Travis,

 

I was trying to RESET Autodesk 3DS Max 2021 today and the RESET.CMD file did not work.

 

Any ideas on resetting Autodesk 2021 products?

 

Thanks for your time.

 

Phil "PJ" Semanek

0 Likes
Message 54 of 57

TravisNave
Mentor
Mentor
I haven't taken the opportunity to work on 2021 license resetting yet, but
I think some of it has to do with a resident SSO program that needs to be
killed before the license will reset. I will have to test.


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 55 of 57

TravisNave
Mentor
Mentor
Accepted solution

I have a new v2 tool updated for the Autodesk 2021 release!  You can find the new script here.

 

I have tested this with network licensing as well as the new named user, which has been preventing the older 2020 version in this thread from working.  The new version is backwards compatible with the 2020 release, so you should only need this version moving forward. 

 

Any and all questions and bug reports about this script should now be moved to the newer thread.

 

Thanks everyone for pushing me to get this done!

 

 

 

 



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
0 Likes
Message 56 of 57

c.paarGX7H2
Participant
Participant

Hello ist your answer the easiest   way to reset the NLM licenses to SLM when switching?

Is this something else again:

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Use-Inst...

So there are three installers?

The flexnet,

NLM and another one ?

If a company has about 20 networklicenses,what is the easiest way to change them to single-user licenses without having to install every one of them again.

It is already preety much work for the admin to assign every single user to the product in the account.

And this situation is very complicated for bigger companys when networklicenses are not avalable anymore and they have to switch ans assign 50 or 100 users.

Many greetings Carolyn 

0 Likes
Message 57 of 57

Anonymous
Not applicable
0 Likes