Logo

How to create a public VPN Server on Windows

As you know, a Virtual Private Network or VPN is used to access a particular network from another network which is why it is also referred to as a mini-internet. Moreover, you can use it in two ways. One, you can use it to get you access to a closed server which means that you would not be getting access to the internet. Second, you can also use it to access a set of resources while at the same time get access to the internet. However, what if you want to access your resources at home even when you’re away? And what if you want to use the private server at home or at your office even when you’re away? This is where the callout for a VPN server for yourself comes in. And so in this post, you will be guided in how you can create a public VPN server on your Windows 10 computer. Follow each one of the given steps below to get started.

Step 1: Find your IP address.

This step is rather simple since all you have to do is open Control Panel > Network and Internet > Network and Sharing Center. From there, click on “Local Area Connection” and then click on Details where you’ll see your IP address next to “Autoconfiguration IPv4 Address”.

Step 2: Next, set up port forwarding on your router.

In this step, you will have to configure port forwarding in your router so that you would be able to connect to the VPN server through a public network like the internet.

  • Log in to the Admin Panel of your router. You have to do this since your router will be the gateway for your access to the network.
  • After you’re logged in, look for the “Port Forwarding” or “Applications and Gaming” or “NAT/QoS” menu tab and other similar names.
  • Now you need to set the port number to 1723 for connections based on Point to Point Tunneling Protocol.
  • Then save the configuration and reboot your router.

Step 3: Set up a VPN server on Windows 10.

  • In the Cortana search box, type “ncpa.cpl” and click on the related entry from the search results.
  • After that, tap the Alt + F keys to bring down the File Menu and then select New Incoming Connection which will open a mini window where you can allow the user accounts on the particular machine to access the VPN connection.
  • On the other hand, you can also click the “Add someone” button so that you can add someone else to the whitelist that can access the connection.
  • Now click on Next and you’ll see an option to select how people will connect to the network. Check the checkbox for the “Through the Internet” option.
  • After that, you will see a page where you have to configure the network. Just select IPv4 and then click on Properties.
  • From there, you will be asked to continue some additional settings like letting users access your Local Area Network or how IP addresses will be allocated to these users. Click on OK to save the changes you’ve made.
  • Click on Allow Access after you configure the network. And if you want to, you have the option to print this information for future reference or for the client machine.
  • Now click on Close to exit the configuration process.

Step 4: Allow the VPN Connections through the firewall

In this step, you will have to allow the VPN connections through the firewall.

  • In the Cortana search box, type “Allow an app through Windows Firewall” and click on the related search result to open the intended Windows Firewall settings.
  • Next, click on Change Settings.
  • Then scroll down to check if Routing and Remote Access is Enabled for both the Public and Private networks and click on OK.

Step 5: Set up a VPN connection on Windows 10

Now all that’s left for you to do is to set up a VPN connection on Windows 10.

  • Go to Settings > Network and Internet.
  • From the list of options given, click on VPN located on the left pane to see the related settings.
  • After that, click on the “+” icon to add a VPN connection.
  • Next, select Windows Default under VPN Provider and under the Connection Name, input your VPN’s name, and then enter the IP address you got from the VPN service provider under the Server name or address section.
  • Now select PPTP under VPN type since it is the most commonly used protocol for VPNs.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

What happened to Facebook and why it is down?
Usually when online service is not working or when something goes wrong online it is DNS, well that is what most of the time is the case. And yes, DNS or Domain Name Server seems to be an issue with Facebook being completely down along with Instagram and wassap. facebook downThe true cause is that there is no working Border Gateway Protocol (BGP) routes into Facebook's sites. BGP is the standardized exterior gateway protocol used to exchange routing and reachability information between the internet top-level autonomous systems (AS). Most people, indeed most network administrators, never need to deal with BGP. Cloudflare VP Dane Knecht was the first to report the underlying BGP problem. This meant, as Kevin Beaumont, former Microsoft's Head of Security Operations Centre, tweeted, "By not having BGP announcements for your DNS name servers, DNS falls apart = nobody can find you on the internet. Same with WhatsApp btw. Facebook has basically de-platformed themselves from their own platform." Many people are very annoyed by this and with the fact that they cannot use their social media platforms but it seems that Facebook employees are in even bigger annoyance as it was reported that Facebook employees can't enter their buildings because their "smart" badges and doors were also disabled by this network failure. If true, Facebook's people literally can't enter the building to fix things. Reddit user u/ramenporn, who claimed to be a Facebook employee working on bringing the social network back from the dead, reported, before he deleted his account and his messages: "DNS for FB services has been affected and this is likely a symptom of the actual issue, and that's that BGP peering with Facebook peering routers has gone down, very likely due to a configuration change that went into effect shortly before the outages happened (started roughly 1540 UTC). There are people now trying to gain access to the peering routers to implement fixes, but the people with physical access is separate from the people with knowledge of how to actually authenticate to the systems and people who know what to actually do, so there is now a logistical challenge with getting all that knowledge unified. Part of this is also due to lower staffing in data centers due to pandemic measures." Ramenporn also stated that it wasn't an attack, but a mistaken configuration change made via a web interface. Both BGP and DNS are down, the "connection to the outside world is down, remote access to those tools don't exist anymore, so the emergency procedure is to gain physical access to the peering routers and do all the configuration locally." Technicians on site don't know how to do that and senior network administrators aren't on site. It seems that it will all be down for a couple of more hours before the issue is resolved.
Read More
The server did not register with DCOM
There are times when after you upgrade your Windows operating system, the System Logs under the Event Viewer will display an error message saying, “Event ID 10010 error – The server did not register with DCOM within the required timeout”. What is DCOM? DCOM stands for “Distributed Component Object Model”. It is a proprietary Microsoft technology that allows the Component Object Model or COM software to communicate across a network. You can consider it as an extension of COM which is equipped with the capability of solving a couple of inherent problems related to the COM model to the better use over a network. COM is a tool that’s used for advanced configuration and troubleshooting in Windows 10. Developers usually use it to configure routine components and application behavior like participation in transactions and object pooling and so on. The Component Services needs the DCOM wire protocol in order to communicate with the Component Object Model components on other computers. By default, in a Windows-based system, the network computers are configured initially to enable DCOM. There are also some components in Windows that might require registering themselves with DCOM. However, if they fail to do so, you will encounter the “The server did not register with DCOM within the required timeout” error. To fix this, here are some suggestions you can check out.

Option 1 – Try to use the Component Services

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “dcomcnfg” in the field and tap Enter to pull up Component Services.
  • Next, double click on the Computers folder located in the right pane and right-click on My Computer, and select the Properties option.
  • After that, switch to the COM Security tab under My Computer Properties and then go to the Access Permissions section.
  • From there, click the Edit Default button and in the new window that appears, apply the correct permission to objects under the Group or user names section.
  • Once you’re done, click OK and exit. This should fix the error.

Option 2 – Make sure that Function Discovery Resource Publication Properties Services is running

  • In the Cortana search box, type “services” and click on the Services icon to open the Services Manager. Alternatively, you can also tap the Win + R keys to launch the Run prompt and then type “services.msc” in the field and hit Enter to open the Services Manager.
  • Next, scroll down and look for the “Function Discovery Resource Publication” entry and double click on it.
  • Then switch to the General tab and from there, make sure that the Startup Type is set to “Manual (Triggered).
  • You also have to make sure that the service is running so if it’s not, just click on the Start button to start the service.
  • Now click on Apply to save the changes made.

Option 3 – Try resetting the default DCOM permissions

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “dcomcnfg” in the field and tap Enter to pull up Component Services.
  • After that, expand Component Services > Computers and right-click on My Computer, and then select Properties.
  • Next, go to the Default Properties tab, and in the Default Distributed COM Communication Properties section, make sure that:
    • Default Authentication Level is set to Connect
    • Default Impersonation Level is set to Identify.
Read More
The Meta Quest Pro VR is coming

Quest 2 has been crowned as the best overall VR headset by many websites, and to be honest it is really a great piece of equipment deserving of every praise it gets. It seems that Meta feels that it can do better so the new upcoming Quest Pro is upgraded and a new line of VR sets from this company. The economic standard Quest line will not be shut down and it will still remain as an economic version of Meta's VR product line.

meta quest pro

Quest Pro will be added as a new line of the better product line with better performance and better quality. It is the first VR headset that is packing Qualcomm Snapdragon XR3+ Gen 1 chipset, 12GB of RAM, 256GB of internal storage, and 10 high-resolution sensors. Of course, this much power and improvement come with a higher price tag, this time that price tag is $1,499.99.

The new VR headset promises industry-leading visuals with a new optical stack instead of Fresnel lenses in Meta Quest 2 with thin-layer pancake optics that fold light reducing the depth of the optical module by 40% and at the same provides clear and sharp visuals.

The headset will give display more vivid colors, richer colors, and higher contrast by incorporating local dimming and quantum dot technology. It composes of specialized backlight hardware accompanied by software algorithms that can control more than individual LED blocks independently.

The Quest Pro will also come packed with new Meta Quest Touch Pro controllers. They will feature three built-in sensors to track the controller's position completely independent of the headset which means that tracking and range of motion will be improved. These new controllers will also be sold separately at the cost of $299.99 and they can be used with Quest 2.

The headset is available for preorder and it will start shipping in late October on the Meta website

Read More
Enable or Disable Status Bar in File Explorer
As you know, the Windows File Explorer is quite a responsive program and contains tons of features. It allows you to do various customizations by changing Settings or changing the value of a Registry key or Group Policy modification. Either way, you will be guided on how you can enable or disable the Status Bar in File Explorer on your Windows 10 computer. The Status Bar is located at the bottom of the File Explorer and shows you how many items are inside the folder and how many items you’ve selected. In addition, it also shows you information about each item and can display items using large thumbnails with just a single click. In order to enable or disable the Status Bar in File Explorer, you can use the two given options below as reference. You can either use the Folder Options or the Registry Editor.

Option 1 – Enable or Disable Status Bar via Folder Options

  • Tap the Win + E keys on your keyboard to open File Explorer.
  • Then tap the Alt + F keys and click on Options.
  • From there, make sure that you are in the View tab and look for the “Show Status Bar” option in the list that gets populated.
  • After that, check if the Show Status Bar option is enabled or disabled. It is supposed to be enabled by default so if it is enabled and you want to disable it, just simply uncheck its checkbox otherwise, leave it as it is.
  • Now click on Apply and then OK to save the changes made

Option 2 – Enable or Disable Status Bar via Registry Editor

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and hit Enter to pull up Registry Editor.
  • Next, navigate to this registry key: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
  • Afterward right-click on Advanced and select New > DWORD (32-bit) Value and then input “ShowStatusBar as the name of the newly created DWORD.
  • Now double click on the new DWORD and change its value to “0” if you want to disable Status Bar and “1” if you want to enable it.
  • Then exit the Registry Editor and restart your computer to apply the changes made.
Read More
An Easy Guide to Fixing Internal Error 2503

Internal Error 2503 - What is it?

Internal Error 2503 mostly pops up on Windows 8. It occurs when you try to uninstall or install software on Windows 8. The error code message may vary and displayed in different formats such as:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2503. Called RunScript when not marked in progress The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2503. Called Install Finalize when no installation is in progress

Solution

Restoro box imageError Causes

Some of the most common causes for internal error 2503 are:
  • Permission not granted to access the Windows Installer Folder
  • Viruses
  • Problems with Windows Installer

Further Information and Manual Repair

To repair this issue on your PC without any professional assistance, try the DIY methods given below:

Method 1

Internal error 2503 may occur when your account has limited privileges. You don’t have the privilege to use or access the Windows Installer folder. Your inability to access this folder hampers you from successfully install or uninstall the desired program on your PC. To gain access, you need to ensure you have permission.
  • For this navigate to the C:\windows folder. Here find the installer folder and then right-click and choose properties.
  • After that click on the security tab and check if the System and Administrator account has Full access permission.
  • For that make sure the system group option has ‘all’ selected to allow you full permission.

Method 2 - Re-register Windows Installer

Another alternative to resolve internal error 2503 is to re-register Windows Installer.
  • To do this, go to Start and click Run. Now type ‘msiexec /unreg’ in the Run box and then press enter.
  • Follow the same steps and now type ‘msiexec /regserver’ in the box and then press enter. This will resolve the issue.

Method 3 - Remove Viruses

If internal error 2503 is triggered by a viral infection on your PC, then it is advisable to download an antivirus and scan your entire system. Viruses are notorious for system failures and pose data security threats. If not removed timely, these malicious programs can damage your PC. To remove all viruses on your system, run an antivirus. An antivirus detects all malicious software programs including viruses, malware, adware, and spyware. Delete all the malicious files found right away. This will help resolve internal error 2503.
Read More
Fix Windows Activation Error Code 0x8007007B in Windows 10
If you recently upgraded your computer or if you’ve just switched to a new Windows 10 PC, the most common errors you might encounter are the Windows Activation errors. This issue boils down to the Windows Activation server which has either failed to validate or recognize the license tied to the digital account. In this post, you will be guided on how to fix an activation error in an organization with an error code 0x8007007B. It contains this exact error message: “We can’t activate Windows on this device as we can’t connect to your organization’s activation server. Make sure that you’re connected to your organization’s network and try again. If you continue having problems with activation, contact your organization’s support person. Error code 0x8007007B.” Various computers are activated via the KMS licensing (Key Management Server) in organizations. Computers that are activated using this process do not get a permanent activation and have to stay connected to the organization instead of for at least 7 months or 180 days. It is common in Pro and Enterprise versions that are deployed in bulk for at least hundreds or thousands of computers. So imagine a user with a personal computer in the office who decided to leave the organization but will still have an activated Windows key. And so to prevent that from happening, organizations use the KMS licensing. Another possible cause of the error is in case some user used an organization key and later on, the PC just got upgraded or downgraded to a version that is not compatible with that copy of Windows. To fix this Windows Activation error, here are some suggestions that might help.

Option 1 – You can try connecting to the organization’s network and activate the computer. But before that, you need to first check if the computer actually belongs to an organization or not.

  • Tap the Win + R keys to open the Run dialog box.
  • Type “cmd” and hit Enter to open an elevated Command Prompt.
  • After that type the vbs /dlv command and hit Enter to execute it.
  • Next, check if the Product Key Channel says “GVLK”. If it does, then it means that your computer was activated using volume licensing.

Option 2 – Change Licence Key

If you’ve recently left an organization then it’s best if you buy another copy of Windows 10 and then change the license key. This time, make sure that the license key is for the same version of Windows. However, if it’s different, you need to format your computer.

Option 3 – You can try activating Windows 10 using a mobile phone

Activating Windows 10 can also be done using your phone. Just note that you have to call Microsoft to do so.
  • In the Start Search box, type in “Slui 4” and tap Enter.
  • Next, select your country and click on Next.
  • Keep the window open and call the toll-free number of the country you’re from.
  • Afterward, a confirmation ID should be given by the automated system which you must take a note of.
  • Finally, in the box on the window, type in the confirmation ID and click on the Activate button. That should do it.

Option 4 – If you think that the issue is caused by some hardware changes, you can try using the Activation Troubleshooter.

There are times when users already have the license keys and were able to activate Windows. However, it doesn’t last long and only works for a while and it’s suddenly throwing up an activation error like this one. To use the Windows Activation Troubleshooter, just go to Settings and to Activation and then run the troubleshooter from there. If you've made some modifications to your hardware, you have to click the “I changed hardware on this device recently” option for further suggestions.
Read More
Changing the Ownership of a File or Folder
There are many times when you have to change the ownership of a folder or a file so that other users can use them as well or if you want to transfer files to them, or an old account has been removed and all the files need to be assigned to a new user. Windows 10 keeps all these files locked under the account by default which created a folder or file. So unless a user is an admin or if the file belongs to that particular user, other users won’t be able to access or edit the file. So if you want to change the ownership of a folder or a file, then you’ve come to the right place as this post will guide you on how exactly you can do that.

To get started, make sure to follow the instructions provided below carefully.

Step 1: First, you need to open File Explorer by tapping the Win + E keys. Once you’ve opened it, navigate to the folder or file that you want to change the ownership. Step 2: Right-click on the folder or file and click on Properties and then go to the Security tab. Step 3: From there, click on the Advanced button located at the bottom right part of the window to open the Advanced Security Settings of the folder or file. Step 4: As you can see, the current owner will be listed with the Change link available next to the “Owner” label. Now click on this link to open the Select User or Group window. Step 5: After that, click on the Advanced button once again and click on the “Find Now” button to see the list of all the users as well as groups that are available in the computer. Step 6: Then select the user you want to give ownership to and click on the OK button and then click the OK button once more to save the changes made. Step 7: This will take you back to the Advanced Security Settings window but this time, the owner will be changed to whoever user you’ve selected. But you’re not done yet as you still have to check two additional options to help you completely transfer the ownership of the sub-folders as well as the files. You have to check the checkbox of the following options:
  • Replace owner on sub-containers and objects
  • Replace all child permission entries with inheritable permission entries from the object.
Step 8: After that, you need to click the Apply and OK buttons to confirm and save the changes made. This will completely transfer the ownership of the file. However, there is still one last thing you have to do – you have to go back to the Advanced Security Settings window to remove the access of any other user on the folder or file. Once you’re there, remove the existing user to make sure that the only assigned user has the access to the folder or file.
Read More
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED CMUSBDAC.sys
If you encounter a Blue Screen error that points out to the CMUDA.sys, read on as this post will guide you in fixing it. The CMUDA.sys file is a Windows operating system driver file that is related to the USB Device Audio capabilities of a computer. There are times when this file causes Blue Screen error due to some conflicts in RAM or some incompatible firmware or hard disk issues, corrupted drivers or malware infection, and so on. There are various Blue Screen errors that are related to the CMUDA.sys file such as:
  • KMODE EXCEPTION NOT HANDLED
  • PAGE FAULT IN A NONPAGED AREA
  • IRQL NOT LESS OR EQUAL
  • SYSTEM THREAD EXCEPTION NOT HANDLED (CMUSBDAC.sys)
In most cases, the CMUDA.sys file usually triggers the SYSTEM_THREAD_EXCEPTION_NOT_HANDLED Blue Screen error. Although this Blue Screen error may seem complicated, its workarounds are straightforward so you won’t have any problems in following them.

Option 1 – Try to update or rollback your device drivers

If the first option didn’t work for you, then it’s time to either update or roll back the device drivers. It is most likely that after you updated your Windows computer that your driver also needs a refresh. On the other hand, if you have just updated your device drivers then you need to roll back the drivers to their previous versions. Whichever applies to you, refer to the steps below.
  • Open the Devices Manager from the Win X Menu.
  • After opening the Device Manager, locate the device drivers that are marked with a small yellow exclamation mark icon and right-click on each one to open their Properties. On the other hand, you can also look for sub-entries under Sound, video, and game controllers like the C-Media USB Audio Class
  • After that, switch to the Driver tab and click on the Uninstall Device button.
  • Follow the screen option to completely uninstall it.
  • Finally, restart your computer. It will just reinstall the device drivers automatically.
Note: You can install a dedicated driver on your computer in case you have it or you could also look for it directly from the website of the manufacturer. You can download the as C-Media USB Audio Class driver from the cmedia.com website.

Option 2 – Try to recreate the CMUDA.sys file

The first thing you can try is to recreate the CMUDA.sys file. Every time your Windows 10 PC boots up, it looks for all the system drivers in place and if it is unable to find them, it tries to create them. Which is why if you remove your corrupt driver file, chances are, you might get a fixed file recreated just for you. How? Refer to the steps below.
  • Boot your Windows 10 PC in Safe Mode.
  • Then open File Explorer and navigate to this location: C:/Windows/System32/drivers
  • From there, look for the file named sys and rename it to CMUDA.old.
Note: As you can see, the file’s extension has changed from .sys to .old.
  • Now restart your computer and check if the CMUDA.sys Blue Screen error is now fixed.

Option 3 – Run the Blue Screen Troubleshooter

The Blue Screen troubleshooter is a built-in tool in Windows 10 that helps users in fixing BSOD errors. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:
  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • After that, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.
On the other hand, you can also try running the online Windows 10 Blue Screen troubleshooter from Microsoft. It is a wizard that could help you fix any Stop errors related to the CMUDA.sys file and will offer you helpful links as you use it.

Option 4 – Try running the DISM tool

You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Wdf01000.sys Blue Screen error. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 5 – Run System Restore

Running System Restore might also help in fixing Blue Screen errors related to the CMUDA.sys file.
  • Tap the Win + R keys to open the Run dialog box.
  • After that, type in “sysdm.cpl” in the field and tap Enter.
  • Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
  • After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.
Read More
Enable or disable Full-screen optimizations
In case you don’t know, there is a feature in Windows 10 computers that allows them to function a lot better. This feature is called Full-Screen optimization and it is enabled by default for several applications such as games and video players. If enabled, the Full-Screen optimization feature enhances the video playback and gaming by simply putting the CPU and GPU process as a priority. However, there are times when it can also result to a drop in the frame rate or FPS while in full-screen mode. And of course, the obvious solution to this dilemma is by disabling the Full-Screen optimization feature which is why Microsoft took action and removed this feature themselves in the recent Windows 10 Update releases. However, there is another way for you to enable it back or disable it yourself if you haven’t installed the recent updates yet and there are plenty of ways you can do both. All you have to do is follow the options given below carefully.

Option 1 – Try using Windows 10 Settings

If you haven’t installed the recent updates yet and all you have are the earlier releases, then this method would suit you.
  • Open the Windows 10 Settings app.
  • Next, navigate to System > Display > Graphics Settings or Advanced graphics settings.
  • From there, uncheck the “Enable Fullscreen optimization” option if you want to disable the feature, else just keep it checked.

Option 2 – Try using the Registry Editor

  • Tap the Win + R keys to open the Run dialog box and then type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Afterward, if a User Account Control or UAC prompt appears, click on Yes.
  • Once the Registry Editor is pulled up, navigate to this registry key: HKEY_CURRENT_USERSystemGameConfigStore
  • Next, right-click on Explorer and select New > DWORD (32-bit) Value and then name it to “GameDVR_DSEBehavior and tap Enter to save it.
  • Now double click on the newly created GameDVR_DSEBehavior DWORD and set its value to “2” if you want to disable it, or “0” if you want to enable it.
  • Once you entered the value, close the Registry Editor and restart your computer to successfully apply the changes made.

Option 3 – Try running the application in Compatibility Mode

If the first two options didn’t work, the next thing you can do is to run the application in a Compatibility Mode. Follow the steps below to do so:
  • Go to the location of the application or game on which you need to disable or enable the Full-Screen optimization feature.
  • After that, right-click on it and select Properties.
  • Next, switch to the Compatibility tab where you can see the “Disable fullscreen optimization” option to disable the feature and vice versa.
  • Now click on the Apply and OK buttons to apply the changes made in the application’s settings.
Read More
Network License NotAvailable15.570.0 Autodesk
If when trying to start Autodesk applications you receive a Network license not available error then please keep on reading, this guide is for you:

Causes of the error:

  • The license on the License Server is invalid.
  • The port for Autodesk Network License Manager is blocked.
  • The client computer is configured with incorrect license server information.
  • The license request is timing out on the client's computer before the license is obtained.

Solutions for the error:


Verify that the Autodesk License Server is setup with the correct license file.

To set up a license server for Windows, perform the following:

  1. Download and install the Network License Manager for Windows:
  2. Open LMTools and access the System Settings tab. Make a note of the "hostname" and "ethernet address" of the license server.
  3. Generate a Network License File in Autodesk Account.
  4. On the Service/License tab, select Configuration Using Services and LMTOOLS ignores license file path environment variables.
  5. On the Config Services tab, enter a name for the new service in the Service Name field.
  6. Fill the following fields, using the Browse buttons:
    • Path to the lmgrd.exe - Navigate to this file: C:\Autodesk\Network License Manager.
    • Path to the License file - Navigate to the new Autodesk.lic file, typically placed in: C:\Autodesk\Network License Manager\Licenses.
    • Path to the Debug Log file: C:\Autodesk\Network License Manager.
    • If no file is present, create a TXT file in Notepad and rename it “Debug.log.”
  7. Make sure the "Start Server at Power Up" and the "Use Services" boxes are checked. Then click Save Services.
  8. On the Start/Stop/Reread tab, click Start Server.
  9. On the Server Status tab, click Perform Status Enquiry.
  10. Licenses should display as active.

How to set up the Autodesk Network License Manager on a Mac.

Note: The Autodesk License Server Manager (version 11.16.2.0) is supported only on the following Mac operating systems:
  • Apple macOS High Sierra 10.13
  • Apple macOS Sierra 10.12
  • Apple Mac OS X El Capitan 10.11
  1. Download Autodesk Network License Manager version 11.16.2.0 for Mac
    • ​​Download the nlm11.16.2.0_ipv4_ipv6_mac_universal.tar.gz file to the Desktop.
  2. To install the Autodesk Network License Manager:
    • Double click on nlm11.16.2.0_ipv4_ipv6_mac_universal.tar.gz to unpack the installer package.
    • After unpacking nlm11.16.2.0_ipv4_ipv6_mac_universal.pkg, will be /Downloads/adlm/FLEXnet folder.
    • Double click on nlm11.16.2.0_ipv4_ipv6_mac_universal.pkg to start installation and follow the installation wizard.
    • The license server will be installed in /usr/local/flexnetserver/ directory.
  3. Change permissions for /usr/local/flexnetserver/ directory to 777
  • Open Terminal (located in /Applications/Utilities/Terminal) and enter the following command:
sudo chmod -R 777 /usr/local/flexnetserver
  • Note: Administrator password may be asked. While typing no characters are shown, just type out the password and hit return key.
  • Note: To start the license server only with elevated permissions (using sudo command), change permissions to 755 instead of 777.
  1. Create /usr/local/flexnetserver/licenses directory for network license file location
sudo mkdir /usr/local/flexnetserver/licenses
  1. Find the license server Host Name and Host ID.
  2. Generate the Network License File in the Autodesk Account
    • Once the license file is generated, make sure it has a .lic extension (e.g. adsk_license.lic) and is in a plain text format and place it in /usr/local/flexnetserver/licenses directory
Note: In this article we will refer to  adsk_license.lic as network license file name. Feel free to change the actual name of the license file, but make sure to reflect the new name when using the commands below.
  1. Create a debug.log file in the /usr/local/flexnetserver/ directory using the following command:
touch debug.log
  1. To start the Network License Server use the following command:
/usr/local/flexnetserver/lmgrd -c /usr/local/flexnetserver/licenses/adsk_license.lic -l /usr/local/flexnetserver/debug.log
Note: If folder permissions for  /usr/local/flexnetserver/ are set to  775, then use sudo command to start the server. For example:
sudo /usr/local/flexnetserver/lmgrd -c /usr/local/flexnetserver/licenses/adsk_license.lic -l /usr/local/flexnetserver/debug.log
  1. To obtain license server status enquiry:
/usr/local/flexnetserver/lmutil lmstat -a -c /usr/local/flexnetserver/licenses/adsk_license.lic
  1. To stop the license server:
/usr/local/flexnetserver/lmutil lmdown -q -force
  • A​​lternatively, run ps command to obtain process ids for lmgrd and adskflex and then kill those processes:
ps -ax | grep lmgrd
ps -ax | grep adskflex
kill -9
  • (provide process ids obtained by previous commands individually)

How to set up the Autodesk Network License Manager on Linux.

Note: The Autodesk License Manager (11.16.2.0) is supported only on the following Linux distros:
  • Red Hat® Enterprise Linux® 7
  • Red Hat Enterprise Linux 6
  • SUSE Linux Enterprise 12
  • SUSE Linux Enterprise 11
To configure the license manager use the following steps:
  1. Download Autodesk Network License Manager v. 11.16.2 for Linux from this link
    • ​​Download the nlm11.16.2.0_ipv4_ipv6_linux64.tar.gz file to your desktop.
  2. To install the Autodesk Network License Manager run following command as root.
    • tar –zxvf nlm11.16.2.0_ipv4_ipv6_linux64.tar.gz
    • rpm -vhi nlm11.16.2.0_ipv4_ipv6_linux64.rpm
    • The license server will be installed in /opt/flexnetserver/ directory.
  3. Find the license server Host Name and Host ID
  • To obtain the license server system hostid run the following command
/opt/flexnetserver/lmutil lmhostid From the command output note the hostid in quotes, if the system has two active NIC cards, select the first MAC address. lmutil - Copyright (c) 1989-2018 Flexera. All Rights Reserved. The FlexNet host ID of this machine is "000c297949e0"
  • To obtain the license server system hostname run the following command
/opt/flexnetserver/lmutil lmhostid hostname From the command output note the hostname of the license server. mutil - Copyright (c) 1989-2018 Flexera. All Rights Reserved. The FlexNet host ID of this machine is "HOSTNAME=Centos7.localdomain"
  1. Generate your Network License File in Autodesk Account
    • Once the license file is generated, make sure it has .lic extension (e.g. adsk_license.lic) and place it in /opt/flexnetserver/licenses directory.  If the directory doesn't exits, create it with this command: sudo mkdir /opt/flexnetserver/licenses
Note: in this article we will refer by adsk_license.lic your network license file name.
  1. To start the Network License Server
    • /opt/flexnetserver/lmgrd -c /opt/flexnetserver/licenses/adsk_license.lic -l /opt/flexnetserver/server_log.log
  2. To obtain license server status enquiry
    • /opt/flexnetserver/lmutil lmstat -a -c /opt/flexnetserver/licenses/adsk_license.lic
  3. To stop your license server service
    • /opt/flexnetserver/lmutil lmdown -q -force
    • alternatively you can also run ps command to obtain process ids for lmgrd and adskflex and then kill those processes
      • ps -aw | grep lmgrd
      • ps -aw | grep adskflex
      • kill -9 (provide process ids obtained by previous commands individually)
  4. To start the license server automatically after the system reboot
    • Open /etc/rc.d/rc.local script as root and enter license server start up command in it.
touch /var/lock/subsys/local /opt/flexnetserver/lmgrd -c /opt/flexnetserver/licenses/adsk_license.lic -l /opt/flexnetserver/server_log.logNote: To ensure that the script will be executed during boot, run following command as root. chmod +x /etc/rc.d/rc.local
  1. Make sure that all necessary ports are open:
  • lmgrd.exe needs ports 27000 to 27009.
  • adskflex.exe needs port 2080.
Note: Errors may occur if the network license file is corrupt or in the case of a combined network license it has incorrectly combined licenses. To learn more about combining licenses, see Combining License Files for Multiple Autodesk Products. Use the License File Parser to verify that the license contains the appropriate products and FLEXnet feature codes and does not display an error

Verify that TCP ports (2080, 27000-27009) used by Autodesk Network License Manager are not blocked by Firewall.

The FLEXlm® based version uses the following incoming ports:
  • TCP ports 2080 (for the adskflex vendor daemon)
  • TCP ports 27000 to 27009 (for the lmgrd master daemon, which uses the first open port in the range)
Note: If these port addresses are restricted by a router or firewall software, users on the remote side of the router will not have access to licenses controlled by the Network License Manager.

Verify that the client computer is configured with the correct license server name or IP.

Windows:

Clear license server information from the system registry.

  1. Type regedit in the Windows Search box and hit Enter key.
  2. Select the following registry key
  • [HKEY_CURRENT_USER\SOFTWARE\FLEXlm License Manager]
  1. As the key is selected, in right panel ADSKFLEX_LICENSE_FILE will be visible.
  2. Right click on the key and delete it.

Specify the license server in ADSKFLEX_LICENSE_FILE system variable 

  1. Go to Start > Control Panel > System and Security > System.
  2. Select Advanced system settings.
  3. On the System Properties dialog, click Environment Variables.
  4. Under System Variables, click New.
  5. Enter ADSKFLEX_LICENSE_FILE for the variable name and 2080@SERVER_NAME _OR _IP for the variable value.
Note: the license server information most often is recorded in LICPATH.lic file and can be verified there too.  ADSKFLEX_LICENSE_FILE system variable supersedes LICPATH.lic.  Thus, setting the system variable is preferable when this error is seen.

If the license server is on a VPN or a remote network set the FLEXLM_TIMEOUT environment variable:

  1. Go to Start > Control Panel > System and Security > System.
  2. Select Advanced system settings.
  3. On the System Properties dialog, click Environment Variables.
  4. Under System Variables, click New.
  5. Enter FLEXLM_TIMEOUT for the variable name and 5000000 for the variable value.
  6. Click OK to save the setting.
Note: if needed the variable value can be increased to 10000000.

Mac/Linux:

Specify the Autodesk Network License server information in $HOME/.flexlmrc file.

Use a text editor to create a flexlmrc.txt file and save it in Plain text format (In TextEdit on Mac: Format - Make Plain Text) on desktop. The file content should look like this, except with the name or IP address of the license server.
  • ADSKFLEX_LICENSE_FILE=@SERVER_NAME _OR _IP
If the license server is on the same machine as the Autodesk software, use localhost as the license server name.  Thus, the content of flexlmrc file could look like this:
  • ADSKFLEX_LICENSE_FILE=@localhost
Note: On firewall restricted network or when accessing the license server via VPN, need to include TCP port/s (usually 27000 or 2080) into Autodesk License Server service as follows: ADSKFLEX_LICENSE_FILE=2080@SERVER_NAME _OR _IP

Once flexlmrc file is created move it to user's $HOME folder as follows:

  1. Open a Terminal window
  2. Type open ~ (Mac) or nautilus ~ (Linux) to open $HOME folder
  3. Drag and drop flexlmrc.txt file from Desktop to the home folder.
  4. To make the file a configuration file, rename it to .flexlmrc (please note . [DOT] in front of the file name) by running the following command:
  • mv flexlmrc.txt .flexlmrc (Mac)
  • mv flexlmrc .flexlmrc (Linux)

Verify that the license server information registered with the product is correct (versions 2020 and later only)

In versions 2020 and later, the license server information is registered with the AdskLicensing service running locally on the workstation. When changing to a new license server, the old server information may still be registered with AdskLicensing and result in the error above, if this is not appropriately updated. See the below steps to solve this:
  1. Click the Start menu and type cmd.
  2. Right-click on the Command prompt and choose "Run As Administrator."
  3. In the Command prompt, run the following command, followed by ENTER:

"C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" change -pk PRODKEY -pv VER.0.0.F -lm "" -ls "" -lt""

Note:

  • Replace PRODKEY with the product key correspondent to your product(s). See Look Up Product Keys for the full list.
  • Replace VER with the version you are using. E.g. 2020 for AutoCAD 2020.
  • Repeat this step for each software you need to reset.
  1. Open Registry Editor (Start > type regedit > ENTER).
  2. Navigate to HKEY_CURRENT_USER\Software\FLEXlm License Manager.
  3. On the right-side, verify of the ADSKFLEX_LICENSE_FILE key exists. If yes, remove it (right-click > Delete).
  4. Run the software again.
  5. Select Multi-user in the Let's Get Started screen.
  6. Follow the steps to connect to your license server.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status