There are two reasons for this error to occur. The first thing is either your licensing period has expired. Contact customer support team they will help you out what to do.
Second, The licpath.lic file is not proper that means it got some issues which we need to resolve. If you have ever tried to that file with word or word pad there might be few extra formatting lines added to that file which need to removed.
Open the file with notepad then try to see whether all the server information is in one line rather than in multiple lines. Changes if it is there in multiple lines to single line.
When you encounter an error like this in Autodesk AutoCAD, you may receive “You cannot borrow a license at this time. The borrowing period established for the license server is not valid.” According to Autodesk support, the cause of the error is TBD. To fix the problem, you need to configure the workstation to use the “licpath.lic” file or the “adskflex_license_file” environment variable.
Remove the “adksflex_license_file” environment variable from System Variables in Microsoft Windows. Right-click “My Computer” and select “Properties.” Select “Advanced” tab then click “Environment Variables” under “Startup and Recovery” section at the bottom.
Next, under “System variables” section at the bottom, look for without quotes “adksflex_license_file” and delete it. Click “OK” all throughout.
Next, click “Start,” “All Programs,” “Accessories” then right-click “Command Prompt” and select “Run as administrator.” In the command prompt window, type without quotes “regedit” then hit Enter. In the Registry Editor window, go to the following locations, look for without quotes “adskflex_license_file”, and delete it: