# Using Julia on Windows with strict group policy, can't install packages or load packages installed by localadmin

**URL:** https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229
**Category:** New to Julia
**Tags:** windows, packages, installation
**Created:** [September 27, 2019, 12:09pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229 "2019-09-27T12:09:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jhelske](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jhelske](https://discourse.julialang.org/u/jhelske)
#### Post date: [September 27, 2019, 12:09pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229/1 "2019-09-27T12:09:46Z")

</div>

In my work computer I have my normal user account and a separate localadmin account. After struggling with Atom and Julia installations (mostly Atom), I managed to get them working to some extent when I installed both on the local drive (not inside user profile). But I still can’t install any packages using my normal user account, as after running for example  
`Pkg.add("CSV")` I get `IOError: stat: permission denied (EACCES)`. After working on this issue whole day I managed to get things working, and I wrote some notes to myself: [https://gist.github.com/helske/f5ed818de51553634d9d5057b489dd6a](https://gist.github.com/helske/f5ed818de51553634d9d5057b489dd6a)

But today, I needed another package (CSV), and installed it with localadmin, and when I tried to use it with base account I got the same access denied error as earlier. My guess is that I should delete the registery again or something, and then install everything again?..

So what would be the correct way of using Julia in this kind of situation? I’m ok with the solution where I have to install new packages using localadmin if I can then use them with my normal account.

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [September 27, 2019, 12:32pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229/2 "2019-09-27T12:32:11Z")

</div>

Can you do `git clone`? Just `git clone` the CSV.jl github to a location, and the `]dev path/to/CSV.jl_repo/` then you can use CSV.jl. This will work for most packages that don’t require a build step.

---

<div class="post-metadata">

### Author: ![jhelske](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jhelske](https://discourse.julialang.org/u/jhelske)
#### Post date: [September 27, 2019, 1:05pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229/3 "2019-09-27T13:05:06Z")

</div>

Yeah I can use `git clone`. So CSV works like that but I would like to know more general approach.

---

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [September 27, 2019, 1:07pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229/4 "2019-09-27T13:07:16Z")

</div>

All packages work like this. You can just clone the repo and `]dev` to it.

But some package requires a `]build` step, so I am not sure if those work. You might want to dev them in your admin account, and then switch over and check?

---

<div class="post-metadata">

### Author: ![jhelske](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jhelske](https://discourse.julialang.org/u/jhelske)
#### Post date: [September 27, 2019, 1:33pm UTC](https://discourse.julialang.org/t/using-julia-on-windows-with-strict-group-policy-cant-install-packages-or-load-packages-installed-by-localadmin/29229/5 "2019-09-27T13:33:00Z")

</div>

That’s what I have been doing, build them on admin account and then (try) to use them on other account. It does seem to for work some packages but not all.
