Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a legacy setup program that will not install on a 64 bit version of Vista with 4GB of RAM. The setup program performs a check at the beginning of the installation to see if there is enough memory. It determines there is "less than 256K of RAM." I assume this is because of a signed 32bit number being used in there math.

I imagine I could take some memory out of the computer and try it. I will as a last resort. But, I was hoping there may be some setting or command line option to get Vista to report less than 4GB to the setup.exe process.

Does anyone know of a way to do this?

share|improve this question

3 Answers 3

Use BCDEdit to set truncatememory option. That will limit your memory.

To use it first check what BCD entries you have with

BCDEDIT /v

Remember id of wanted entry and then use

BCDEDIT /set "{id}" truncatememory 1073741824

This will limit it to 1 GB.

share|improve this answer
    
Dont forget to undo that after install. This msut be the most ridiculous incompatibility eve.... I hope the software runs at all. –  TomTom Mar 10 '10 at 20:19

Another alternative is to run Windows in a virtual machine like Virtualbox. Then you can sandbox the application and run it with as much or as little memory as you'd like, as well as run with an older version of Windows if you have licensing available to do so (if it's a compatibility issue).

share|improve this answer

One of the available compatibility shims in Windows is "GlobalMemoryStatus2GB". This might be enough. Look in the Application Compatibility Toolkit.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.