IDE hangs on startup

I know this topic has been beaten to death but it still exists. I have loaded 2.3.4 on to a Win 11 machine and it displays the classic pulsing icon. After the install, I found the .arduinoIDE folder here. C ://user/.arduinoIDE. I also found this C://user/APPDATA/local/Arduino15. As well as this , arduino-ide-updater. While I have reviewed numerous comments on this problem, none of them have solved . Would someone please give me a way to solve this problem. My pc is running up to date Win 11pro , the cpu is an i7 with 32gb of ram.
Any and all ideas appreciated.

1 Like

Hi @merkelck. I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
    A context menu will open
  5. Select "Open PowerShell window here" from the menu.
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE"
    
  7. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  8. Wait until you are sure the IDE startup has gone into the hang state
    (as indicated by no additional output being printed to the terminal).
  9. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  10. Press the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  11. Press the Ctrl+C keyboard shortcut.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the "Reply" button.
  13. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  14. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Thanks for your reply. I ran into trouble right away in step 3. Neither of those locations contained the item "Arduino IDE".

I found several things. An old version of Arduino that had been moved into this computer from the computer that this is replacing. So I completely removed that installation and then reinstalled 2.3.4. I was now able to find "Arduino IDE" shortcut in the folder "OneDrive\Desktop" . How do you get rid of that thing? I don't use it and I removed the app from the Win11 apps list. I then went directly to the folder and double clicked on the Arduino IDE.exe file and the program still does not open . So now I proceeded with the procedure you provided.
20 minutes later

Warning

Renderer encountered an unexpected error: 0x80070057
The parameter is incorrect

I will await your recommendation

I have tried several times to run this procedure with many different results many of which were just like the screenshot from my last post. I have reinstalled 2.3.4 from scratch with no change in the outcome. Running this procedure described earlier in this post has never produced the results I need. It always ends up with an error as seen in my last post. I think my next effort is going to be to install a clean version of Win11 and start over.
Any and all ideas appreciated.

2 posts were split to a new topic: IDE hangs on startup: "Error verifying signature: signature expired"

I fixed the problem by installing a clean version of win11. Everything is working well not. Thanks for the response.

1 Like

That should say "working well now".

1 Like

A post was split to a new topic: IDE hangs on startup: "wsarecv: A connection attempt failed ..."

A post was split to a new topic: IDE 2.x stuck on pulsating logo