# Problem when using Pluto (UnauthorizedAccess on Windows)

**URL:** https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265
**Category:** Pluto
**Tags:** question, pluto
**Created:** [January 25, 2024, 4:48pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265 "2024-01-25T16:48:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MHaensel](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@MHaensel](https://discourse.julialang.org/u/MHaensel)
#### Post date: [January 25, 2024, 4:48pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/1 "2024-01-25T16:48:46Z")

</div>

Hi everyone

I am a bit clueless about the following: I recently updated to Julia 1.10.0 which I installed via the Microsoft store. Everything seemed fine so far. Now, I wanted to use a `Pluto.jl` notebook. When starting up, I received the following notification:

```julia
[ Info: Loading...
. : File C:\Users\[my user name]\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts is disabled
on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ . 'C:\Users\[my user name]\Documents\WindowsPowerShell\profile.ps1'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
┌ Info:
└ Opening http://localhost:1234/?secret=h5HBwzCa in your default browser... ~ have fun!
┌ Info:
│ Press Ctrl+C in this terminal to stop Pluto
└

```

Afterwards, Pluto opened like usual in my browser but when I tried to save a notebook in a specific folder I got notified that

```julia
Failed to move file:

Pluto update_notebook error: (from Julia: SystemError: opening file "C:\\Users\\[my user name]\\Documents\\Codes": Permission denied)

```

I understand that this has to do with my PowerShell settings. However, for my previous version of Julia (1.8.5) I never had any related problems with running Pluto on the same machine with the same settings.  
Does anyone know whether this is related to installing Julia via the Windows store? (which I didn’t use for downloading Julia 1.8.5).  
And will I need to change the settings?

---

<div class="post-metadata">

### Author: ![mike.ingold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike.ingold/32/203749_2.png) [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)
#### Post date: [January 25, 2024, 10:04pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/2 "2024-01-25T22:04:03Z")

</div>

> [@MHaensel](#):
>
> I recently updated to Julia 1.10.0 which I installed via the Microsoft store.

I’m not sure if this is the issue or not, but I would personally recommend installing Julia using the official juliaup tool or by downloading an exe directly from the site. Quite a lot of unusual issues like this that get posted about ultimately turn out to be related to installations from unofficial or simply less well maintained sources.

---

<div class="post-metadata">

### Author: ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)
#### Post date: [January 25, 2024, 10:06pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/3 "2024-01-25T22:06:53Z")

</div>

For Windows, the Microsoft store is one of the recommended installation sources for Julia/juliaup: [GitHub - JuliaLang/juliaup: Julia installer and version multiplexer](https://github.com/JuliaLang/juliaup#windows)

---

<div class="post-metadata">

### Author: ![MHaensel](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@MHaensel](https://discourse.julialang.org/u/MHaensel)
#### Post date: [January 25, 2024, 11:28pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/4 "2024-01-25T23:28:56Z")

</div>

Exactly. Previously I just downloaded the exe, due to the recommendation on [the Julia download page](https://julialang.org/downloads/) recommendation I used the windows store this time.

---

<div class="post-metadata">

### Author: ![MHaensel](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@MHaensel](https://discourse.julialang.org/u/MHaensel)
#### Post date: [January 26, 2024, 12:43pm UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/5 "2024-01-26T12:43:52Z")

</div>

As an update: In the end, I managed to sort the thing out by renaming the powershell profile `profile1.ps1`, which was put there by Python Anaconda, essentially following the solution for [this discourse thread](https://discourse.julialang.org/t/what-does-conda-have-to-do-with-pluto-notebooks/85117).

I am still a bit wondering what was going on though, I had an anaconda installation way before the problem described above appeared.

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [January 28, 2024, 4:44am UTC](https://discourse.julialang.org/t/problem-when-using-pluto-unauthorizedaccess-on-windows/109265/6 "2024-01-28T04:44:43Z")

</div>

I clicked through wondering who could have possibly figured that out only to find past me. Trippy. I’m glad it solved your problem.
