NI Package Manager Takes a Long Time to Open

Updated Sep 22, 2020

Reported In

Software

  • Package Manager

Issue Details

I am trying to open NI Package Manager so that I can install or manage my NI software installations. When I launch NI Package Manager, it takes a very long time (sometimes between 5-30 minutes) before it opens.

Solution

This behavior can occur if you are opening NI Package Manager (NIPM) on a PC that has Ethernet connectivity to a network, but does not have access to the internet. See Additional Information below for the cause of this behavior.

To improve the behavior of NIPM on computers without internet access, you can either disconnect the computer from the WIFI or Ethernet network completely before opening NI Package Manager or perform the following steps:

1. Open an command prompt with administrator privileges to C:\Program Files\National Instruments\NI Package Manager.

2. Run the command:

nipkg remove ni-package-manager-released-feed --force-essential

3. Open NI Package Manager.
4.  Click settings button () and uncheck the options In the NIPM settings window, uncheck the options Show the BROWSE PRODUCTS tab and auto-register product feeds and Automatically download and install missing dependencies from NI.com.

Please note that if you upgrade NI Package Manager in the future, you will need to repeat these steps.

Additional Information

When it is opened, NI Package Manager will try to contact servers at www.ni.com to download information about available software feeds. If your computer is completely offline (not connected over WIFI or Ethernet to any network), NI Package Manager can detect this and knows not to try to update these feeds. However, when your PC is on a network but does not have access to the internet, NI Package Manager does not know that it should not be reaching out to ni.com, so it still attempts the connections, which can take a long time.