# IDE hangs on startup: "Cannot create config file directory"

**URL:** <https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874>\
**Category:** IDE 2.x\
**Created:** [November 2, 2024, 5:36pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874 "2024-11-02T17:36:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![loloalors](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loloalors/32/1117428_2.png) [@loloalors](https://forum.arduino.cc/u/loloalors)\
**Post date:** [November 2, 2024, 5:12pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/1 "2024-11-02T17:12:14Z")

</div>

```arduino
PS C:\Users\loloa\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\loloa\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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: 26560
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/loloa/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-11-02T17:10:36.135Z root INFO Backend Object.initialize: 3.3 ms [Finished 0.446 s after backend start]
2024-11-02T17:10:36.136Z root INFO Backend Object.configure: 2.7 ms [Finished 0.446 s after backend start]
2024-11-02T17:10:36.136Z root INFO Backend a.onStart: 1.4 ms [Finished 0.446 s after backend start]
2024-11-02T17:10:36.136Z root INFO Backend a.configure: 0.3 ms [Finished 0.466 s after backend start]
2024-11-02T17:10:36.137Z root INFO Backend d.onStart: 0.2 ms [Finished 0.467 s after backend start]
2024-11-02T17:10:36.137Z root INFO Backend d.configure: 0.1 ms [Finished 0.467 s after backend start]
2024-11-02T17:10:36.138Z root INFO Backend d.initialize: 20.5 ms [Finished 0.467 s after backend start]
2024-11-02T17:10:36.138Z root INFO Backend c.onStart: 0.2 ms [Finished 0.467 s after backend start]
2024-11-02T17:10:36.139Z root INFO Backend s.configure: 1.1 ms [Finished 0.468 s after backend start]
2024-11-02T17:10:36.140Z config INFO >>> Initializing CLI configuration...
2024-11-02T17:10:36.140Z root INFO Backend c.initialize: 0.5 ms [Finished 0.468 s after backend start]
2024-11-02T17:10:36.140Z root INFO Backend x.onStart: 0.8 ms [Finished 0.469 s after backend start]
2024-11-02T17:10:36.141Z config INFO Loading CLI configuration from c:\Users\loloa\.arduinoIDE\arduino-cli.yaml...
2024-11-02T17:10:36.141Z daemon INFO Starting daemon from C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-11-02T17:10:36.141Z root INFO Backend s.initialize: 0.3 ms [Finished 0.470 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend w.onStart: 1.0 ms [Finished 0.470 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend r.configure: 1.6 ms [Finished 0.470 s after backend start]
2024-11-02T17:10:36.141Z discovery-log INFO start
2024-11-02T17:10:36.141Z discovery-log INFO start new deferred
2024-11-02T17:10:36.141Z root INFO Backend d.initialize: 0.4 ms [Finished 0.471 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend y.onStart: 1.8 ms [Finished 0.472 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend r.configure: 1.4 ms [Finished 0.472 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend s.onStart: 0.3 ms [Finished 0.473 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend h.configure: 0.3 ms [Finished 0.473 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend a.configure: 0.1 ms [Finished 0.473 s after backend start]
2024-11-02T17:10:36.141Z root INFO Backend l.configure: 0.0 ms [Finished 0.473 s after backend start]
2024-11-02T17:10:36.144Z root INFO Theia app listening on http://127.0.0.1:52813.
2024-11-02T17:10:36.144Z root INFO Finished starting backend application: 2.5 ms [Finished 0.476 s after backend start]
Restoring workspace roots: c:\Users\loloa\OneDrive\Bureau\Projet Piston Arduino\Piston_Minecraft\Piston_Minecraft.ino
2024-11-02T17:10:36.160Z root WARN The local plugin referenced by local-dir:/c%3A/Users/loloa/.arduinoIDE/plugins does not exist.
2024-11-02T17:10:36.160Z root WARN The local plugin referenced by local-dir:/c%3A/Users/loloa/.arduinoIDE/extensions does not exist.
2024-11-02T17:10:36.160Z root WARN The local plugin referenced by local-dir:C:\Users\loloa\.arduinoIDE\plugins does not exist.
isTempSketch: false. Input was c:\Users\loloa\OneDrive\Bureau\Projet Piston Arduino\Piston_Minecraft\Piston_Minecraft.ino
2024-11-02T17:10:36.162Z root ERROR Uncaught Exception: Error: EPERM: operation not permitted, mkdir 'C:\Users\loloa\.arduinoIDE'
2024-11-02T17:10:36.162Z root ERROR Error: EPERM: operation not permitted, mkdir 'C:\Users\loloa\.arduinoIDE'
2024-11-02T17:10:36.181Z root INFO Resolve plugins list: 40.1 ms [Finished 0.513 s after backend start]
2024-11-02T17:10:36.252Z daemon INFO time="2024-11-02T13:10:36-04:00" level=info msg="arduino-cli version 1.0.4"
time="2024-11-02T13:10:36-04:00" level=info msg="Using config file: c:\\Users\\loloa\\.arduinoIDE\\arduino-cli.yaml"
time="2024-11-02T13:10:36-04:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:52814
{"IP":"127.0.0.1","Port":"52814"}
2024-11-02T17:10:36.252Z daemon INFO Daemon is running.
2024-11-02T17:10:36.253Z root INFO Error: Error executing C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\loloa\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\loloa\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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-11-02T17:10:36.253Z config ERROR Failed to initialize the CLI configuration. Error: Error executing C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\loloa\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\loloa\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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-11-02T17:10:36.309Z daemon INFO time="2024-11-02T13:10:36-04:00" level=info msg="Checking signature" index="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-11-02T13:10:36-04:00" level=info msg="Loading hardware from: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages"
time="2024-11-02T13:10:36-04:00" level=info msg="Loading package builtin from: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2024-11-02T13:10:36-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-11-02T13:10:36-04:00" level=info msg="Loading tools from dir: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-11-02T13:10:36-04:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-11-02T13:10:36-04:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-11-02T13:10:36-04:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-11-02T13:10:36-04:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
time="2024-11-02T13:10:36-04:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
time="2024-11-02T13:10:36-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\library_index.json"
2024-11-02T17:10:36.808Z daemon INFO time="2024-11-02T13:10:36-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2024-11-02T13:10:36-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\loloa\\OneDrive\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-11-02T17:10:37.604Z root ERROR Failed to initialize global state path: Error: EPERM: operation not permitted, mkdir 'c:\Users\loloa\.arduinoIDE'
2024-11-02T17:10:37.653Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 115.7 ms [Finished 1.435 s after frontend start]
2024-11-02T17:10:37.653Z root WARN A command editor.action.toggleStickyScroll is already registered.
[34392:1102/131037.728:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters, invalid string: "Ctrl+é"

```

---

<div class="post-metadata">

**Author:** ![loloalors](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loloalors/32/1117428_2.png) [@loloalors](https://forum.arduino.cc/u/loloalors)\
**Post date:** [November 2, 2024, 5:36pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/2 "2024-11-02T17:36:56Z")

</div>

I've browsed the other topics with this issue but none of the solutions seems to be working for me. I did the Powershell method and here's the code it send back:

```arduino
PS C:\Users\loloa\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\loloa\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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: 3348
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/loloa/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-11-02T17:35:56.880Z root INFO Backend Object.initialize: 3.1 ms [Finished 0.551 s after backend start]
2024-11-02T17:35:56.881Z root INFO Backend Object.configure: 2.4 ms [Finished 0.551 s after backend start]
2024-11-02T17:35:56.881Z root INFO Backend a.onStart: 1.2 ms [Finished 0.552 s after backend start]
2024-11-02T17:35:56.881Z root INFO Backend a.configure: 0.3 ms [Finished 0.571 s after backend start]
2024-11-02T17:35:56.882Z root INFO Backend d.onStart: 0.2 ms [Finished 0.571 s after backend start]
2024-11-02T17:35:56.882Z root INFO Backend d.configure: 0.1 ms [Finished 0.571 s after backend start]
2024-11-02T17:35:56.883Z root INFO Backend d.initialize: 19.6 ms [Finished 0.571 s after backend start]
2024-11-02T17:35:56.883Z root INFO Backend c.onStart: 0.2 ms [Finished 0.571 s after backend start]
2024-11-02T17:35:56.883Z root INFO Backend s.configure: 1.0 ms [Finished 0.572 s after backend start]
2024-11-02T17:35:56.884Z config INFO >>> Initializing CLI configuration...
2024-11-02T17:35:56.884Z root INFO Backend c.initialize: 0.4 ms [Finished 0.573 s after backend start]
2024-11-02T17:35:56.884Z root INFO Backend x.onStart: 0.5 ms [Finished 0.573 s after backend start]
2024-11-02T17:35:56.885Z config INFO Loading CLI configuration from c:\Users\loloa\.arduinoIDE\arduino-cli.yaml...
2024-11-02T17:35:56.885Z daemon INFO Starting daemon from C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-11-02T17:35:56.885Z root INFO Backend s.initialize: 0.3 ms [Finished 0.574 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend w.onStart: 0.8 ms [Finished 0.574 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend r.configure: 1.2 ms [Finished 0.574 s after backend start]
2024-11-02T17:35:56.885Z discovery-log INFO start
2024-11-02T17:35:56.885Z discovery-log INFO start new deferred
2024-11-02T17:35:56.885Z root INFO Backend d.initialize: 0.3 ms [Finished 0.575 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend y.onStart: 1.4 ms [Finished 0.576 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend r.configure: 1.2 ms [Finished 0.576 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend s.onStart: 0.3 ms [Finished 0.577 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend h.configure: 0.3 ms [Finished 0.577 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend a.configure: 0.1 ms [Finished 0.577 s after backend start]
2024-11-02T17:35:56.885Z root INFO Backend l.configure: 0.0 ms [Finished 0.577 s after backend start]
2024-11-02T17:35:56.887Z root INFO Theia app listening on http://127.0.0.1:51357.
2024-11-02T17:35:56.887Z root INFO Finished starting backend application: 2.0 ms [Finished 0.579 s after backend start]
Restoring workspace roots: c:\Users\loloa\OneDrive\Bureau\Projet Piston Arduino\Piston_Minecraft\Piston_Minecraft.ino
isTempSketch: false. Input was c:\Users\loloa\OneDrive\Bureau\Projet Piston Arduino\Piston_Minecraft\Piston_Minecraft.ino
2024-11-02T17:35:56.950Z root WARN The local plugin referenced by local-dir:/c%3A/Users/loloa/.arduinoIDE/plugins does not exist.
2024-11-02T17:35:56.950Z root WARN The local plugin referenced by local-dir:/c%3A/Users/loloa/.arduinoIDE/extensions does not exist.
2024-11-02T17:35:56.950Z root WARN The local plugin referenced by local-dir:C:\Users\loloa\.arduinoIDE\plugins does not exist.
2024-11-02T17:35:56.952Z root ERROR Uncaught Exception: Error: EPERM: operation not permitted, mkdir 'C:\Users\loloa\.arduinoIDE'
2024-11-02T17:35:56.952Z root ERROR Error: EPERM: operation not permitted, mkdir 'C:\Users\loloa\.arduinoIDE'
2024-11-02T17:35:57.007Z root INFO Resolve plugins list: 121.9 ms [Finished 0.698 s after backend start]
2024-11-02T17:35:57.040Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="arduino-cli version 1.0.4"
2024-11-02T17:35:57.045Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Using config file: c:\\Users\\loloa\\.arduinoIDE\\arduino-cli.yaml"
2024-11-02T17:35:57.045Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Executing `arduino-cli daemon`"
2024-11-02T17:35:57.051Z daemon INFO Daemon is now listening on 127.0.0.1:51359
{"IP":"127.0.0.1","Port":"51359"}
2024-11-02T17:35:57.051Z daemon INFO Daemon is running.
2024-11-02T17:35:57.056Z root INFO Error: Error executing C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\loloa\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\loloa\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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-11-02T17:35:57.056Z config ERROR Failed to initialize the CLI configuration. Error: Error executing C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\loloa\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\loloa\.arduinoIDE: Access is denied.
    at ChildProcess.<anonymous> (C:\Users\loloa\AppData\Local\Programs\Arduino IDE\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-11-02T17:35:57.163Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Checking signature" index="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-11-02T17:35:57.165Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loading hardware from: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages"
2024-11-02T17:35:57.166Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loading package builtin from: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-11-02T17:35:57.166Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-11-02T13:35:57-04:00" level=info msg="Loading tools from dir: C:\\Users\\loloa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-11-02T17:35:57.166Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-11-02T17:35:57.167Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-11-02T17:35:57.167Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-11-02T17:35:57.167Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-11-02T17:35:57.167Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-11-02T17:35:57.179Z daemon INFO time="2024-11-02T13:35:57-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\library_index.json"
2024-11-02T17:35:58.172Z daemon INFO time="2024-11-02T13:35:58-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\loloa\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
2024-11-02T17:35:58.172Z daemon INFO time="2024-11-02T13:35:58-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\loloa\\OneDrive\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-11-02T17:35:58.642Z root ERROR Failed to initialize global state path: Error: EPERM: operation not permitted, mkdir 'c:\Users\loloa\.arduinoIDE'
2024-11-02T17:35:58.803Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 240.6 ms [Finished 1.798 s after frontend start]
2024-11-02T17:35:58.803Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-11-02T17:35:58.928Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 124.2 ms [Finished 1.939 s after frontend start]
[30592:1102/133558.958:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters, invalid string: "Ctrl+é"
2024-11-02T17:35:59.063Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 106.0 ms [Finished 2.083 s after frontend start]

```

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [November 2, 2024, 5:41pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/3 "2024-11-02T17:41:38Z")

</div>

> [@loloalors](#):
>
> ```arduino
> 2024-11-02T17:10:36.253Z root INFO Error: Error executing C:\Users\loloa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe config init --dest-dir c:\Users\loloa\.arduinoIDE: Cannot create config file directory: mkdir c:\Users\loloa\.arduinoIDE: Access is denied.
> 
> ```

Can you think of any reason why the IDE can't create that directory? Check permissions.

You can try to create the directory c:\Users\loloa\.arduinoIDE manually; do not forget the dot.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [November 2, 2024, 5:56pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/4 "2024-11-02T17:56:17Z")

</div>

Do not cross post; it wastes peoples time.

Posts merged.

---

<div class="post-metadata">

**Author:** ![loloalors](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loloalors/32/1117428_2.png) [@loloalors](https://forum.arduino.cc/u/loloalors)\
**Post date:** [November 2, 2024, 5:58pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/5 "2024-11-02T17:58:54Z")

</div>

I got it to open by running it through admin

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [November 2, 2024, 6:14pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/6 "2024-11-02T18:14:34Z")

</div>

You shouldn't but OK. Try to sort out why you could not create that directory.

---

<div class="post-metadata">

**Author:** ![loloalors](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loloalors/32/1117428_2.png) [@loloalors](https://forum.arduino.cc/u/loloalors)\
**Post date:** [November 2, 2024, 6:18pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/7 "2024-11-02T18:18:21Z")

</div>

It now works without me having to use admin

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 1, 2025, 6:18pm UTC](https://forum.arduino.cc/t/ide-hangs-on-startup-cannot-create-config-file-directory/1317874/8 "2025-05-01T18:18:27Z")

</div>

Closed on May 1, 2025, 6:18pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
