番茄系统家园 - 免费重装系统!简单装系统,人人都是装机大师!
当前位置:首页>Win7资讯 > 开启win7的大于4gb的内存win7开启大内存支持

开启win7的大于4gb的内存win7开启大内存支持

来源:番茄系统家园浏览:时间:2021-08-19 11:05:21

开启win7的大于4gb的内存win7开启大内存支持

,,,,

,

,asisthekernel,thechecksumintheexecutable’sheadermustbesetcorrectly.Sincepatchingthekernelwillalmostcertainlyhaveinvalidatedthisstoredchecksum,youneedtoresetit.Signingthecode,asdiscussedunderthenextheading,willdothis.Ifyoudon’thavetoolsforsigningcode,thenasuitabletoolforsettingthechecksumisEDITBINfromMicrosoftVisualStudio.Its/releaseswitchexistssolelytosetthechecksum.Thecommandtorunis

editbin/releasentkr128g.exe

DigitalSignature

Itissometimessaidthatkernel-modedriversarenotcheckedfordigitalsignaturesin32-bitWindowsVista,ormoreaccuratelythatalthoughhashesarecomputed,driversarenotrejectedifthehashisnotvalidatedbyasignature.7Althoughthisisbroadlytrue,thereareadozenexecutablesthattheloaderordinarilyinsistsbesignedproperly.Thekernelisoneofthem,ofcourse.Itmustbesignedbyacertificatethatderivesfromoneofahandfulofrootcertficateswhosepublickeysarehard-codedintotheloader.SincepatchingthekernelwillhaveinvalidatedMicrosoft’ssignature,youhavetoresorttooneoftheexceptionsthatarecoveredbytheword“ordinarily”(unlessyouwanttopatchtheloadertoo).

OneoftheseexceptionsisaTestModewhichMicrosoftprovidessothatdriverscanbetestedduringdevelopment.Presumably,thisTestModealsoletsMicrosoft’sownkernelprogrammersgettheirkerneltestedwhileitisstillbeingworkedonandisnotreadyforapropersignature.Inpatchingthekerneltotestwhatwillappeartoyoutobeanewkernel-modefeature,youareinessentiallythesameposition,thoughonamuchsmallerscale,asMicrosoft’sownkernelprogrammerswhentheyhavechangedthekernel.Inthissense,theTestModeisthemostappropriatewayaroundthedigitalsignature.

InTestMode,theloaderrelaxesitsintegritycheckingsuchthatanyrootcertificateisaccepted.8Providedthatyouhavesuitabletools,youcancreateyourowntest-signingcertificateandtest-signyourmodifiedcopyofthekernel,suchthatitwillloadwhenyoubootWindowswiththetestsigningoption.Thereisapricehowever:TestModehasthedetractionofplacingsmallwarningsonthedesktop.

Forsuitabletools,withdocumentation,lookineithertheWindowsSoftwareDevelopmentKit(SDK)ortheWindowsDriverKit(WDK).Tomakeyourowncertificate,runsomesuchcommandas

makecert-r-ssmy-n"CN=MyOwnTestingAuthority"

ThiscreatesarootcertificateforaninventedcertificationauthoritynamedMyOwnTestingAuthorityandinstallsitinthePersonalcertificatestore,whichisrepresentedby“my”inthecommand.YoucanviewthenewcertificatebystartingtheCertificateManager(CERTMGR.MSC),whichalsoletsyousetaFriendlyNameforthecertificateifyouwanttokeepit.Tosignyourmodifiedkernelwiththiscertificate,runthecommand

signtoolsign-smy-n"MyOwnTestingAuthority"ntkr128g.exe

Notethatyoudonotneedadministrativeprivilegeforthesesteps.Also,youcanself-signthekernelononemachinebuttestitonanother.Thereisnoneedtotransferthecertificatetothetestmachine.Indeed,thereisnomoreneedtokeepthecertificate.YoucandeleteitfromthePersonalstoreeitherthroughtheuserinterfaceoftheCertificateManagerorbyrunningthecommand

certmgr-del-c-smy-n"MyOwnTestingAuthority"

BootingtheSelf-SignedPatchedKernel

Younowhaveamodifiedkernelwithwhichtotestyour32-bitWindowsVistaforitsuseofphysicalmemoryabove4GB.CopyittotheWindowsSystemdirectoryofthemachinethatyouwilltest.(Forthis,youtypicallywillneedadministrativeprivilegeforthetargetmachine.)Then,providedthatyousuccessfullyself-signedthekernel,youhavetorestartthatmachinewiththreebootoptions:

pae

,settoForceEnabletobesureofenablingPAE;

kernel

,settoNTKR128G.EXEsothatWindowswillstartwithyourpatchedkernel;

testsigning

,sothattheloaderwillacceptyourself-signedkernel.

PersistentTestMode

Tosetupapersistenttest,usetheBCDEDITutilitytowritetheoptionsintotheBCDstore.Itisprudenttoworkonacopyoftheconfigurationthatyouwanttotest.Assumingthatyouarecurrentlybootedintothisconfiguration,runningthecommand

bcdedit/copy{current}/d"WindowsVistaUsingAllMyMemory"

willcreateanewentryforthebootmenuandtellyouaGUIDwhichyouthenreproduce(e.g.,byacopyandpaste)inthecommands:

bcdedit/set{

guid

}paeForceEnablebcdedit/set{guid}kernelntkr128g.exebcdedit/set{guid

}testsigningon

Whenyourestartthecomputer,select“WindowsVistaUsingAllMyMemory”fromthebootmenu,andstarttesting.Ifyoudoturnouttohaveadefectivedriverandneedtoidentifyitandupdateit,thenyoucangothroughanyoftheusualprocessesofeliminationevenwhilestartinginTestMode.NoteinparticularthatTestModeisnotSafeMode.Youcanhavethetwotogether:while“WindowsVistaUsingAllMyMemory”isselectedatthebootmenu,justpressF8toopenthe

AdvancedBootOptionsMenuandthenselectSafeMode.

One-TimeTestMode

IfyoualreadyhaveanoperatingsystemconfigurationthathasPAEenabled,thenalessintrusivewaytostartyourtestsistoentertheoptionsattheEdit

BootOptionsMenu.Thisisadmittedlyaloteasierifyourmachineisalreadyconfiguredforbootingmultipleoperatingsystems(ortheoneoperatingsysteminmultipleconfigurations)sothatyouordinarilyseeabootmenuduringstartup.Atthisbootmenu,selecttheconfigurationthatyouwanttotest,thenpressF10toopentheEditBootOptionsMenu.ItistoolatetoenablePAEhere,buttheotheroptionscanbeaddedinthestyleofBOOT.INIswitches:

/kernel=ntkr128g.exe/testsigning

PressEnter,andtheselectedoperatingsystemwillstartwithyourmodifiedkernelinTestMode.Thismethodhastheadvantageofnotreconfiguringtheselectedoperatingsysteminanywaythatlasts,andthecorrespondingdisadvantagethatyouhavetotypesomethingeverytimeyouwanttodothetest.

BootingthePatchedKernelWithaBadSignature

Thepatchedkernelcanalsobebootedbydisablingtheloader’sintegritycheckingaltogether.YoucannotsetthisupentirelywithbootoptionsintheBCDstore,becausetheoptiontodisableintegritycheckingisnotpermittedtopersist.Theclosestyoucangetistodisableintegritycheckingatoneorotherofthebootmenus.

Prepareabootentrywithjustthepaeandkerneloptionsasabove.Whenyourestartthecomputer,select“WindowsVistaUsingAllMyMemory”butpressF8toopentheAdvancedBootOptionsMenuandthenselectDisableDriverSignatureEnforcement.

ThealternativewiththeEditBootOptionsMenuisalsoavailable,withthesameconstraintsaboutPAEbeingalreadyenabled,buttheswitchestoenterarenow:

/kernel=ntkr128g.exe/disable_integrity_checks

Curiouslyenough,bootingwithintegritycheckingdisabledleavesnowarningsonthedesktop(suchasyougetfrombootinginTestMode).Idonotmeantorecommendthismethodoftesting.Idescribeitonlyforcompletenessandbecauseitistheonlymethodavailableifyoudonothavetoolsforcode-signing,whicharerelativelynewfromMicrosoft,butareabletosetanexecutable’schecksum.

相关阅读

  • win7开启大内存
  • win7内存支持多大
  • 开启win7的大于4gb的内存win7开启大内存支持
  • 推荐系统

    • 雨林木风 winxp下载 纯净版 永久激活 winxp ghost系统 sp3 系统下载

      雨林木风 winxp下载 纯净版 永久激活 winxp ghost系统 sp3 系统下载64位
      系统大小:0MB系统类型:WinXP

      雨林木风在系统方面技术积累雄厚深耕多年,打造了国内重装系统行业知名品牌,雨林木风WindowsXP其系统口碑得到许多人认可,积累了广大的用户群体,是一款稳定流畅的系统,雨林木风 winxp下载 纯净版 永久激活 winxp ghost系统 sp3 系统下载,有需要的朋友速度下载吧。

      系统等级:
      进入下载 >
    • 萝卜家园win7纯净版 ghost系统下载 x64 联想电脑专用

      萝卜家园win7纯净版 ghost系统下载 x64 联想电脑专用64位
      系统大小:0MB系统类型:Win7

      萝卜家园win7纯净版是款非常纯净的win7系统,此版本优化更新了大量的驱动,帮助用户们进行舒适的使用,更加的适合家庭办公的使用,方便用户,有需要的用户们快来下载安装吧。

      系统等级:
      进入下载 >
    • 雨林木风xp系统 xp系统纯净版 winXP ghost xp sp3 纯净版系统下载

      雨林木风xp系统 xp系统纯净版 winXP ghost xp sp3 纯净版系统下载64位
      系统大小:1.01GB系统类型:WinXP

      雨林木风xp系统 xp系统纯净版 winXP ghost xp sp3 纯净版系统下载,雨林木风WinXP系统技术积累雄厚深耕多年,采用了新的系统功能和硬件驱动,可以更好的发挥系统的性能,优化了系统、驱动对硬件的加速,加固了系统安全策略,运行环境安全可靠稳定。

      系统等级:
      进入下载 >
    • 萝卜家园win10企业版 免激活密钥 激活工具 V2023 X64位系统下载

      萝卜家园win10企业版 免激活密钥 激活工具 V2023 X64位系统下载64位
      系统大小:0MB系统类型:Win10

      萝卜家园在系统方面技术积累雄厚深耕多年,打造了国内重装系统行业的萝卜家园品牌,(win10企业版,win10 ghost,win10镜像),萝卜家园win10企业版 免激活密钥 激活工具 ghost镜像 X64位系统下载,其系统口碑得到许多人认可,积累了广大的用户群体,萝卜家园win10纯净版是一款稳定流畅的系统,一直以来都以用户为中心,是由萝卜家园win10团队推出的萝卜家园

      系统等级:
      进入下载 >
    • 萝卜家园windows10游戏版 win10游戏专业版 V2023 X64位系统下载

      萝卜家园windows10游戏版 win10游戏专业版 V2023 X64位系统下载64位
      系统大小:0MB系统类型:Win10

      萝卜家园windows10游戏版 win10游戏专业版 ghost X64位 系统下载,萝卜家园在系统方面技术积累雄厚深耕多年,打造了国内重装系统行业的萝卜家园品牌,其系统口碑得到许多人认可,积累了广大的用户群体,萝卜家园win10纯净版是一款稳定流畅的系统,一直以来都以用户为中心,是由萝卜家园win10团队推出的萝卜家园win10国内镜像版,基于国内用户的习惯,做

      系统等级:
      进入下载 >
    • windows11下载 萝卜家园win11专业版 X64位 V2023官网下载

      windows11下载 萝卜家园win11专业版 X64位 V2023官网下载64位
      系统大小:0MB系统类型:Win11

      萝卜家园在系统方面技术积累雄厚深耕多年,windows11下载 萝卜家园win11专业版 X64位 官网正式版可以更好的发挥系统的性能,优化了系统、驱动对硬件的加速,使得软件在WINDOWS11系统中运行得更加流畅,加固了系统安全策略,WINDOWS11系统在家用办公上跑分表现都是非常优秀,完美的兼容各种硬件和软件,运行环境安全可靠稳定。

      系统等级:
      进入下载 >