[Q] Win 8, bypass PAE/NX/SSE2 check

Discussion in 'Windows 8' started by TziMmys, Sep 18, 2012.

  1. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    #81 vze2mp9g, Feb 1, 2013
    Last edited by a moderator: Apr 20, 2017
    I tried this with my Windows 8 Pro (x32) and I used Notepad++ and it didn't find 77073D7801. Is there something else I can do to get rid of this check? I would really like to install Windows 8. I really would appreciate any and all help concerning this matter.
    Thank You.

    ___________________________________________
    OS: Windows 7 x32 Ultimate V6.01 Build 7601 Service Pack 1||MoBo: ASUS P4P800-E Deluxe || CPU: Socket 478 for Intel(R) Pentium(R) 4 (Northwood) 3.00GHz [D1]|| Ram: 2GB of 400MHz Dual DDR RAM (Corsair)
    GPU: Radeon HD4650 2Gb || Monitor: Acer H274HL (HDMI) || HDD: 1Tb Western Digital Black Drive || DVD ROM: SONY DVD RW DRU-830A ATA Device || Blu-Ray DVD ROM: LG HL-DT-ST BD-RE GBW-H20L
     
  2. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    I just upgraded my CPU to an Intel P4, Socket 478 2.8A GHz, Then I tried to install Windows 8, and it wasn't able to install Windows 8. Isn't the P4 Socket 478 2.8A GHz suppose to have NX, and supposedly it's a 64 bit chip?
    Thanks

    OS: Windows 7 x32 Ultimate V6.01 Build 7601 Service Pack 1||MoBo: ASUS P4P800-E Deluxe || CPU: Socket 478 for Intel(R) Pentium(R) 4 (Northwood) 3.00GHz [D1]|| Ram: 2GB of 400MHz Dual DDR RAM (Corsair)
    GPU: Radeon HD4650 2Gb || Monitor: Acer H274HL (HDMI) || HDD: 1Tb Western Digital Black Drive || DVD ROM: SONY DVD RW DRU-830A ATA Device || Blu-Ray DVD ROM: LG HL-DT-ST BD-RE GBW-H20L
     
  3. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    That is true, but you can't use it to install Windows 8. I tried replacing the setup.exe and it didn't work.
     
  4. roirraW "edor" ehT

    roirraW "edor" ehT MDL Addicted

    Sep 1, 2007
    618
    217
    30
    The BIOS has to support it, too. A lot of BIOS which do support it allow you to disable or enable it, just in case you don't want it or it presents a compatibility problem. See if your motherboard or laptop has a BIOS update and see if the update supports it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Jan1

    Jan1 MDL Novice

    May 20, 2010
    48
    257
    0
    #85 Jan1, Jun 12, 2013
    Last edited: Mar 4, 2014
    I found a (bad) solution for the NX restriction:

    After you have successfully circumvented the NX check of the Windows 8 installer (e.g. by applying the Windows 8 install.wim from Windows PE) you will get a 0x0000005D (UNSUPPORTED_PROCESSOR) BSOD if you try to boot Windows 8. The function that is responsible for the NX check and the subsequent BSOD is KiInitializeKernel and is located in ntoskrnl.exe. This function calls KiGetFeatureBits to obtain a 32 bit number of which each bit stands for a feature supported by the current CPU. If it does not match the bitmask 0x200138B6 the 0x0000005D BSOD occurs. You can bypass the NX check by removing KF_NOEXECUTE (which is defined as 0x20000000) from the bitmask which results in 0x000138B6.
    If you want to do so, open Windows\System32\ntoskrnl.exe in a hex editor, search for B6 38 01 20 and replace both occurrences with B6 38 01 00. One occurrence is in the check of the first logical CPU core and the other is in the check of the remaining cores. When you're done you have to update the PE checksum to make it match the new file contents.

    However, this method has some major drawbacks:
    - You have to repeat the procedure if you install an update that replaces ntoskrnl.exe
    - You will break the digital signature of ntoskrnl.exe, which means that you have to select "Disable Driver Signature Enforcement" everytime you boot Windows 8
    - You can use only one logical CPU core: I tested this method on a Pentium 4 540 and a Pentium 4 550. If hyper-threading is enabled, the boot process hangs when the spinning dots appear. There is no harddisk activity and you notice high CPU usage. The reason for this behaviour is that other logical CPU cores than the first cannot be started: The function KeStartAllProcessors calls HalStartNextProcessor to start another logical core. Then it calls KiStartWaitAcknowledge, which waits for the new core to start. Since the core does not start (the function KiSystemStartup, which is the entry point for all CPU cores, does not get called) the main CPU is caught in KiStartWaitAcknowledge. If you can't disable hyper-threading in your BIOS you can use bcdedit /set {default} onecpu on to use only one logical CPU core.
     
  6. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,377
    2,479
    120
  7. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,586
    340
    #87 Tito, Jun 13, 2013
    Last edited by a moderator: Apr 20, 2017
    Code:
    bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING ON
    
     
  8. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0
    Well done mate. At last, a solution. Well done. Hoping for a new solution with less bugs. Again, well done and thanks...!!
     
  9. adit123tya

    adit123tya MDL Senior Member

    Oct 25, 2012
    397
    197
    10
    we have a button with something like "thanks" written on it.
     
  10. TziMmys

    TziMmys MDL Junior Member

    Aug 27, 2012
    70
    8
    0

    Very useful post indeed.... Did you check if I had it pressed? No, because if you had, you would have seen that I had it pressed. And I felt like saying thanks instead of just hitting a thanks button was necessary, since I am am the topic starter.
     
  11. rokkyrokky

    rokkyrokky MDL Novice

    Dec 24, 2009
    3
    0
    0
    #91 rokkyrokky, Jun 13, 2013
    Last edited: Jun 14, 2013
    Hi! I have an old notebook without NX support. I tried your method and passed 0x0000005D error, BUT few seconds after that big title comes up with sad smiley saying something like: " :( Your computer ran into a problem and needs to restart. It's collecting error info and will restart in: 3, 2, 1, 0 seconds".

    In BCDEDIT I set: nx AlwaysOff, disable_integrity_checks, testsigning on and onecpu on, BUT these switches don't help at all. Still I have to disable driver signature verification on every boot.

    update: by now, i know what caused restart: HAL_INITIALIZATION_FAILED (0xc0000001)

    Trying to install Consumer Preview 8250 (last build that doesn't require nx aka dep).
     
  12. Pietro

    Pietro MDL Novice

    Nov 11, 2012
    8
    2
    0
    #92 Pietro, Jun 14, 2013
    Last edited: Jun 14, 2013
    How disable automatic system repairing on boot screen when replaced original ntoskrnl.exe ? :confused:
     
  13. Jan1

    Jan1 MDL Novice

    May 20, 2010
    48
    257
    0
    #93 Jan1, Jun 14, 2013
    Last edited by a moderator: Apr 20, 2017
  14. Pietro

    Pietro MDL Novice

    Nov 11, 2012
    8
    2
    0
    #94 Pietro, Jun 14, 2013
    Last edited by a moderator: Apr 20, 2017
    Jan1, thanks.

    Can't disable recovery screen with error 0xc0000428. Tried DDISABLE_INTEGRITY_CHECKS but showed too. How direct boot without press F8 and F7 keys ?
     
  15. moderate

    moderate MDL Guru

    Aug 31, 2009
    3,377
    2,479
    120
  16. rokkyrokky

    rokkyrokky MDL Novice

    Dec 24, 2009
    3
    0
    0
    Yes, I used small tool PEChecksum from softpedia.com/get/System/File-Management/PEChecksum.shtml
     
  17. Jaro89

    Jaro89 MDL Novice

    Jun 17, 2013
    1
    0
    0
    It's really working, thank you.
    I'll be just great if you will be able to activate HT.
    Anyway, thanks again:rolleyes:
     
  18. 3m4shik

    3m4shik MDL Novice

    Jun 19, 2013
    4
    0
    0
    Another one with P4 without NX support. Tried windows 7, works well then i saw win7 vs win8 comparisons: windows 8 runs fast and uses less memory, which is an amazing improvement for old systems. So i wanted to try it but faced the described problem.
    Hope to see something quite stable to try on my machine.
    I read that Hyperthreading makes evident difference with video editing and programs that use more cores. I think i could live without it on an old machine.

    Thanks for sharing information!!
     
  19. Lotusisrael

    Lotusisrael MDL Junior Member

    Jun 28, 2013
    63
    2
    0
    Hello, I am a newcomer. I have used for some time the expertise found on this forum, from time to time. I am posting now, firstly, to signal a similar issue, this time regarding Windows 8.1, the succesor of Windows 8. Theoreticly, it was suppose to be a free upgrade for Windows 8. In the System Requirements section it says: „For 64-bit installations of Windows 8.1 Preview, your CPU must also support CMPXCHG16b, PrefetchW and LAHF/SAHF.” There are many people, especially from 3rd world countries with low incomes, or students who got a free Dreamspark Windows license who installed a x64 version of Windows NT 6.2, and they are now forced by this to either downgrade to Windows 7, or the switch to x86 editions (and that means, of course, less performance and not only), or to make really expensive hardware upgrades, and that means, usualy, both CPU and motherboard. I am not a technical person, I have only limited expertise on IT. I have seen that someone in here managed to find a way of instaling Windows 8 on unsupported CPU. Altough I only scarcely understand how he managed, I realise that the solution to the new issue is probably of the same type. I do not know if this is legit, but a solution to this could help many poor students deploy from Dreamspark a genuine Windows, since on Dreamspark basic, available to all students, only x64 versions of Windows are available. I would be really curious to know how the ntoskml file can be edited, I am not so technical. On the other hand, I know that there is a policy that allows you to choose to boot with unsigned or bad drivers on Windows NT 6.2, so that would mean that you did not have to choose to disable driver signature on every boot.
     
  20. PublicAccount

    PublicAccount MDL Novice

    Jun 28, 2013
    11
    0
    0
    Hi Jan1,

    First of all congrats for finding a work around :worthy:. I understand MS's decision to enforce basic security measures, but at the same, an old computer running Windows 8 is probably more secure than running XP.
    That being said, I tried installing Windows 8 on a machine with no NX support using the TechNet edition. I managed to install using the alternate setup.exe in \sources but upon reboot I get a black screen with the error 0x0000005D an NOT the BSOD. I thought I'd patch ntoskrnl.exe but the weird thing is that there is nothing to patch, the values are already B6 38 01 00.
    My version of ntoskrnl is 5.1.2600.6387 and it is 2.09Mb in size. This differs from the files posted by moderate.

    Any idea what I can do to get my computer to boot ?

    Thanks!