# How to enable Large Pages from powershell

**URL:** <https://forums.powershell.org/t/how-to-enable-large-pages-from-powershell/19856>\
**Category:** PowerShell Help\
**Created:** [July 11, 2022, 5:24am UTC](https://forums.powershell.org/t/how-to-enable-large-pages-from-powershell/19856 "2022-07-11T05:24:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [July 11, 2022, 6:52am UTC](https://forums.powershell.org/t/how-to-enable-large-pages-from-powershell/19856/2 "2022-07-11T06:52:27Z")

</div>

You already asked this …

> [@To enable the lock pages in memory from powershell](https://forums.powershell.org/t/to-enable-the-lock-pages-in-memory-from-powershell/19741):
>
> Below are the steps I have been doing from the Administrative Tools: On the Start menu, select Run. In the Open box, type gpedit.msc. The Group Policy dialog box opens. On the Local Group Group Policy console, expand Computer Configuration. Expand Windows Settings. Expand Security Settings. Expand Local Policies. Select the User Rights Assignment folder. The policies will be displayed in the details pane. In the pane, scroll to and double-click the Lock pages in memory policy. In the Local Sec…

---

_[View the full topic](https://forums.powershell.org/t/how-to-enable-large-pages-from-powershell/19856)._
