Wednesday, June 13, 2007

Disabling Physical Address Extension

Update for Windows Vista (Read original article below first.)

Windows Vista does not have a boot.ini and uses a new form of boot loader. The official way to edit the boot settings is to use the included "bcdedit.exe" command line tool. However, using this tool is not easy and requires an advanced knowledge about using the Command Prompt. A wrong command could create serious problems and even render your computer unbootable.

NeoSmart Technologies has a tool called EasyBCD which allows you to make changes to the boot loader of a Vista system, just as easily as you would edit boot.ini in an XP system. It provides a GUI front to the bcdedit.exe command line tool, making it very easy to enable or disable boot options. You can even install EasyBCD in Windows XP, if you have your system configured to dual-boot with Vista.

To disable PAE on Windows Vista, download, install and run EasyBCD. In the 'Advanced Options' page of EasyBCD, Change "DEP/NoExecute" to 'Always Off,' uncheck "Enable PAE (Physical Address Extension)" and click "Apply Settings."

Original Article for Windows XP

Have you noticed if you have a line that says "Physical Address Extension" in your System Properties or System Information? System Properties can be seen by right-clicking My Computer and clicking Properties.

PAE is a pre-requisite for Data Execution Prevention. By doing some research, I have found out that you only require PAE if you meet at least one of the two conditions below. You can safely disable PAE if you don't meet them.

1) You have more than (but not equal to) 4 GB of RAM. (I only have 1 GB, just recently upgraded).
2) You want to use DEP capabilities of your processor. (I don't really think DEP is useful at all, I feel it's more harmful than useful as it can crash any program that it suspects. I'd rather trust a full-fledged anti-virus program than DEP.)
In other cases, it's best to turn PAE off as it will increase processing performance and hard drive access speeds.

Many people have asked how to turn off PAE, but not many have found definite solutions. It is because of the confusion of the /PAE attribute in boot.ini file present in the root of the C drive (or wherever your Windows is installed). This option is most likely not present in your boot.ini file. Turning PAE off is very simple though. You just need to change the /NoExecute=OptIn or /NoExecute=OptOut option to /NoExecute=AlwaysOff and save boot.ini file. This will disable DEP, and in turn, it will also disable PAE because if DEP is not enabled, PAE is not required anymore.

Restart your computer and check if PAE is still enabled. Mine was immediately disabled, but if for some strange reason (provided you have 4GB or below of RAM) it is still enabled, you can also try adding the option /NoPAE to the same line as the /NoExecute option. But be warned that this forces PAE to be disabled, even when Windows determines PAE is required for things other than DEP.

3 comments:

  1. Many thanks for your help. It worked without a problem. turning of the PAE was as simple as editing the boot.ini file and cahnged the value to AlwaysOff. Your a legend VMware now works. Thanks one again.

    ReplyDelete
  2. Or you also could add VMware to excetions from DEP...

    whatever

    ReplyDelete
  3. Adding a program as an exception to DEP is not as simple and doesn't guarantee anything. Have you seen the options about turning DEP on?

    It can be turned on for either
    1. essential Windows programs and services only
    2. all programs and services except those I select

    By choosing second option, you are increasing the subset of programs that are protected by DEP, thereby increasing the chances of programs crashing. Therefore the real solution is only to turn DEP off completely.

    ReplyDelete

Comments are moderated, and are usually posted within 24 hours if approved. You must have a minimum of OpenID to post comments.

LinkWithin

Related Posts with Thumbnails