questa l'ho trovata su un altro forum(uwp) dove stanno discutendo dela solita cosa:
Messaggio privato (Offline)
Re: Patch Windows 7 36bit
« Risposta #5 inserita:: Oggi alle 10:14 »
Rispondi citandoCitazione
Premettendo che in linea di massima concordo con ciò che ha scritto Clay65, vorrei aggiungere che mi sono tolto la curiosità di decompilare questa "Patch" o pseudo tale. Perchè pseudo tale? Primo perchè (come scritto anche da Clay65) non va a patchare (passatemi l'Italianizzazione) un bel niente; Secondo perchè non vi è traccia alcuna ne di PAE ne di AWE (quindi di quei famigerati 4 bit in più nemmeno l'ombra). L'unica cosa che fa questa pseudo "Patch" è la sostituzione del file "ntkrlStaforce.exe" che non è stato affatto moddato in modo tale da aggirare o forzare limiti di "architettura", bensì è stato modificato unicamente per rendere possibile la visualizzazione dell'intera quantità di RAM presente sul PC e non certo per poterla sfuttare. Un conto è vedere indicati i 4 o più GB di RAM un conto è poterli sfruttare.
I dati di "ntkrlStaforce.exe":
Versione file: 6.1.7600.16397
Descrizione: NT Kernel & System
(solite note di Copyright)
Nome elemento: Versione file > Valore: 6.1.7600.16397 (win7_gdr_staging.090720-1852)
Scompattato l'archivio autoestraente "4GB-7600.RTM.x86.04.08.2009.exe" otterremo 2 files:
(c)Staforce-4GB.exe
02.Watermark.exe
Decompilando "(c)Staforce-4GB.exe" otterremo 3 files:
install.cmd
ntkrlStaforce.exe (altro archivio autoestraente, contenente il file omonimo "ntkrlStaforce.exe")
VLD.exe (che altro non è che Batchrunner.exe compresso)
Contenuto di "install.cmd":
Codice:
@ECHO off
:: if not exist %SystemRoot%ntkrlStaforce.exe goto _NotFoundNewKernel
set OS_NAME=
ver > osinfo.txt
type osinfo.txt | find "Microsoft" > nul && goto _SuccessGetOsName
goto _SetDefaultOsName
:_SetDefaultOsName
set OS_NAME=Windows 32-bit (x86)
goto :SetEntryDesc
:_SuccessGetOsName
set num=0
setlocal enabledelayedexpansion
for,/f,"delims=",%%i, In (osinfo.txt) Do (
set /a num+=1
if !num! equ 1 set OS_NAME=%%i
)
:SetEntryDesc
set MY_ENTRY_DESC="%OS_NAME% >128 GB Memory"
del osinfo.txt > nul
ntkrlStaforce.exe
bcdedit | find "128GB" > nul && goto _FoundOldEntry
cls
bcdedit | find "ntkrlStaforce.exe" > nul && goto _FoundOldEntry
cls
bcdedit -copy {current} /d %MY_ENTRY_DESC% > mybcdguid.txt
type mybcdguid.txt | find "{" > nul && goto _SuccessCreat
goto _FailedCopy
:_SuccessCreat
set ENTRY_GUID=
for,/f,"tokens=2 delims={",%%i,In (mybcdguid.txt) Do (
set ENTRY_GUID_START=%%i
)
for,/f,"tokens=1 delims=}",%%i,In ("%ENTRY_GUID_START%") Do (
set ENTRY_GUID={%%i}
)
cls
bcdedit /set %ENTRY_GUID% testsigning on
cls
cls
bcdedit /set %ENTRY_GUID% pae forceenable
cls
bcdedit /set %ENTRY_GUID% kernel ntkrlStaforce.exe
cls
bcdedit -displayorder %ENTRY_GUID% -addfirst
cls
REM bcdedit -default %ENTRY_GUID%
cls
REM del mybcdguid.txt > nul
cls
goto _End
:_NotFoundNewKernel
goto _End
:_FoundOldEntry
goto _End
:_FailedCopy
goto _End
:_End
ECHO.
cls
bcdedit -timeout 10
BCDEDIT /SET ADVANCEDOPTIONS NO
bcdedit -displayorder {61b1399a-24cd-11de-a4c4-ca27f4abce37} -addfirst
bcdedit -default {61b1399a-24cd-11de-a4c4-ca27f4abce37}
Cosa è "VLD.exe" e chi ha il merito di questa utility?:
Come accennato in precedenza, questo files non è null'altro che una command line utility (free) il cui eseguibile è stato compresso. Il nome originale di tale file è "Batchrunner.exe", ed è stato realizzato da un utente (Seapagan) di
Codice:
www.msfn.orgLink del topic specifico (Forum in lingua Inglese):
Codice:
http://www.msfn.org/board/lofiversion/t659...ere-t65580.html(Mi permetto una considerazione. Comprimere, cambiar nome e mascherare la vera origine ed i veri meriti di una utility Free è quantomeno scorretto se non si è ottenuto l'esplicito consenso del creatore della stessa. In origine il file "pesa" 41KB compresso 21,5KB. Tali irrisorie differenze, a mio giudizio, non giustificano la compressione ed il conseguente "mascheramento" di un eseguibile).
Contenuto del file "ReadMe.txt" di "Batchrunner.exe" programma creato da Seapagan di msfn.org:
Codice:
BatchRunner v0.3i
-----------------
(c) Seapagan, 16th January 2006
What is It?
-----------
BatchRunner is a simple and tiny command line tool to run a batch file silently.
This means that your batch is run as usual, without any modification, but
nothing appears on the screen. Well, unless you have built some silent
installers in the past you may be saying - "What the hell use is that???".
Simply put, this tool is to be used when creating silent unattended installers
for Windows Applications.
Sometimes we need to have the silent installer run a batch file to perform a
proper installation of the software, or we want to copy over / delete some files
after the application has completed, or maybe we have more than one installer to
run inside the same package. For all these reasons we would use a batch file.
The only drawback with this method is that you will have an ugly command window
visible on the screen during the installation, or at least it will flash if you
are using cmdow or similar.
This little util fixes that. In the place where you normally run your batch file,
you run this program, giving your batch file as an argument.
Example.
--------
Before...
Setup.cmd
After...
Batchrunner Setup.cmd
That's it. Now your batch file will be completely invisible while it runs. This
program will also wait until the batch is completely finished before
terminating, so it is suitable for use in 'RunOnceEx' situations.
Usage.
------
batchrunner [<batchfile>] [/s]
Where:
[<batchfile>] - The name of the batchfile you want to run. Program will only
Accept files with .bat or .cmd extension. This is Optional.
If you leave this off, the program will default to 'install.cmd'
[/s] or [/S] - If specified, program will output no errors. Use with caution,
and always test your silent installers without this first.
Examples.
1) batchrunner
Silently Run the batch file 'install.cmd'.
any errors (ie cant find or run) will be displayed.
2) batchrunner setup.bat
Silently run the batch 'setup.bat'.
Errors will be displayed
3) batchrunner install.cmd /s
Silently run the batch 'install.cmd'.
Any errors will be ignored, program will silently fail.
4) batchrunner "run me.cmd"
Always enclose filenames that have spaces inside quotation marks.
The commandline switch can come either before or after the filename.
Note:
-----
This software is freeware.
Please report any bugs to
[email protected], including the program name
somewhere in the email topic (otherwise it will most likely be caught by the
junk filter and scrapped).
Any suggestions for improvements on features, send to the same address
SP
16/01/06 @ 16:52
Adesso cari amici, godetevi (a chi andrà bene) la visione dell'ammontare di tutta la RAM che avete sul PC, ma non illudetevi di sfruttarne più di 4GB (sicuramente meno). Disabilitate il "Paging", riavviate e provate a sfruttare i vostri 4 o piùGB di RAM.
Seven Ultimate con:
RAM Corsair XMS3 DDR3 1333 6GB (2GB x 3)
Processore i7
Scheda madre Asus P6T Deluxe
Giunto all'utilizzo di circa 3,5GB di RAM, crash, freeze ecc...ecc...
Buon Crash a tutti (non maleditemi scherzo).