Cloud Agent Runs, then Stops after 1 second

I left my machine running fine last night. I don't turn it off. It was working fine, I could compile and load. I use the USB connection because it's faster than OTA. This morning the USB connection was lost. Checking the Task Manager, I found that the Cloud Agent process was not running. Running the app, it appears in the Task Manager for a second, then disappears. I'm running Windows 11 Pro with Processor 12th Gen Intel(R) Core(TM) i7-12700H, 2700 Mhz, 14 Core(s), 20 Logical Processor(s).
I have rebooted, tried starting with and without the board connected.

Does anyone have any ideas?
TIA

Hi @jacksoncolin. I'm going to ask you to run Arduino Create Agent from the command line, then post the output in a reply here.


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


Please do this:

  1. If Arduino Create Agent is running, terminate it by clicking the Arduino icon in the Windows "notification area" and then selecting "Quit Agent" from the menu.
  2. Right click the Windows "Start" button.
    A context menu will open.
  3. Select "Search" from the menu.
    The Windows "Start" menu will open with a search field selected.
  4. Type windows powershell ise in the search field.
  5. Select "Windows PowerShell ISE" from the search results.
    A "Windows PowerShell ISE" window will open.
  6. Type the following command:
    & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
    
  7. Press the Enter key.
  8. Repeat the operation in Arduino Cloud, just as you did before when you encountered the problem.
  9. Switch back to the "Windows PowerShell ISE" window.
  10. Select Edit > Select All from the Windows PowerShell ISE menus.
    All the text in the terminal panel of the window will be selected.
  11. Select Edit > Copy from the Windows PowerShell ISE menus.
    This will copy the selected text 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.
    Code block icon on toolbar
  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.