• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Ready to level up? Join the Expert Program—
HP Recommended

how can i install a 4gb ram in my pc using command prompt

1 REPLY 1
HP Recommended

Hi @Alyrowroni,

Welcome to the HP Support Community.
 

Thank you for posting your query. I will be glad to help you.

Installing physical RAM (like a 4GB module) in your HP PC cannot be done using Command Prompt or any software tool; it requires manual hardware installation.

However, I can guide you through the correct steps to safely install the RAM and then verify it using Command Prompt afterwards.

Part 1: Physically Install the 4GB RAM Module

  1. Turn off your PC and unplug it from the power source.
  2. Open the side panel (for desktops) or bottom cover (for laptops) using a screwdriver.
  3. Locate the RAM slots on the motherboard.
  4. If a slot is free, gently insert the 4GB RAM module at a 45-degree angle, then press down until it clicks into place.
  5. Reassemble your PC and power it on.

⚠️ Make sure the RAM is compatible with your motherboard (DDR3, DDR4, etc.).

Part 2: Verify RAM Installation Using Command Prompt

Once the PC is powered on:

  1. Press Windows + R, type cmd, and press Enter.
  2. In Command Prompt, type:  systeminfo | findstr /C:"Total Physical Memory"
    or
                                                      wmic memorychip get capacity

    This will show the total installed RAM and confirm if the new 4GB module is recognized.

 

I hope this helps.

 

Take care and have an amazing day!
 

Did we resolve the issue? If yes, please consider marking this post as "Accepted Solution" and click "Yes" to give us a helpful vote - your feedback keeps us going!

 

Regards,

VikramTheGreat

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.