IDE 2.0.4 does not detect any COM port of the Arduino Uno board

Hello everyone,
for three days the IDE 2.0.4 does not detect any COM port of the Arduino Uno board although the COM3 appears in the Device Manager. I downloaded IDE version 1.8.19 and it detects the card on COM3 port and everything works, also the Arduino web editor Agent recognizes the port of the board, as well as in the IDE 1.8.19. I tried installing the latest version of Java, uninstalling the 2.0 IDEs with Revounistaller and reinstalling them but the problem persists. On a Laptop with windows 11 instead the 2.0.4 IDE continues to work fine, the environment detects the port to which the Arduino Uno board is connected. The operating system of the pc is Windows 11 and the antivirus is windows defender
Could anyone help me?

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

Please do this:

  1. Start Windows "File Explorer".
  2. Open the Arduino IDE installation folder.
    (usually C:\Program Files\Arduino IDE or C:\Users\<username>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type the following command:
    & ".\Arduino IDE"
    
  6. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  7. Wait for Arduino IDE to finish starting.
  8. Switch back to the PowerShell window.
  9. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  10. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  11. Press Ctrl+C.
    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 </> 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
  14. Press Ctrl+V.
    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.

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"& ".\Arduino IDE"& ".\Arduino IDE"& ".\Arduino IDE [10324:0313/011347.975:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Starting backend process. PID: 1512
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/aldof/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-03-13T00:11:55.246Z root INFO Backend Object.initialize: 5.2 ms [Finished 7.382 s after backend start]
2023-03-13T00:11:55.247Z root INFO Backend Object.configure: 4.4 ms [Finished 7.382 s after backend start]
2023-03-13T00:11:55.247Z root INFO Backend MessagingContribution.onStart: 1.5 ms [Finished 7.382 s after backend start]
2023-03-13T00:11:55.248Z root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 7.460 s after backend start]
2023-03-13T00:11:55.249Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 7.460 s after backend start]
2023-03-13T00:11:55.250Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 7.461 s after backend start]
2023-03-13T00:11:55.250Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 78.0 ms [Finished 7.461 s after backend start]
2023-03-13T00:11:55.251Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 7.461 s after backend start]
2023-03-13T00:11:55.252Z root INFO Backend ElectronTokenBackendContribution.configure: 1.2 ms [Finished 7.462 s after backend start]
2023-03-13T00:11:55.252Z config INFO >>> Initializing CLI configuration...
2023-03-13T00:11:55.253Z root INFO Backend PluginDeployerContribution.initialize: 0.5 ms [Finished 7.462 s after backend start]
2023-03-13T00:11:55.253Z root INFO Backend ConfigServiceImpl.onStart: 1.0 ms [Finished 7.463 s after backend start]
2023-03-13T00:11:55.254Z config INFO Loading CLI configuration from c:\Users\aldof\.arduinoIDE\arduino-cli.yaml...
2023-03-13T00:11:55.255Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 7.464 s after backend start]
2023-03-13T00:11:55.255Z root INFO Backend ArduinoDaemonImpl.onStart: 1.1 ms [Finished 7.465 s after backend start]
2023-03-13T00:11:55.255Z root INFO Backend NodeFileUploadService.configure: 2.3 ms [Finished 7.465 s after backend start]
2023-03-13T00:11:55.255Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-03-13T00:11:55.255Z discovery-log INFO start
2023-03-13T00:11:55.255Z discovery-log INFO start new deferred
2023-03-13T00:11:55.256Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 7.466 s after backend start]
2023-03-13T00:11:55.256Z root INFO Backend BoardDiscovery.onStart: 1.2 ms [Finished 7.467 s after backend start]
2023-03-13T00:11:55.256Z root INFO Backend FileDownloadEndpoint.configure: 1.0 ms [Finished 7.468 s after backend start]
2023-03-13T00:11:55.256Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 7.469 s after backend start]
2023-03-13T00:11:55.256Z root INFO Backend PluginApiContribution.configure: 0.5 ms [Finished 7.469 s after backend start]
2023-03-13T00:11:55.258Z root INFO Backend HostedPluginReader.configure: 0.5 ms [Finished 7.470 s after backend start]
2023-03-13T00:11:55.258Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 7.471 s after backend start]
2023-03-13T00:11:55.262Z root INFO Backend PlotterBackendContribution.configure: 1.1 ms [Finished 7.472 s after backend start]
2023-03-13T00:11:55.264Z root INFO Theia app listening on http://localhost:61318.
2023-03-13T00:11:55.265Z root INFO Finished starting backend application: 9.2 ms [Finished 7.479 s after backend start]
2023-03-13T00:11:55.266Z root WARN The local plugin referenced by local-dir:/c%3A/Users/aldof/.arduinoIDE/plugins does not exist.
2023-03-13T00:11:55.267Z root WARN The local plugin referenced by local-dir:/c%3A/Users/aldof/.arduinoIDE/extensions does not exist.
2023-03-13T00:11:55.267Z root WARN The local plugin referenced by local-dir:C:\Users\aldof\.arduinoProIDE\plugins does not exist.
2023-03-13T00:11:55.297Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.297Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-03-13T00:11:55.298Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.299Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.7" with engines:
2023-03-13T00:11:55.299Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.299Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-03-13T00:11:55.300Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.300Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-03-13T00:11:55.301Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.301Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-03-13T00:11:55.302Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.303Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-03-13T00:11:55.304Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.304Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-03-13T00:11:55.305Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.305Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-03-13T00:11:55.306Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.306Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-03-13T00:11:55.307Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.307Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-03-13T00:11:55.308Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.308Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-03-13T00:11:55.309Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.309Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-03-13T00:11:55.310Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.310Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-03-13T00:11:55.311Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.311Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-03-13T00:11:55.312Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.312Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-03-13T00:11:55.313Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.313Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-03-13T00:11:55.314Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.314Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-03-13T00:11:55.314Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.315Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-03-13T00:11:55.315Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.316Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-03-13T00:11:55.317Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.318Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-03-13T00:11:55.320Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-03-13T00:11:55.324Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-03-13T00:11:55.330Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\aldof\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\aldof\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\aldof\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\aldof\\OneDrive\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"it","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-03-13T00:11:55.330Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-03-13T00:11:55.330Z config INFO Loaded the CLI configuration.
2023-03-13T00:11:55.339Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/aldof/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/aldof/OneDrive/Documents/Arduino","additionalUrls":[],"network":"none","locale":"it"}
2023-03-13T00:11:55.340Z config INFO Validating the CLI configuration...
2023-03-13T00:11:55.341Z config INFO The CLI config is valid.
2023-03-13T00:11:55.341Z config INFO <<< Initialized the CLI configuration.
2023-03-13T00:11:55.361Z root INFO Resolve plugins list: 107.7 ms [Finished 7.576 s after backend start]
2023-03-13T00:11:55.368Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 6.5 ms [Finished 7.583 s after backend start]
2023-03-13T00:11:55.383Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.7" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 14.4 ms [Finished 7.597 s after backend start]
2023-03-13T00:11:55.395Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 12.4 ms [Finished 7.609 s after backend start]
2023-03-13T00:11:55.402Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 6.5 ms [Finished 7.616 s after backend start]
2023-03-13T00:11:55.403Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 1.4 ms [Finished 7.618 s after backend start]
2023-03-13T00:11:55.663Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 260.1 ms [Finished 7.878 s after backend start]
2023-03-13T00:11:55.682Z daemon INFO INFO[0000] Using config file: c:\Users\aldof\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.31.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"61322"}

2023-03-13T00:11:55.683Z daemon INFO Daemon is running.
2023-03-13T00:11:56.022Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 359.0 ms [Finished 8.237 s after backend start]
2023-03-13T00:11:56.028Z daemon INFO INFO[0000] Loading hardware from: c:\Users\aldof\AppData\Local\Arduino15\packages

2023-03-13T00:11:56.299Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 276.7 ms [Finished 8.513 s after backend start]
2023-03-13T00:11:56.300Z daemon INFO INFO[0000] Loading package arduino from: C:\Users\aldof\AppData\Local\Arduino15\packages\arduino\hardware
INFO[0000] Checking signature                            error="apertura del file della firma: open C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json" signatureFile="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json.sig"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:avr@1.8.6"
INFO[0000] Checking signature                            error="apertura del file della firma: open C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.8\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.8\\installed.json" signatureFile="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.8\\installed.json.sig"
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:megaavr@1.8.8"
INFO[0000] Checking existence of 'tools' path: C:\Users\aldof\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loading tools from dir: C:\Users\aldof\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino5"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loading package builtin from: C:\Users\aldof\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\aldof\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\aldof\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.8"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.3"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.5"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.11.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.12.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.13.0"
INFO[0000] Checking signature                            index="c:\\Users\\aldof\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\aldof\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Adding libraries dir                          dir="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
INFO[0000] Adding libraries dir                          dir="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.8\\libraries" location=platform
INFO[0000] Loading libraries index file                  index="c:\\Users\\aldof\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0000] Adding libraries dir                          dir="C:\\Users\\aldof\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir                          dir="c:\\Users\\aldof\\OneDrive\\Documents\\Arduino\\libraries" location=user

2023-03-13T00:11:56.484Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 185.2 ms [Finished 8.699 s after backend start]
2023-03-13T00:11:56.563Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 79.0 ms [Finished 8.778 s after backend start]
2023-03-13T00:11:56.566Z discovery-log INFO start request start watch
2023-03-13T00:11:56.566Z discovery-log INFO start requested start watch
2023-03-13T00:11:56.566Z discovery-log INFO start resolved watching
2023-03-13T00:11:56.572Z daemon INFO INFO[0001] starting discovery builtin:mdns-discovery process
INFO[0001] starting discovery builtin:serial-discovery process
ERRO[0001] Discovery builtin:serial-discovery failed to run: il processo di rilevamento builtin:serial-discovery non è stato avviato: exec: "C:\\Users\\aldof\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\serial-discovery\\1.4.0\\serial-discovery": file does not exist
ERRO[0001] stopped discovery builtin:serial-discovery decode loop: read |0: file already closed

2023-03-13T00:11:56.576Z daemon INFO INFO[0001] started discovery builtin:mdns-discovery process
INFO[0001] sending command HELLO 1 "arduino-cli 0.31.0" to discovery builtin:mdns-discovery

2023-03-13T00:11:56.647Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 84.0 ms [Finished 8.862 s after backend start]
2023-03-13T00:11:56.648Z daemon INFO INFO[0001] from discovery builtin:mdns-discovery received message type: hello, messaggio: OK, versione protocollo: 1
INFO[0001] sending command START_SYNC to discovery builtin:mdns-discovery
INFO[0001] from discovery builtin:mdns-discovery received message type: start_sync, messaggio: OK

2023-03-13T00:11:56.733Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 85.7 ms [Finished 8.948 s after backend start]
2023-03-13T00:11:56.814Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 81.2 ms [Finished 9.029 s after backend start]
2023-03-13T00:11:56.894Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 79.8 ms [Finished 9.109 s after backend start]
2023-03-13T00:11:56.929Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 34.6 ms [Finished 9.143 s after backend start]
2023-03-13T00:11:57.008Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 79.6 ms [Finished 9.223 s after backend start]
2023-03-13T00:11:57.101Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 92.1 ms [Finished 9.315 s after backend start]
2023-03-13T00:11:57.189Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 88.9 ms [Finished 9.404 s after backend start]
2023-03-13T00:11:57.273Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 83.4 ms [Finished 9.487 s after backend start]
2023-03-13T00:11:57.324Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 51.0 ms [Finished 9.538 s after backend start]
2023-03-13T00:11:57.416Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Program Files\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 85.0 ms [Finished 9.623 s after backend start]
2023-03-13T00:11:57.442Z root INFO Deploy plugins list: 107.7 ms [Finished 9.631 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-03-13T00:11:58.446Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 222.2 ms [Finished 3.070 s after frontend start]
2023-03-13T00:11:58.603Z root INFO Start frontend contributions: 450.5 ms [Finished 3.235 s after frontend start]
2023-03-13T00:11:58.604Z root INFO Changed application state from 'init' to 'started_contributions'.
2023-03-13T00:11:58.614Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2023-03-13T00:11:58.615Z root INFO >>> Restoring the layout state...
2023-03-13T00:11:58.615Z root INFO <<< Nothing to restore.
2023-03-13T00:11:58.646Z root INFO Initialize the workbench layout: 21.0 ms [Finished 3.293 s after frontend start]
2023-03-13T00:11:58.662Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
[10248:0313/011158.752:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
2023-03-13T00:11:58.845Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938] Waiting for backend deployment: 123.6 ms [Finished 3.355 s after frontend start]
[10248:0313/011158.893:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
2023-03-13T00:11:59.224Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760) starting instance
2023-03-13T00:11:59.655Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938] Sync of 21 plugins: 928.2 ms [Finished 4.283 s after frontend start]
2023-03-13T00:11:59.657Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][marus25.cortex-debug]: Loaded contributions.
2023-03-13T00:11:59.658Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][arduino.vscode-arduino-tools]: Loaded contributions.
2023-03-13T00:11:59.658Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.cpp]: Loaded contributions.
2023-03-13T00:11:59.659Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.json]: Loaded contributions.
2023-03-13T00:11:59.659Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.json-language-features]: Loaded contributions.
2023-03-13T00:11:59.660Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
2023-03-13T00:11:59.660Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
2023-03-13T00:11:59.661Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
2023-03-13T00:11:59.661Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
2023-03-13T00:11:59.662Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
2023-03-13T00:11:59.663Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
2023-03-13T00:11:59.663Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
2023-03-13T00:11:59.664Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
2023-03-13T00:11:59.664Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
2023-03-13T00:11:59.665Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
2023-03-13T00:11:59.668Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
2023-03-13T00:11:59.668Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
2023-03-13T00:11:59.669Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
2023-03-13T00:11:59.669Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
2023-03-13T00:11:59.669Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
2023-03-13T00:11:59.670Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
2023-03-13T00:11:59.671Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938] Load contributions of 21 plugins: 28.6 ms [Finished 4.312 s after frontend start]
[10248:0313/011200.152:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.169:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.182:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
2023-03-13T00:12:00.178Z root INFO Frontend application start: 1794.9 ms [Finished 12.392 s after backend start]
2023-03-13T00:12:00.183Z root INFO Replace loading indicator with ready workbench UI (animation): 1181.8 ms [Finished 4.486 s after frontend start]
2023-03-13T00:12:00.183Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2023-03-13T00:12:00.201Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-03-13T00:12:00.201Z root WARN a registered grammar configuration for 'cpp' language is overridden
Checking for update
[10248:0313/011200.306:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.393:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.396:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.419:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.457:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.489:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.517:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
[10248:0313/011200.570:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
Update for version 2.0.4 is not available (latest version: 2.0.4, downgrade is allowed).
2023-03-13T00:12:01.438Z root ERROR ---- !!!SLOW!!! DURATION: search took 922.851 ms. Args: [{"type":"Updatable"}] ----
2023-03-13T00:12:01.453Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): PluginManagerExtImpl/init()
2023-03-13T00:12:01.457Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(cortex-debug@1.5.1 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.462Z root INFO [hosted-plugin: 13760] Debugger contribution has been registered: cortex-debug
2023-03-13T00:12:01.464Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-arduino-tools@0.0.2-beta.7 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.465Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(cpp@1.52.1 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.466Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(json@1.46.1 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.468Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(json-language-features@1.46.1 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
PLUGIN_HOST(13760): initializing(vscode-language-pack-bg@1.48.3 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.469Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-cs@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.470Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-de@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.471Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-es@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.472Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-fr@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.474Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-hu@1.48.3 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
PLUGIN_HOST(13760): initializing(vscode-language-pack-it@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
PLUGIN_HOST(13760): initializing(vscode-language-pack-ja@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.475Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-ko@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.476Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-nl@1.48.3 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.477Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-pl@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.478Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-pt-BR@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.478Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-ru@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.479Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-tr@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.480Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): initializing(vscode-language-pack-uk@1.48.3 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
PLUGIN_HOST(13760): initializing(vscode-language-pack-zh-hans@1.53.2 with C:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2023-03-13T00:12:01.483Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2023-03-13T00:12:01.523Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][marus25.cortex-debug]: Started plugin.
2023-03-13T00:12:01.524Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][arduino.vscode-arduino-tools]: Started plugin.
2023-03-13T00:12:01.525Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.cpp]: Started plugin.
2023-03-13T00:12:01.525Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.json]: Started plugin.
2023-03-13T00:12:01.526Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][vscode.json-language-features]: Started plugin.
2023-03-13T00:12:01.526Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-bg]: Started plugin.
2023-03-13T00:12:01.527Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-cs]: Started plugin.
2023-03-13T00:12:01.527Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-de]: Started plugin.
2023-03-13T00:12:01.528Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-es]: Started plugin.
2023-03-13T00:12:01.528Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-fr]: Started plugin.
2023-03-13T00:12:01.529Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-hu]: Started plugin.
2023-03-13T00:12:01.529Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-it]: Started plugin.
2023-03-13T00:12:01.530Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ja]: Started plugin.
2023-03-13T00:12:01.530Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ko]: Started plugin.
2023-03-13T00:12:01.530Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-nl]: Started plugin.
2023-03-13T00:12:01.531Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-pl]: Started plugin.
2023-03-13T00:12:01.534Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
2023-03-13T00:12:01.534Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-ru]: Started plugin.
2023-03-13T00:12:01.535Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-tr]: Started plugin.
2023-03-13T00:12:01.535Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-uk]: Started plugin.
2023-03-13T00:12:01.536Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
2023-03-13T00:12:01.550Z root INFO [hosted-plugin: 13760] PLUGIN_HOST(13760): PluginManagerExtImpl/loadPlugin(C:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2023-03-13T00:12:01.588Z root INFO [hosted-plugin: 13760] Debug configuration provider has been registered: cortex-debug, trigger: 1
2023-03-13T00:12:01.591Z root INFO [hosted-plugin: 13760] GDB server console created
2023-03-13T00:12:01.600Z root INFO [a73b3390-1746-46cd-81a2-7330d6412938] Start of 21 plugins: 1931.7 ms [Finished 6.257 s after frontend start]
[10248:0313/011202.223:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters

I see the problem here:

serial-discovery is the tool that provides Arduino IDE 2.x with the list of serial ports on your computer. Arduino IDE automatically installs this tool dependency the first time you start the IDE, and also installs updates whenever Arduino makes a new release.

Something went wrong during the installation or update, which caused the file at this path to be lost:

C:\Users\aldof\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.4.0\serial-discovery.exe

The other users who experienced this problem found the reason for the missing file was a false positive by their antivirus or security software. Please check your security software's quarantine. If you can restore the file from quarantine and then restart Arduino IDE, you should find that the ports are detected as expected.

I also recommend adjusting the configuration of your security software so that it won't interfere with any future updates of the tool that will occur when Arduino makes new releases of it.

If you are unable to restore the file from quarantine, just comment here to let me know and I'll provide some alternative instructions you can follow to force Arduino IDE to install a fresh copy of serial-discovery

Thank you very much, I downloaded the serial-discovery_windows_amd64 folder from Github and pasted it in the path you told me and finally the IDE recognizes the COM3 port to which the Arduino board is connected
https://github.com/arduino/serial-discovery/releases

Nice work on finding that solution to the problem.

I was reserving that option as "plan C" because some users find working directly with the file system at this level challenging. Clearly you don't fall into that category!

Could we make a "sticky" that enumerates the various obstacles a user might encounter in loading and operating the IDE software? I had no idea virus checking safeties could corrupt a download/install and never make you aware what it had done.