Note details

How To Increase RAM in Windows 11 using PowerShell

BY smzkg
June 16, 2025
Public
Private
1784 views

Video Tutorial on Managing Virtual Memory in Windows 11

Introduction

  • Purpose: Address issues such as PC slowing down, lagging, or low memory.
  • Solution: Managing virtual memory settings.

Understanding Virtual Memory

  • Definition: An extension of RAM that uses part of your hard drive or SSD as extra memory when RAM is full.
  • Importance: Helps run multiple apps smoothly.

Steps for Managing Virtual Memory

Opening PowerShell with Administrative Privileges

  1. Press Win + S.
  2. Type "PowerShell".
  3. Right-click on Windows PowerShell and select "Run as administrator".

Checking Current Virtual Memory Settings

  • Command: Get-CimInstance Win32_PageFileSetting
  • Displays initial size, maximum size, and paging file location.

Configuring Virtual Memory Manually

  1. Disable Automatic Management:

    • Command: Use PowerShell command to disable automatic management.
  2. Manually Setting Virtual Memory Size:

    • Command: Set custom initial and maximum size for virtual memory.
    • Example Sizes: Initial: 12 GB, Maximum: 24 GB (These can be adjusted based on RAM capacity).
  3. Restarting Computer:

    • Command: Restart-Computer
    • Applies changes.

Verify Changes

  • Re-run initial command after reboot to check updated values.
  • Alternatively, check in Task Manager under "Performance" or in "System and Reserve" under "Storage Settings".

Re-enable Automatic Management if Necessary

  • Command: Use PowerShell command to re-enable automatic management.
  • Restart computer to apply changes and verify.

Conclusion

  • Encouragement to like, comment, share, and subscribe.
  • Invitation for questions.

Closing

  • Thanks to viewers and well wishes.
    How To Increase RAM in Windows 11 using PowerShell