# Get-Child Item

**URL:** <https://forums.powershell.org/t/get-child-item/5611>\
**Category:** PowerShell Help\
**Created:** [January 26, 2016, 1:15am UTC](https://forums.powershell.org/t/get-child-item/5611 "2016-01-26T01:15:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark-hammonds](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mark-hammonds](https://forums.powershell.org/u/mark-hammonds)\
**Post date:** [January 26, 2016, 1:15am UTC](https://forums.powershell.org/t/get-child-item/5611/1 "2016-01-26T01:15:19Z")

</div>

I have ISE open as admin but still cannot get child items from User profile application Data What am I doing wrong

Get-ChildItem : Access to the path ‘C:\users\108736\AppData\Local\Application Data’ is denied.

---

<div class="post-metadata">

**Author:** ![bobmccoy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/bobmccoy/32/650_2.png) [@bobmccoy](https://forums.powershell.org/u/bobmccoy)\
**Post date:** [January 26, 2016, 1:25am UTC](https://forums.powershell.org/t/get-child-item/5611/2 "2016-01-26T01:25:12Z")

</div>

Your scenario is a little unclear.  
When you say “I have the ISE open as admin” it can mean one of two things.

1. I am logged in with an account that is in an administrators group (local or domain).
2. I launched the ISE form the admin context (Run as Administrator, or from a console window that is already in the Admin context.

Simply doing #1 will get you access denied since UAC will run it in the lower privilege state. The way you can tell definitively is to run …

```
whoami /priv
```

In the lower state you will only have five privileges. In the higher state you will have upwards of 20 (actual count varies by OS).

---

<div class="post-metadata">

**Author:** ![mark-hammonds](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mark-hammonds](https://forums.powershell.org/u/mark-hammonds)\
**Post date:** [January 26, 2016, 1:27am UTC](https://forums.powershell.org/t/get-child-item/5611/3 "2016-01-26T01:27:59Z")

</div>

bingo you hit it I am doing run as administrator I will switch to an admin box Gah powershell can be a pain sometimes

---

<div class="post-metadata">

**Author:** ![bobmccoy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/bobmccoy/32/650_2.png) [@bobmccoy](https://forums.powershell.org/u/bobmccoy)\
**Post date:** [January 26, 2016, 3:58am UTC](https://forums.powershell.org/t/get-child-item/5611/4 "2016-01-26T03:58:59Z")

</div>

Be careful now. This is NOT a PowerShell issue. It’s the way UAC runs in Windows.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:43pm UTC](https://forums.powershell.org/t/get-child-item/5611/5 "2024-05-16T20:43:04Z")

</div>


