I got a new desktop PC and installed CP 4.1.3. After launching CP, a terminal window appears and within a second it disappears without launching the program.
I followed similar topics at Windows Installation Troubleshooting · CellProfiler/CellProfiler Wiki · GitHub and CellProfiler Startup error: could not find path to Java environment directory on the forum but still unable to solve the issue.
I looked at the Event Viewer that generates logs for programs and CP does not appear in the log.
I have attached more information about the machine
I have also attached screen shot for user variables
Happy to hear your thoughts on what might be going on.