CPN IDE gets stuck in the splash screen

What you see?

CPN IDE starts, but the front-end gets stuck in the splash screen. The back-end does start, which is shown by the Command Prompt where several lines are written to, but the splash screen does not go away.

What happens?

The front-end needs to connect to the back-end, but cannot find whether a back-end is running. The front-end gets stuck in finding the back-end.

What is the problem?

Windows cannot execute the WMIC.exe executable which is required by the front-end to find the back-end, because Windows cannot find this executable.

How to solve?

Add the C:\Windows\System32\wbem folder to your PATH variable, as this is the folder that contains the WMIC.exe executable. This can be done as follows:

  1. Select the Windows Start Menu in the bottom left corner and type “env”. Then select the “Edit the system environment variables” item. A System Properties dialog will pop up.
  2. Select the Environment Variables… button below. An Enviroment Variables dialog will pop up.
  3. Select the Path variable for your user and select the Edit… button. An Edit environment dialog will pop up.
  4. Select the New button and enter C:\Windows\System32\wbem.
  5. Select the OK button for all three dialogs.

Then run CPN IDE again.

Windows should now be able to execute the WMIC.exe executable, which allows the front-end to find the back-end, after which the front-end will connect to the back-end, the splash screen disappears and CPN IDE’s main window appears.

Leave a Reply