I can't open Arduino IDE after installing. I read some posts and did as the instructioons. Here is the reslut

Version 2.3.3

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS D:\arduino-ide_2.3.3_Windows_64bit> "./Arduino IDE"
./Arduino IDE
PS D:\arduino-ide_2.3.3_Windows_64bit>  ".\Arduino IDE"
.\Arduino IDE
PS D:\arduino-ide_2.3.3_Windows_64bit> & ".\Arduino IDE"
PS D:\arduino-ide_2.3.3_Windows_64bit>
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\electron-main.js, destination 'package.json': D:\arduino-ide_2.3.3_Windows_64bit\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.3" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.0.4" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-09-25T09:41:18.242Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.3","cliVersion":"1.0.4","buildDate":"2024-09-25T09:41:18.242Z"}
Starting backend process. PID: 34160
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Bhone%20Pyae%20Sone%20Hein/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-09-30T11:36:56.214Z root INFO Backend Object.initialize: 4.4 ms [Finished 0.486 s after backend start]
2024-09-30T11:36:56.215Z root INFO Backend Object.configure: 3.6 ms [Finished 0.486 s after backend start]
2024-09-30T11:36:56.215Z root INFO Backend a.onStart: 1.9 ms [Finished 0.486 s after backend start]
2024-09-30T11:36:56.215Z root INFO Backend a.configure: 0.3 ms [Finished 0.506 s after backend start]
2024-09-30T11:36:56.216Z root INFO Backend d.onStart: 0.2 ms [Finished 0.506 s after backend start]
2024-09-30T11:36:56.217Z root INFO Backend d.configure: 0.1 ms [Finished 0.507 s after backend start]
2024-09-30T11:36:56.218Z root INFO Backend d.initialize: 20.7 ms [Finished 0.507 s after backend start]
2024-09-30T11:36:56.218Z root INFO Backend c.onStart: 0.2 ms [Finished 0.507 s after backend start]
2024-09-30T11:36:56.219Z root INFO Backend s.configure: 1.0 ms [Finished 0.508 s after backend start]
2024-09-30T11:36:56.220Z config INFO >>> Initializing CLI configuration...
2024-09-30T11:36:56.220Z root INFO Backend c.initialize: 0.6 ms [Finished 0.508 s after backend start]
2024-09-30T11:36:56.220Z root INFO Backend x.onStart: 1.0 ms [Finished 0.509 s after backend start]
2024-09-30T11:36:56.221Z config INFO Loading CLI configuration from c:\Users\Bhone Pyae Sone Hein\.arduinoIDE\arduino-cli.yaml...
2024-09-30T11:36:56.221Z daemon INFO Starting daemon from D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\resources\arduino-cli.exe...
2024-09-30T11:36:56.221Z root INFO Backend s.initialize: 0.4 ms [Finished 0.510 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend w.onStart: 1.2 ms [Finished 0.511 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend r.configure: 2.1 ms [Finished 0.511 s after backend start]
2024-09-30T11:36:56.221Z discovery-log INFO start
2024-09-30T11:36:56.221Z discovery-log INFO start new deferred
2024-09-30T11:36:56.221Z root INFO Backend d.initialize: 0.3 ms [Finished 0.511 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend y.onStart: 1.6 ms [Finished 0.513 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend r.configure: 1.4 ms [Finished 0.513 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend s.onStart: 0.4 ms [Finished 0.514 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend h.configure: 0.3 ms [Finished 0.514 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend a.configure: 0.1 ms [Finished 0.514 s after backend start]
2024-09-30T11:36:56.221Z root INFO Backend l.configure: 0.0 ms [Finished 0.514 s after backend start]
2024-09-30T11:36:56.224Z root INFO Theia app listening on http://127.0.0.1:52374.
2024-09-30T11:36:56.224Z root INFO Finished starting backend application: 3.2 ms [Finished 0.517 s after backend start]
2024-09-30T11:36:56.238Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Bhone%20Pyae%20Sone%20Hein/.arduinoIDE/plugins does not exist.
2024-09-30T11:36:56.238Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Bhone%20Pyae%20Sone%20Hein/.arduinoIDE/extensions does not exist.
2024-09-30T11:36:56.238Z root WARN The local plugin referenced by local-dir:C:\Users\Bhone Pyae Sone Hein\.arduinoIDE\plugins does not exist.
2024-09-30T11:36:56.242Z root ERROR Uncaught Exception:  Error: EPERM: operation not permitted, mkdir 'C:\Users\Bhone Pyae Sone Hein\.arduinoIDE'
2024-09-30T11:36:56.243Z root ERROR Error: EPERM: operation not permitted, mkdir 'C:\Users\Bhone Pyae Sone Hein\.arduinoIDE'
2024-09-30T11:36:56.267Z root INFO Resolve plugins list: 46.1 ms [Finished 0.559 s after backend start]
2024-09-30T11:36:56.370Z root INFO Error: Error executing D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\Bhone Pyae Sone Hein\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\Bhone Pyae Sone Hein\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\main.js:2:788280)
    at ChildProcess.emit (node:events:514:28)
    at Process.onexit (node:internal/child_process:291:12)
2024-09-30T11:36:56.370Z config ERROR Failed to initialize the CLI configuration. Error: Error executing D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\Bhone Pyae SoneHein\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\Bhone Pyae Sone Hein\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (D:\arduino-ide_2.3.3_Windows_64bit\resources\app\lib\backend\main.js:2:788280)
    at ChildProcess.emit (node:events:514:28)
    at Process.onexit (node:internal/child_process:291:12)
2024-09-30T11:36:56.380Z daemon INFO time="2024-09-30T18:06:56+06:30" level=info msg="arduino-cli version 1.0.4"
time="2024-09-30T18:06:56+06:30" level=info msg="Using config file: c:\\Users\\Bhone Pyae Sone Hein\\.arduinoIDE\\arduino-cli.yaml"
time="2024-09-30T18:06:56+06:30" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:52375
{"IP":"127.0.0.1","Port":"52375"}
2024-09-30T11:36:56.380Z daemon INFO Daemon is running.
2024-09-30T11:36:56.453Z daemon INFO time="2024-09-30T18:06:56+06:30" level=info msg="Checking signature" index="C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-09-30T18:06:56+06:30" level=info msg="Loading hardware from: C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\packages"
time="2024-09-30T18:06:56+06:30" level=info msg="Loading package builtin from: C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2024-09-30T18:06:56+06:30" level=info msg="Checking existence of 'tools' path: C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-09-30T18:06:56+06:30" level=info msg="Loading tools from dir: C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-09-30T18:06:56+06:30" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-09-30T18:06:56+06:30" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-09-30T18:06:56+06:30" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-09-30T18:06:56+06:30" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
time="2024-09-30T18:06:56+06:30" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
time="2024-09-30T18:06:56+06:30" level=info msg="Loading libraries index file" index="C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\library_index.json"
2024-09-30T11:36:56.679Z daemon INFO time="2024-09-30T18:06:56+06:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Bhone Pyae Sone Hein\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2024-09-30T18:06:56+06:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Bhone Pyae Sone Hein\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-09-30T11:36:57.859Z root ERROR Failed to initialize global state path: Error: EPERM: operation not permitted, mkdir 'c:\Users\Bhone Pyae Sone Hein\.arduinoIDE'
2024-09-30T11:36:57.914Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 130.4 ms [Finished 1.584 s after frontend start]
2024-09-30T11:36:57.914Z root WARN A command editor.action.toggleStickyScroll is already registered.

Your topic has been moved to the IDE 2.x category of the forum

Can you think of any reason why the IDE can't create the .arduinoIDE directory? Virus scanner? Company policy (if applicable)? Anything else?

You can try to create that directory yourself and see if that results in progress.

Just in case, which version of Windows?

1 Like

Thanks to you, i knew what was the problem and fixed it by allowing full control permission for everyone for this folder. And it worked. Thank you

Not sure if it's a good idea to give everyone access to your user account.

Why are you not in the list of user names? I have SYSTEM, myself and the Administrators in that list.

It's my personal laptop, there is only one user account and i am the only one using it so it should be fine. Or No?

I don't know. You might in future add another user and forget about the setting.

I'm always a little weary when it comes to security.