18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture

Remko Weijnen's Blog (Remko's Blog) About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like

Home Downloads About Remko Weijnen and this blog Contact

Patch Vista’s Kernel to Address more than 4 GB of Donate 23 Entries (RSS) JUN Memory Author: Remko Weijnen Comments (RSS)

Blogroll As you may know the 32 bit, also called x86, editions of Windows Profile Vista cannot address more than 4 GB of memory. You may think this Andrew Morgan 4 GB is a limit of the processor but this isn’t true; using Physical Arnout’s blog Address Extension (PAE) it’s possible to address more memory Assa’s Blog Barry Schiffer Enterprise Server versions of Windows (2003 and 2008) can already Delphi Praxis Ingmar Verheij address more than 4 GB of memory so why can we not do that with Jedi Api Blog Vista? The answer is: Microsoft doesn’t want that! It is all just a Jedi API Library licensing matter, we can see this in the registry. Take RegEdit and Jeroen Tielen goto HKLM\CurrentControlSet\Control\ProductOptions and Kees Baggerman doubleclick the Value ProductPolicy, scroll down a little until you see the value “Kernel-PhysicalMemoryAllowedx86”, next to it is the value Categories 01 00 which corresponds to 4096 (1000 is the Hex of 4096): .NET (3) Top Posts Active Directory (28) Altiris (36) App-V (1) Update AMD Display Driver under Apple (5) BootCamp Application Compatibility RNS 315: Enable the hidden (11) bluetooth carkit Automotive (5) Default username password HP BootCamp (1) Storageworks P2000 C# (5) Query Active Directory from Excel C++ (2) Patch Windows 2008 Terminal Server Citrix (86) to allow more than 2 concurrent Delphi (60) sessions Embedded (4) Trick to Export Private Key from Exchange (16) We can also see where this (and other licensing values) come from: Certificate Request General (71) if we look in %systemroot%\system32\licensing\ppdlic al license How rdp passwords are encrypted iPhone (5) values are in XML files. The memory value is in Kernel-ppdlic.xrm- Java (8) Debugging Tools for Windows Direct ms: Lync (2) Download Oracle (4) Enable Developer mode on VW Other (1) Discover Pro with VCDS Packaging (19) Installing Dell Wireless 5530 HSPA PowerShell (54) Mini PCI Programming (79) Quest (1) Recent Comments RES (7) script (22) ShareFile (1) Felipe Cyrino on Update AMD Display Driver under BootCamp SQL Server (10) Strange Error (3) Remko Weijnen on Update AMD Terminal Server (68) Display Driver under BootCamp ThinApp (3) Remko Weijnen on Update AMD ThinKiosk (1) Display Driver under BootCamp Unattended Installation Remko Weijnen on Update AMD (19) Display Driver under BootCamp Uncategorized (44) We cannot make alterations to the registry values or to this xml file; Sutucol on Update AMD Display Vista (37) Driver under BootCamp the registry values are rebuild on every reboot and the xml file is Visual Studio (1) protected with a signature VMWare (25) Featured Downloads Windows 2003 (30) Unlike other licensing values (like activation) which are checked Windows 2008 (37) Windows 2008 R2 (16) through slc.dll this particular value is checked and enforced in the ExeToPosh0.2.zip (5085 downloads) Windows 2012 (2) Kernel. I though that patching the kernel was not possible due to AMD Radeon Crimson ReLive (1483 (30) downloads) Vista’s integrity checks. But then I read Geoff Chappell’s article (4) about Vista’s Memory Limit. Geoff describes in detail how and where Google Earth Compatibility Fix for Windows Internals (12) the check is done and even shows us what to patch. Horizon, RDSH and XenApp (1417 Windows XP (16) downloads) I followed Geoff’s description and patched my kernel (carefully read test-file (1719 downloads) Archives Geoff’s instruction about checksum, signing and so on!) and I can mstsc.exe build 6.1.7600.16385 April 2017 (1) confirm that his patch works perfectly! (41873 downloads) March 2017 (5) mage (2695 downloads) I also noticed something else: my Dell Laptop has 4 GB of memory February 2017 (4) DecryptPITFile.zip (2203 downloads) May 2016 (3) of which I was only able to use about 3,5 GB. This is due to a portion rc4.zip (2190 downloads) March 2016 (1) of the address space that is allocated to my video card (address CtxPassCom.zip (2279 downloads) October 2015 (2) space, not memory!). We can see with Alex Ionescu’s MemInfo tool September 2015 (1) SetMixedCode.zip (2040 downloads) there’s a gap between 9F0000 and 100000: January 2015 (1) August 2014 (1) July 2014 (8) May 2014 (1) November 2013 (1) October 2013 (2) September 2013 (3) https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 1/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MARAugust 2013 (4) ⍰ June 2013 (2) ❎ 10 captures 27 May 2013 (3) f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019April 2013▾ (5) About this capture March 2013 (5) February 2013 (1) January 2013 (5) December 2012 (9) November 2012 (3) October 2012 (3) August 2012 (4) We can also see in TaskManager that only 3581 MB is available: July 2012 (2) June 2012 (1) May 2012 (6) March 2012 (13) February 2012 (12) January 2012 (9) December 2011 (9) November 2011 (4) October 2011 (5) September 2011 (10) August 2011 (10) July 2011 (2) June 2011 (8) May 2011 (12) April 2011 (4) March 2011 (14) February 2011 (8) January 2011 (32) December 2010 (23) November 2010 (19) October 2010 (10) September 2010 (6) August 2010 (1) July 2010 (1) June 2010 (6) March 2010 (7) February 2010 (3) December 2009 (3) November 2009 (11) Let’s see what that looks like after the patch: September 2009 (2) July 2009 (1) June 2009 (5) May 2009 (1) April 2009 (2) March 2009 (3) February 2009 (6) January 2009 (3) December 2008 (8) November 2008 (5) October 2008 (3) September 2008 (3) August 2008 (3) June 2008 (6) May 2008 (2) We gained the missing memory  April 2008 (3) March 2008 (5) TaskManager confirms that: January 2008 (3) December 2007 (3) November 2007 (13) October 2007 (10)

If you would like to patch your kernel you can download the dUP2 file below. Please check if creating and/or using this patch is legal according to your country’s laws and your license agreement and of course carefully read Geoff’s instructions.

The patch was tested on both SP1 and SP2.

Vista NT Kernel Patch (10857 downloads)

Share this: https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 2/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/   Go JUN AUG MAR  ⍰ ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture Like this:

Loading...

Please consider donating something (even a small amount is ok) to support this site and my work:

Amount: 5 EURO

Filed under: General, Vista

RSS feed for comments on this post TrackBack URI

101 Responses for "Patch Vista’s Kernel to Address more than 4 GB of Memory"

Jonathan Pitts 1 June 24th, 2009 at 22:35

Does this work on windows 7?

Remko 2 June 24th, 2009 at 22:45

I didn’t test it on Windows 7 but it’s likely to work if the bytes match (if dUP2 accepts the 7 kernel because the byte pattern is found then you should try it).

lector 3 June 25th, 2009 at 8:46

sounds interesting, although i never had vista installed for more than a day. but maybe for Windows 7 this could prove useful =)

found a little typo: “next to it is the value 01 00 which corresponds to 4096 (1000 is the Hex of 4096):” 01 00 10 00

lector

Remko 4 June 26th, 2009 at 14:00

@lector: actually the value is a DWORD so (as Geoff also pointed out) the value includes the 00 before and the 00 after the marked area.

ghost2k 5 June 27th, 2009 at 11:18

The same rule could be applied on WinXP? (for override the 4GB memory limit)

daNIL 6 June 27th, 2009 at 22:57

No, Windows XP requires a separate patch which will be released soon.

ghost2k 7 June 28th, 2009 at 4:39

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 3/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/That sounds great. I will expect your xp release. Thanks. Go JUN AUG MAR  ⍰ ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture

Vladan 8 June 28th, 2009 at 15:20

Why not using 64 bits edition of Vista directly? I’m having Vista x64 edition installed on my laptop and I can see 4Gigs of RAM direcly without patching.

My 32 bits applications are working too (like Office 2007, or VMware Workstation etc….)

Cheers Vladan

daNIL 9 June 29th, 2009 at 17:10

Vladan,

Using x64 versions restricts you to use only singed drivers, and can have some compatibility issues with native or low/level x86 application. But, in general, using x64 versions is of course a preferrable choice.

lone 10 July 12th, 2009 at 5:30

hi, i have for some time been watching with bated breath…lol..

When the is a patch for xp pro to read more than 3.5 gb memory..would you please either send it or post a download link.. regards and best wishes in anticapation..

anonymous 11 July 19th, 2009 at 12:11

XP Patch please.

ghost2k 12 July 23rd, 2009 at 14:48

yes, please help on XP. I want to fully make use my 4GB memory. Thanks again.

Memory Remapping on this Motherboard? - Page 2 - HardwareLogic 13 July 25th, 2009 at 22:53

[…] Originally Posted by drew and not u There are patches to make 32 bit vista use more than 4GB. You’re right about that. It’s not something I’d really recommend toying with unless you’re ready to face the possible consequences AKA OS re-install. Either way, you can read this: Patch Vista’s Kernel to Address more than 4 GB of Memory | RemkoWeijnen.nl […]

Steve Webster 14 July 27th, 2009 at 21:17

x64 requires signed drivers yes, but there is an easy workaround. Works on Vista & 7 –> http://www.citadelindustries.net/readydriverplus/

Automated Disable Driver Signings on boot up.

But this x86 patch is very very nice. Thank you much for the information.

gustavo 15 July 28th, 2009 at 2:47 https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 4/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/WINDOWS XP PATCH PLEASE! Go JUN AUG MAR  ⍰ ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture

Juan Antonio G. Mariñas 16 July 31st, 2009 at 15:02

Great! I was talking to Geoff and I am interested in modifying my kernel, and Geoff referred me to your website. *and yes, some people don’t understand the why PAE “does not work”. It’s not just about adding /force PAE or something. Ü

Maximum Windows 7 memory allowed? - Page 2 17 July 31st, 2009 at 20:07

[…] (32bit supports more RAM than Desktop) that you can get Vista to address more than 4GB of RAM. https://www.remkoweijnen.nl/blog/2009…-gb-of-memory/ No need to replace any files. The patch does it all for […]

4GB+ 18 August 3rd, 2009 at 14:37

Is the XP patch going to be available soon? Please can we have it? Thanks!

Vista Ultimate sp2 19 August 7th, 2009 at 14:51

the patch doesn’t work with Vista Ultimate sp2 ntkrnlpa version 6.0.6002.18005

Ksanderash 20 August 17th, 2009 at 23:27

A Russian origin patch enabling 4Gb usable on Windows 7 x86. Just press “Разблокировать” button, and then Yes, and will proceed automatic restart. If you don’t like the patch, you can uninstall it (or edit) by viziting menu START > MSCONFIG > and then booting options. Or via EasyBCD. The pacth just adds an alternative boot option with modified kernel supporting full 4Gb RAM support with PAE enabled. See what is PAE in the archive. P.S. No viruses inside, you can check by any antivirus software.

Uploaded here for maximum spread: http://www.kiloupload.com/file/2a3ae72e3cacdf4d397ad92a249bd367/4GB7600R TM8604082009.7z

Make Windows 7 and Vista 32-bit (x86) Support More Than 4GB 21 Memory » Raymond.CC Blog August 19th, 2009 at 9:00

[…] to Remko, he has provided us with a dUP2 file for the patch according to Geoff Chappell’s article […]

Glenn B. Guevarra 22 August 19th, 2009 at 11:59

my memmory is 4GB RAM. bad it my PC read it only 3000+ MB. Can you help totally read all 4GB in my laptop. I’m using SP1

Klimax 23 August 19th, 2009 at 13:08

Just question. Did anybody tried to allocate even “recovered” memory? And had anybody tried writting into that address range allocated to video drivers? And had it any effect?

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 5/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/One note,this is not licensing.(That’s mostly for x64-limited eds) But Go JUN AUG MAR  ⍰ x86 cannot address more then 4GB. ❎ 10 captures The only partiall extension is through AWE and PAE. 27 f 

2 Jan 2015 - 26 Apr 2019To use AWE a programm has to be written for it and PAE requires 2015 2017 2019 ▾ About this capture activeted flag in executable image.

This sounds as not good idea at all… Absolutely not recommended for anybody!

IranGet :: وﯾﻧدوز وﯾﺳﺗﺎ و ﺳون ﻧﺳﺧﮫ 32 ﺑﯾﺗﯽ و داﺳﺗﺎن ﭘﺷﺗﯾﺑﺎﻧﯽ ﻧﮑردن از 4 ﮔﯾﮓ رم | اﯾران ﮔت 24 August 19th, 2009 at 17:11

[…] اﺧﯾرا ﯾﮏ ﭘﭻ ﺑﺳﯾﺎر ﻣﻔﯾد ﺑرای وﯾﻧدوز وﯾﺳﺗﺎ ﺳﺎﺧﺗﮫ ﺷده اﺳت REMKO ﻟطف وﺑﻼگ […]

daNIL 25 August 20th, 2009 at 10:57

Hi Klimax,

You’ll be able to get 4GB (or even more – you can use up to 64 GB in x86) of usable memory ONLY if your motherboard supports memory remapping feature. “x86 cannot address more then 4GB.” – this is completely wrong. As i remember, from Pentium or maybe Pentium pro processor can address up to 2^36 = 64 GB of physical memory in PAE mode, so the only thing which is needed – is OS support. (server version) can support more than 4 Gb of physical memory (http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx) – and Windows 2000 Professional cannot. Why? The only difference is in licensing. If you patch Windows 2000 kernel, it will allow you to use all of your physical memory.

Also please note that all processes are using virtual memory, not physical. Yes, even if you have got 8 GB of physical memory installed, EACH process can still access only 2 GB of virtual memory (or 3 if you boot with /3GB switch). But you can run 4 processes and each of them will be able to access 2 GB of virtual memory, giving you utilization of 8 Gb of physical memory.

In case you’re still doubting, you can boot your windows with /nolowmem parameter (http://msdn.microsoft.com/en- us/library/ms791499.aspx), which restricts windows from using the lower 4GB of physical memory and test your system. However, at least, in Windows XP/2003, you must have 5 GB or more (or patch kernel ) to successfully execute this switch.

Pareen 26 August 21st, 2009 at 12:11

Is there a reason why we shouldnt use 64bit? As far as i have read, it doesnt have the xp64bit-like compatibility issues…

kit 27 August 21st, 2009 at 17:03

Hi, does this work on vista with no service pack installed?

Make Windows 7 and Vista 32-bit (x86) Support More Than 4GB 28 Memory | PC Index August 22nd, 2009 at 13:25

[…] to Remko, he has provided us with a dUP2 file for the patch according to Geoff Chappell’s article about […]

daNIL 29 August 22nd, 2009 at 23:59

Paren,

There is almost no reason; however, drivers’ support for x64 is much lower than for for x86, some low-level applications will not work, so if you have old hard and/or software, you should test all of your needed apps and hardware to work correctly with x64 OS before moving.

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 6/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/Hack your Windows Vista 32 bits to address 4GB or more of RAM - Go JUN AUG MAR  ⍰ 30 Kartones Blog ❎ August 23rd, 2009 at 11:17 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture […] Here and here you have not only info but actual steps to perform by yourself this hack (or directly a kernel patch). […]

Il meglio della settimana dal web #2 | Simo Blog 31 August 27th, 2009 at 1:02

[…] per rimuovere il limite del kernel di indirizzare più di 4gb nei sistemi Windows 32bit qui per Vista e qui per Windows […]

Windows 32bit vs 64bit e la RAM | Simo Blog 32 August 27th, 2009 at 1:08

[…] disponibili 2 patch che modificano il kernel per far leggere a Windows dai 4gb di ram in su: qui per Windows Vista e qui per il nuovo Windows 7 […]

Wndows Vista and Seven | Information India 33 August 29th, 2009 at 5:48

[…] to Remko, he has provided us with a dUP2 file for the patch according to Geoff Chappell’s article about […]

Petr 34 August 31st, 2009 at 19:56

Thanks Remko, it took me some time to fully understand what needs to be done and I read yours and Geoff Chappell’s article several times. One must really point out that a copy of the file is needed and the safest way is to create a new bcd profile via bcdedit. I will test it for some time and I might even consider adding more memory, so I can run a virtal machine without a fear of performance issues Geoff and Remko, nice work.

Acer TravelMate 7730-844G50BN maximaler Arbeitsspeicher - Seite 2 35 - Acer-Userforum.de September 1st, 2009 at 23:45

[…] gibt Nichts was es nicht gibt. Den manipulierten Quellcode kann man auch selbst nachvollziehen: Patch Vista’s Kernel to Address more than 4 GB of Memory | RemkoWeijnen.nl mfg […]

ghost2k 36 September 2nd, 2009 at 1:49

Hi Remko, please kindly make the winxp sp3 patch. Thank you~

nico 37 September 2nd, 2009 at 19:20

When I launch your patch on windows vista 32bit sp2, it states the “ntkrnlpa.exe” is in use and refuses to patch it. I have administrator privileges, what can I do? Thank you in advance.

S 38 September 17th, 2009 at 12:00

Exactly the same of nico here. Please help us.

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 7/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ Remko ❎ September 18th, 2009 at 11:49 10 captures39 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture @Nico: You can never patch a file that’s in use (and the Kernel is really in use  so you need to make a copy of the kernel, patch it and make a seperate entry in your boot configuration as per Geoff’s instructions.

awake 40 September 21st, 2009 at 4:36

Remko,

how exactly do you make a seperate entry in your boot configuration?

Geoff’s instructions might be great but they are very long

tziu 41 September 25th, 2009 at 17:14

Hello! is it possible to have the istruction in italian? I need to understand the way to create a second o.s that can be changed by the patch..because if i do’nt do it the patch does’nt work….. Thank for eventually answars!=) Bye

Lucius 42 September 28th, 2009 at 17:27

Hi Remko,

Are you still working on a XP patch? If so can you please let us know the progress. Thanks a lot in advance.

Andrzej 43 September 28th, 2009 at 22:49

I would be very interested in an XP patch as well!

Thanks!

Wandering Wonderer 44 October 6th, 2009 at 12:09

I dont know where to look for the instructions by geoff explaining the separate boot entryies. If i slaved the drive that has the ntkrnlpa.exe and patched it from a separate machine would that work… scuse the grammar… rough day.

tziu 45 October 6th, 2009 at 22:58

Hi! is it possible to have an italian version of the geoff’s tutorial…? Thanks bye

GUIDE: Make Vista and Windows 7 x84 Support More Than 4GB of 46 RAM - Overclock.net - Overclocking.net October 24th, 2009 at 8:33

[…] want to switch to a 64-bit? Well heres an easy solution: For Windows Vista: Patch made by Remko […]

G 47 October 27th, 2009 at 15:33 https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 8/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/Not my own work, found from another forum, for XP SP3 but cannot Go JUN AUG MAR  ⍰ use any USB devices (you have to use PS2 mouse/keyboard): ❎ 10 captures 27 f  1. Look for C:\WINDOWS\SYSTEM32\NTKRNLPA.EXE 2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture Original : BB 00 00 10 00 33 FF 6A 07 8B F0 Modify To : BB 00 00 40 00 33 FF 6A 07 8B F0

2. Save the modified kernel as mykernel.exe, put it under C:\WINDOWS\SYSTEM32\

3. Open C:\BOOT.INI

Copy and paste your original boot option, but add /PAE /KERNEL=mykernel.exe

example: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP SP3 OVER 4G” /fastdetect /usepmtimer /NoExecute=OptOut /PAE /KERNEL=mykernel.exe

4. Reboot, choose “Microsoft Windows XP SP3 OVER 4G” from the boot menu

tziu 48 November 3rd, 2009 at 23:14

Hi Remko! i hope tath the patch willl be released soon because i don’t wont use vista… Howev er i really tanks you for great work that you are doing. Bye Tziu

tziu 49 November 3rd, 2009 at 23:15

(the patch for xp)=)

anonymuos 50 November 23rd, 2009 at 10:11

How soon is soon for the XP SP3 patch? Please tell how much donation we need to make but we’d really like the XP kernel patch.

Windows 7 Starter Edition Problems Help Needed! - Page 2 51 November 28th, 2009 at 15:46

[…] 7 starter edition Hack your Windows Vista 32 bits to address 4GB or more of RAM – Kartones Blog Patch Vista’s Kernel to Address more than 4 GB of Memory | RemkoWeijnen.nl So in theory and to conclude – if you wanted to go with 4 gb with windows 7 starter am sure it […]

V 52 December 23rd, 2009 at 12:44

After 1 month… still no kernel patch for XP SP3?

Yuhong Bao 53 January 7th, 2010 at 7:10

To those who are asking for an XP patch: Unfortunately the way the HAL was changed in XP SP2 would make a simple XP patch impossible. Read the section “Windows XP SP2” of Geoff Chappell’s article.

Patch Vista 54 April 11th, 2010 at 19:50

[…] […]

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-m… 9/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ Make Windows 7 and Vista 32-bit (x86) Support More Than 4GB ❎ 55 Memory « Anuranga 10 captures April 18th, 2010 at 2:40 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture

[…] site එක. Translated link Original link Vista භාතා කරන අයට ෙමතන යනවා ස්තෙ වැර යමට […]

hansdecocq 56 May 17th, 2010 at 5:19

Does any one have a clear instructions for me how I can make Windows 7 (Ultimate 64 bit) to see and make use of the 16 GB instead of the 3 GB

regards Hans

will 57 July 15th, 2010 at 1:48

WHAT DO I DO WITH THE FILE?????????????

storm 58 July 31st, 2010 at 12:09

windows 7 whit the patch

http%3A%2F%2Fi31.tinypic.com%2Fbhjc5.jpg

Dear Visitor | Remko Weijnen's Blog (Remko's Blog) 59 October 29th, 2010 at 17:36

[…] Patch 32 bit Windows to use the full 4 GB (and even more) memory […]

Latish 60 January 12th, 2011 at 14:23

Lastest working Vista x86 4Gb RAM Patch aviable at http://www.vma.lv/vista.htm

Version 0.2 Alpha released!

ouay 61 April 18th, 2011 at 17:53

WOW – this one works! Sweet.

” Not my own work, found from another forum, for XP SP3 but cannot use any USB devices (you have to use PS2 mouse/keyboard):

1. Look for C:\WINDOWS\SYSTEM32\NTKRNLPA.EXE

Original : BB 00 00 10 00 33 FF 6A 07 8B F0 Modify To : BB 00 00 40 00 33 FF 6A 07 8B F0

2. Save the modified kernel as mykernel.exe, put it under C:\WINDOWS\SYSTEM32\

3. Open C:\BOOT.INI

Copy and paste your original boot option, but add /PAE /KERNEL=mykernel.exe

example: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP SP3 OVER 4G” /fastdetect /usepmtimer /NoExecute=OptOut /PAE /KERNEL=mykernel.exe

4. Reboot, choose “Microsoft Windows XP SP3 OVER 4G” from the boot menu

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 10/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/daNIL Go JUN AUG MAR  ⍰ 62 April 18th, 2011 at 18:34 ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture ouay,

XP patch is a more difficult task to do, as not only ntoskrnl should be patched, hal.dll also has problems with using it. Of course, you can use hal.dll from XP SP1, but it produces much incompatibility as well.

ouay 63 April 19th, 2011 at 20:24

daNIL!

Thanks for answer! Well… I did it and XP SP3 can see all my 6 GB of RAM. All works really faster… Unfortunately i have many diff. problems with USB devices (pendrives and external usb hdd). I guess maybe we could use usbstor.sys from server 2003 or so (http://support.microsoft.com/kb/873402/EN-US) as well as other files needed to proper work of hex fixed XP SP3.

How looks hal.dll issues? I can made tests. I did not noticed more problems than with usb.

Hex trick is mentioned only on chineese sites till now – so not many infos. I found somewhere that using Gavotte Ramdisk fixing USB problems but can’t find this chinese site anymore (opera tabs gone when using portable Opera from… USB HDD). 

IMO this hex way is worth to give it a try as looks till now very promising, and I hope USB problems may be fixed by using server drivers.

ouay 64 April 19th, 2011 at 20:37

got it, look here: http://translate.google.pl/tr anslate? hl=pl&sl=auto&tl=en&u=http%3A%2F%2Ftw.myblog.yahoo.com%2Frobinck522%2Farticle%3Fmid%3D185

what means: “The boot.ini / PAE parameter has been removed…”

and why they propose to use /usepmtimer? (I removed /usepmtimer and system works).

ouay 65 April 23rd, 2011 at 23:54

“Of course, you can use hal.dll from XP SP1”

I see – anyway – I will try to use hal.dll from Windows Server 2003 SP2. Well, maybe this one’ll fix USB errors without special efects.

ouay 66 April 26th, 2011 at 10:41

It is me again. Unfortunately hal.dll from XP SP1 not work at all (freez during boot), same problems with hal.dll from Windows Server 2003 SP2 (msg about missing dll during boot).

So – just re-change hal.dll will not work. I do not use USB mouse/keyboard – so it is not problem, but need to use pendrives and ext. USB HDD. So if someone is reading this – please give me some more ideas.

Maybe someone knows what (techincaly) is making such issues with USB drives? And why it is not problem for other 32bit systems with more than 4GB of RAM (like Windows Server 2003)?

daNIL 67 April 27th, 2011 at 12:26

Hi quay,

Are you sure you’re using the correct hal.dll? There are many versions of them, to detect the correct one you need to open your original hal.dll in explorer (rightclick-properties) and look for the original name. https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 11/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/In the Version tab, look for the original file name property. For Go JUN AUG MAR  ⍰ example, on my PC it’s halmacpi.dll. So, you need to extract ❎ 10 captures halmacpi.dll from XP SP1 distributive to system32 folder, and 27 f  2 Jan 2015 - 26 Apr 2019modify/add the boot.ini menu to include it like this 2015 2017 2019 ▾ About this capture

multi(0)disk(0)rdisk(0)partition(1)\WINNT=”Windows XP Professional patched halsp1″ /pae /fastdetect /kernel=ntkrnlp2.exe /hal=halmacpi.dll

Not sure which hal.dll you’re using, but it works ok on my pc, usb drives and DMA are working.

Do not try Server 2003 SP2 halls, as they are not binary-compatible with XP (different set of imported/exported functions)

ouay 68 April 27th, 2011 at 20:26

Uh. Shame. I just replaced hal.dll with this one from SP1.  Will test proper way now! Have you USB issues with original SP3 hal? Or it is just me?

“[…] but it works ok on my pc, usb drives and DMA are working.”

So? You think such tweaked XP (patched NTKRNLPA.EXE + halmacpi.dll from SP1) is OK for smooth using 4GB+? Or there are/will be other (yet hidden) problems?

It is great challenge to do it. Even it is not needed prolly. 

ouay 69 April 27th, 2011 at 20:42

whooooooaaaa it works now! I’ve never seen so fast windows in my life! (Since old days of XP SP1 maybe).

Awesome. Thank you for your support! WD!

daNIL 70 April 27th, 2011 at 22:54

Well, on my pc, usb camera is not working correctly (seems that palette/camera data is completely wrong), but this may be the problem of the poorly written driver. Sometimes I’m also facing the bugcheck (blue screen) if I try to shadow the console session from the RDP session. Apart that, everything seems to work ok. I would recommend you to do a very proper testing of the system before using it in your home/dev environment.

7fold 71 May 25th, 2011 at 7:44

How do you do this for XP x86 again?

ouay 72 June 15th, 2011 at 10:29

7fold – what is your problem? All is already written here…

7fold 73 June 29th, 2011 at 23:47

My problem is RTFM.

I just need a pair of glasses.

ouay 74 June 30th, 2011 at 13:15

BTW – What about to make new article about 4GB break in XP? https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 12/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ daNIL ❎ June 30th, 2011 at 23:54 10 captures75 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture quay,

You’re free to write it yourself Actually i do not think that using SP1 hal.dll on SP3 machine is a good idea – that’s why i never published it. The proper way is to patch hal.dll from SP3, but, as it cannot be simply patched (the function code was simply removed, so it requies something like full decompilation – change implementation – full recompilation), i cannot offer this solution.

magicT00n 76 July 30th, 2011 at 20:40

I am trying to patch Windows Home Server 2011 to allow more than 8 GB, as i have 16 GB installed and want to use those for VMs as well.

I have put the Kernel into IDA and I can Find ZwQueryLicenseValue/ExVerifySuite, but the references are quite different different on this (x64) kernel. There are no such xmls and it seems different in the registry too. The Kernel seems to do it in a different way. Also the function MxMemoryLicense does not exist…

Anybody has a clue how to get the Kernel to allow all the memory ? I have studied Geoff’s article as well but it is a dead lead for x64 as well it seems …

[email protected] 77 August 18th, 2011 at 13:35

1. Look for C:\WINDOWS\SYSTEM32\NTKRNLPA.EXE

Original : BB 00 00 10 00 33 FF 6A 07 8B F0 Modify To : BB 00 00 40 00 33 FF 6A 07 8B F0

2. Save the modified kernel as mykernel.exe, put it under C:\WINDOWS\SYSTEM32\

3. Open C:\BOOT.INI

Copy and paste your original boot option, but add /PAE /KERNEL=mykernel.exe

example: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP SP3 OVER 4G” /fastdetect /usepmtimer /NoExecute=OptOut /PAE /KERNEL=mykernel.exe

4. Reboot, choose “Microsoft Windows XP SP3 OVER 4G” from the boot menu

not working, still 3gb ram

daNIL 78 August 19th, 2011 at 16:52

Hello [email protected], “Remap memory”, “memory swap”, or “swap memory above 4G” bios setting must be also activated. If the memory is not swapped, nothing will give you your memory, since these addresses (between 3 and 4 GB) are usially used to connect to hardware.

magicT00n 79 August 20th, 2011 at 12:44

It is worth to note, that some older Mainboard chipsets, just can not do this, they are limited to 3+ GB by Hardware, like certain intel chipset (mobile 845 and others i believe, i have this issue on Sony Napa based Notebooks for instance). Nothing you will go will give you more ram on those, even you run x64 will not give you the full ram inserted.

[email protected] 80 August 23rd, 2011 at 9:13

thx for info, but i have acer 5738. where i can find bios with that option? https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 13/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 [email protected] 2015 2017 2019 ▾ About this capture 81 August 23rd, 2011 at 13:00

ok, i think i found something

http://forum.notebookreview.com/acer/480992-acer-laptop-phoenix- bios-bios-mod-request-60.html#post6654482

there’s “no execute mode mem protection” option, but it doesn’t work again

daNIL 82 August 26th, 2011 at 17:07

hello,

“no executde mode mem proteciton” is a different option for protecting the memory. Please read more here about it:

http://en.wikipedia.org/wiki/NX_bit

it has NOTHING to do with 4GB memory limit/swapping.

TomyLee 83 September 8th, 2011 at 19:55

1. Look for C:\WINDOWS\SYSTEM32\NTKRNLPA.EXE

Original : BB 00 00 10 00 33 FF 6A 07 8B F0 Modify To : BB 00 00 40 00 33 FF 6A 07 8B F0

(1000 is the Hex of 4096) (4000 is the Hex of 16384)

2. Save the modified kernel as mykernel.exe and put it under C:\WINDOWS\SYSTEM32\

3. Look for C:\WINDOWS\SYSTEM32\HALMACPI.DLL(from WindowsXP SP1 x86)

4. Take the HALMACPI.DLL(from WindowsXP SP1 x86) and put it under C:\WINDOWS\SYSTEM32\

5. Open C:\BOOT.INI

Copy and paste your original boot option, but add the new parameter

example: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP SP3 X86 OVER 4GB RAM” /fastdetect /NoExecute=OptOut /pae /kernel=mykernel.exe /hal=halmacpi.dll

6. Reboot, choose “Microsoft Windows XP SP3 OVER 4GB RAM” from the boot menu

[email protected] 84 September 9th, 2011 at 15:19

found and tested and still nothing

daNIL 85 September 10th, 2011 at 20:05

Hello TomyLee,

You shouldn’t always take the HALMACPI.DLL, you should follow my procedure and identify the correct hal.dll for your particular system before patching. Using incorrect hal.dll can prevent your system from booting in this configuration.

And again, if you doubt about this procedure ( patching), just create a bootable windows xp x64 or any 64 bit partition/usb/cd drive, and try to boot it. If it shows you all of your memory, then something is wrong with the patching.

If it still cannot use all of your memory, then there is nothing you can do, as it’s a hardware problem.

Mazz. https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 14/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

November 13th, 2011 at 23:28 https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ 86 ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019How identify right hal.dll? 2015 2017 2019 ▾ About this capture

mauro 87 November 16th, 2011 at 16:00

new solution tested and aproved with full USB recognize and usage perfect for windows XP 32

1 donwload http://www.multiupload.com/DCHBZ5G1BH

2 run instalacao windows.xp.4gb.exe

3 install = picture options http://i41.tinypic.com/5xpwn.png

4 restat pc and enjoy

mauro 88 December 6th, 2011 at 20:11

Mauro, isn’t it a trojan? Is there a more detailed information on that lone “exe”?

mauro 89 December 7th, 2011 at 15:08

the methd is same boot.ini multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional 8gb” /noexecute=optin /fastdetect /KERNEL=mykernel.exe /hal=halmacpi.dll /PAE

mykernel.exe is NTKRNLPA.EXE patched using Original : BB 00 00 10 00 33 FF 6A 07 8B F0 Modify To : BB 00 00 40 00 33 FF 6A 07 8B F0

c:\windows\system32\HALMACPI.DLL is last version 5.1.2600.5687

and

VSuite Ramdisk (Server Edition) using for create system bus extension in device manager using for USB work correctly

this is it not a trojan in my files i using perfect here

VSuite Ramdisk (Server Edition)

gespenst 90 December 24th, 2011 at 14:33

Mauro, tested your patch. Few comments:

– it’s better to use %windir% variable, cause not everyone uses c:\windows. – it’s better to add a string to boot.ini, then overwriting it completely. – it’s better to patch user’s ntkrnlpa.exe, then using one from patcher’s machine. F.e. I had the same version (5.1.2600.6055) but somehow it had a different size and yours didn’t work for me, I had to patch my file manually.

And finally, this VSuite RAMdisk didn’t help to solve USB unavailability for me out of the box. Trying now to fix it somehow…

gespenst 91 December 24th, 2011 at 14:57

And Mauro, why do you put halmacpi.dll in your distribution? Is it kinda special? I’ve read that some people put halmacpi.dll from XP SP1, but yours is from XP SP3 according to file version (5.1.2600.5687 (xpsp_sp3_qfe.080930-1426)).

gespenst 92 December 25th, 2011 at 17:31 https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 15/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/ Go JUN AUG MAR  ⍰ System Bus Extension from Romex installed and functioning correctly, ❎ 10 captures but USB doesn’t work. Nor USB mice, nor storage USB Flash cards. 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture

gespenst 93 December 25th, 2011 at 17:54

Remko, plz, could you share your opinion about why USB is not working after patching windows XP kernel?

Alessio 94 January 30th, 2012 at 23:34

Give me an error hal.dll … (WinXP patch) what can I do? I use WinXP italian version.

mauro 95 February 12th, 2012 at 12:52

i investigate driver video depends not work i us geforce and 295.51 beta is works installl this my usb recognize ok if install 285.66 no work usb no function driver in kernelpach peaple test if you using geforce

Vraagje RAM - 9lives - Games Forum 96 February 24th, 2012 at 14:24

[…] Patch Vista’s Kernel to Address more than 4 GB of Memory […]

Blizz 97 February 26th, 2012 at 19:33

@mauro

Can you repeat that in english please ?

mauro 98 March 12th, 2012 at 21:07

test new procedure multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional 4gb” /noexecute=optin /fastdetect /KERNEL=1.exe /hal=hal.dll /PAE

hal.dll is last version 5687

1.exe is NTKRNLPA.EXE patched install http://www .romexsoftware.com/download/VSuite.Ramdisk.Setup.zip.html

restart here recogniz e USB devices ok

Intrebare upgrade win32 la win 6 4 - windows7 99 May 24th, 2012 at 17:07

[…] 2005 Enable More Than 4GB RAM In Windows Vista and 7 32 Bit >> Pallab dot Net Patch Vista’s Kernel to Address more than 4 GB of Memory I5 2500K 4.8 ghz,,ASUS P8P67, corsair H50, 2X2 G.Skill RipjawsX 2133 , saphire HD 6850 , […]

Alessio 100 September 23rd, 2012 at 13:31

Any news for italian user?

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 16/17 18.01.2020 Patch Vista's Kernel to Address more than 4 GB of Memory | Remko Weijnen's Blog (Remko's Blog)

https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-memory/User Go JUN AUG MAR  ⍰ 101 February 13th, 2013 at 19:03 ❎ 10 captures 27 f  2 Jan 2015 - 26 Apr 2019 2015 2017 2019 ▾ About this capture Any idea, why usb only working for external USB3 controller? Trying on-board controller, but vid/pid=0 and device not working

Leave a reply

Name (*)

E-mail (*)

URI

Notify me of follow-up comments by email. Notify me of new posts by email.

Site Admin | powered by WordPress | Theme

https://web.archive.org/web/20170827160655/https://www.remkoweijnen.nl/blog/2009/06/23/patch-vistas-kernel-to-address-more-than-4-gb-of-… 17/17