IPB

Welcome Guest ( Log In | Register )

7 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Break Winpe/bartpe Resource Limits Legally, No need for Winlogon resource patch!
TheTruth
post Jun 5 2004, 11:47 AM
Post #1


Silver Member
***

Group: Members
Posts: 130
Joined: 6-August 03
Member No.: 1,329



Hi there smile.gif,

Well, after a long time of research, I've come up with an idea to remove resource limits in WinPE/BartPE (LEGALLY) through a loader without patching any file (no need for the illegal Winlogon resource patch), this was required at least for me as using any patched files in WinPE is prohibited at official workplace, I'm looking forward to implementing this idea in "PE Shell Swapper" (peshell.exe) once I get some more free time, but for now I need to make sure that everything is working just as I wanted it, so I've written a small (experimental) loader that will automatically launch the Command Prompt (cmd.exe) on an empty desktop as a shell, so you can test bypassing the resource limits by running as many programs as you wish form the command prompt.

Actually, I managed to launch 150 instances of notepad without reaching any limit on 128 MB VMware machine with a normal (unmodified) Winlogon.exe file.

Now, how can one use this loader?
First, download PELoader.exe: http://www.geocities.com/pierremounir/
(Scroll to the end of the page to get it)
Second, either make PELoader your shell, or launch it like any tool from your running WinPE/BartPE session, but remember to replace your patched winlogon.exe with a normal image smile.gif

Notes:
- Once you close the command prompt, your machine will be rebooted.
- Tested only on WinXP SP1-based WinPE/BartPE, but I'm sure it'll work on all versions of Windows, God willing.
- This loader is just a way to allow you to share me testing my work, and once we're all sure of it's functionality, we can come up with any ideas on how to implement it in a more useful way.

Benefits of using PE Loader:
- Legal way of removing resource limits.
- 800x600 startup resolution instead of 640x480 caused by Winlogon patch.
- Compatibility with current and future versions (and Service Packs) of Windows (Winlogon), unless MS adds more tricks smile.gif
(Note: Winlogon patch works only with specific versions of Winlogon).

Please, test and give feed back.

Regards,
TheTruth
Go to the top of the page
 
+Quote Post
gely
post Jun 5 2004, 01:05 PM
Post #2


Member
**

Group: Members
Posts: 92
Joined: 10-March 04
Member No.: 4,670



great work but could we have an autolaunch of custom shell instead of cmd.exe...
it will then be a great cool and transparent loader !
just a simple config file with a cmd param could be great !

for sure : great work by theTruth... Here again wink.gif

bBye smile.gif


--------------------
[PEBUILDER.3.1x][PLUGINMANAGER.100Bxx][PLUGINEDITOR.150][PESHELL][PELOAD][Z_EXP.0.4+FR]
---
parts from M$ WINPE 1.2 : TCPIP.INF + FACTORY32 + NETCFG
---
many from sherpya : BINL [MOD]
---
BUILD FROM FR SELECT XP SP2
Go to the top of the page
 
+Quote Post
JonF
post Jun 5 2004, 01:20 PM
Post #3


Gold Member
****

Group: Members
Posts: 557
Joined: 23-September 03
Member No.: 1,755



That's a truly wonderful idea. I don't know if I can test it this weekend, but I want to encourage you in your current work and thank you for your previous work.
Go to the top of the page
 
+Quote Post
aec
post Jun 5 2004, 05:14 PM
Post #4


Gold Member
****

Group: Members
Posts: 595
Joined: 21-February 04
From: Greece
Member No.: 4,313



@TheTruth

I confirmed that this concept works. I launched an explorer plugin and then more than 15 different heavy apps and everything was working normally. The only thing that I noticed was that the system run out of memory earlier compared to the same system with the logon patch. Propably this is normal and perhaps it can be improved if the peloader has the possibility to launch directly another shell and not a cmdbox.

Realy amazing work! Keep it up!
Go to the top of the page
 
+Quote Post
sherpya
post Jun 5 2004, 09:37 PM
Post #5


Platinum Member
*****

Group: Members
Posts: 1,497
Joined: 20-September 03
From: Italy
Member No.: 1,727



I've a similar solution for next xpe release, it works on xp, just testing it on w2k3
Go to the top of the page
 
+Quote Post
viceroy
post Jun 5 2004, 09:59 PM
Post #6


Silver Member
***

Group: Members
Posts: 135
Joined: 17-August 03
Member No.: 1,424



May I inquire as to how exactly this is done? Source code for peloader.exe perhaps wink.gif?


--------------------
Go to the top of the page
 
+Quote Post
midas
post Jun 5 2004, 11:38 PM
Post #7


Gold Member
****

Group: Members
Posts: 544
Joined: 25-November 03
Member No.: 2,786



all of TheTruth's files for PE can be found here also:
CODE
http://s92460507.onlinehome.us/pe/thetruth/peloader.zip
http://s92460507.onlinehome.us/pe/thetruth/peshell.zip
http://s92460507.onlinehome.us/pe/thetruth/penetcfg.zip
http://s92460507.onlinehome.us/pe/thetruth/penetcfg-intl.zip
http://s92460507.onlinehome.us/pe/thetruth/erdlogon.zip
Go to the top of the page
 
+Quote Post
mbarnes
post Jun 6 2004, 04:52 AM
Post #8


Platinum Member
*****

Group: Members
Posts: 1,343
Joined: 14-October 03
From: London UK
Member No.: 2,024



I use Nu2menu as my shell with Geoshell 2a for the taskbar,
With the standard winlogon.exe I cant even start task manager without problems
I cant change screen resolution or anything usefull.
Taskmanager shows 2 program entries for Geoshell & Geobar.

Once I have run PEloader, Nu2menu disapears as a shell until re started.
Then my system returns to near normal.
I opened about 20 program windows from A43 by clicking on documents & graphics files of various sorts.
peloader is amazing, how do I use it to launch nu2menu & geoshell.

regards
Mike Barnes
Go to the top of the page
 
+Quote Post
MPOWER
post Jun 6 2004, 06:15 AM
Post #9


Newbie
*

Group: Members
Posts: 1
Joined: 6-June 04
Member No.: 6,220



PE Loader work fine with PE Builder win2k3 based smile.gif

regards
Go to the top of the page
 
+Quote Post
philon
post Jun 6 2004, 07:32 AM
Post #10


Silver Member
***

Group: Members
Posts: 289
Joined: 25-October 03
Member No.: 2,196



I gave up after two hours testing. Why? Could not find any limitation! Tested in VMWare with 71 MB ram assigned by ramautoresizer. Started with nu2 shell, called peloader.exe and then opened one application after the other from the command window. I also have BS Explorer as a second shell on demand and started this also: Got the full BS Explorer functionality and could open the applications now from quicklaunch, desktop shortcuts and Start / Programs!!

This is a milestone!

regards,
philon
Go to the top of the page
 
+Quote Post
sherpya
post Jun 6 2004, 09:44 AM
Post #11


Platinum Member
*****

Group: Members
Posts: 1,497
Joined: 20-September 03
From: Italy
Member No.: 1,727



QUOTE (viceroy @ Jun 6 2004, 04:59 AM)
May I inquire as to how exactly this is done? Source code for peloader.exe perhaps wink.gif?

as usual I'll post sources of my stuff after each release
Go to the top of the page
 
+Quote Post
JonF
post Jun 6 2004, 10:29 AM
Post #12


Gold Member
****

Group: Members
Posts: 557
Joined: 23-September 03
Member No.: 1,755



Tested it building from XP Pro, in Microsoft Virtual Machine ... worked flawlessly. I can't wait to get this as a shell or whatever!!
Go to the top of the page
 
+Quote Post
this-is-me
post Jun 6 2004, 11:08 AM
Post #13


Gold Member
****

Group: Members
Posts: 850
Joined: 25-September 03
Member No.: 1,787



Would you mind explaining the technical reasons this patch works? Does it patch a memory location to get around the limitations?
Go to the top of the page
 
+Quote Post
Former_Jman_post
post Jun 6 2004, 11:19 AM
Post #14





Guests






I tried this on win XP Pro with no problems. I was able to load XPE and open all my heavy plugins without any problems. This is a major milestone since it now opens the door for legal explorer plugins.

Great work!

I am also interested in the mechanics behind this solution. Some might still despute the legality.
Go to the top of the page
 
+Quote Post
TheTruth
post Jun 7 2004, 04:35 AM
Post #15


Silver Member
***

Group: Members
Posts: 130
Joined: 6-August 03
Member No.: 1,329



@All
First of all, thank you all for feedback.
If you could mention your version of Windows as well, it'd be great.

PE Loader v0.3 is available now on my page.
For all who ask about how to launch their shell, PE Loader now accepts your shell as a parameter, refer to the included "readme.txt" for command line parameters, you should now use peloader as your first loaded app (shell) passing to it your own shell.

@All asking for the mechanics and source behind PE Loader
Please, let's wait until it gets more mature.

As for the legality issue, for now I can assure you all that peloader.exe is a pure Win32 app that uses permitted Win32 APIs to do LEGAL actions.

NO PATCHES OF ANY KIND TO AN IN-MEMORY IMAGE OF ANY FILE.

Please, don't confuse the prefix PE (Preinstallation Environment) of PELoader.exe with the one used in PE (Portable Executable) loaders used for other purposes I think you all know about, it's just a coincidence in names not functionality, so let's NOT name it a patch.

@aec
QUOTE
only thing that I noticed was that the system run out of memory earlier compared to the same system with the logon patch
If you test peloader.exe from your running session, bear in mind that your already running shell and any other processes count toward your RAM, and this is why you ran out of memory faster, try it as your main shell to see the difference.

@sherpya
QUOTE
QUOTE
QUOTE (viceroy @ Jun 6 2004, 04:59 AM)
May I inquire as to how exactly this is done? Source code for peloader.exe perhaps ?

as usual I'll post sources of my stuff after each release

Believe me, not a good attitude!!!

@midas
Many thanks for hosting. if you could update the link to PE Loader 0.3, it'd be great.

BTW, you should also releaize that the problem of startup resolution of 640x480 (caused by winlogon patch) no longer exists. It defaults now to 800x600.

More feedback with the new loader is more than welcome.

Regards,
TheTruth
Go to the top of the page
 
+Quote Post
midas
post Jun 7 2004, 06:45 AM
Post #16


Gold Member
****

Group: Members
Posts: 544
Joined: 25-November 03
Member No.: 2,786



updated

http://s92460507.onlinehome.us/pe/thetruth...th/peloader.zip
http://s92460507.onlinehome.us/pe/thetruth/peshell.zip
http://s92460507.onlinehome.us/pe/thetruth...th/penetcfg.zip
http://s92460507.onlinehome.us/pe/thetruth...netcfg-intl.zip
http://s92460507.onlinehome.us/pe/thetruth...th/erdlogon.zip

all current as of this post time and date
Go to the top of the page
 
+Quote Post
vexation
post Jun 7 2004, 08:15 AM
Post #17


Silver Member
***

Group: Members
Posts: 127
Joined: 30-January 03
Member No.: 68



@TheTruth
That works a treat, using PELoader as a shell to launch my own menu program and have launched every single program on my CD without any problems whatsoever.. (that's roughly 7 relatively intensive programs) haven't discovered any issues yet.. i'm as curious as everyone else to know how you did it but whatever!!..

..absolutely fantastic, i can't thank you enough!!

PK
Go to the top of the page
 
+Quote Post
this-is-me
post Jun 7 2004, 08:45 AM
Post #18


Gold Member
****

Group: Members
Posts: 850
Joined: 25-September 03
Member No.: 1,787



Is it possible or feasible to load pe shell swapper from peloader?
Go to the top of the page
 
+Quote Post
e2p2
post Jun 7 2004, 11:03 AM
Post #19


Member
**

Group: Members
Posts: 80
Joined: 25-July 03
Member No.: 1,183



@The Truth

Does PELoader address the 24 Hour Limit as well as the Resource Limit?
Go to the top of the page
 
+Quote Post
Rootman
post Jun 7 2004, 11:25 AM
Post #20


Silver Member
***

Group: Members
Posts: 411
Joined: 15-May 03
Member No.: 773



Super simple INF file for a plugin, substitute your shell in the SetupReg.AddReg section:
CODE
; PE loader Inf
; Plugin Created by Rootman

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="PE Loader"
Enable=1

[WinntDirectories]
a="Programs\peloader",2

[SourceDisksFiles]
PELoader.exe=a,,1

[SetupReg.AddReg]
; Set peloader as loader shell
; pass your prefered shell executable to peloader to execute as final shell.
0x1, "Setup", "CmdLine", "\Programs\peloader\PELoader.exe \i386\system32\explorer.exe"
Go to the top of the page
 
+Quote Post

7 Pages V   1 2 3 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th September 2010 - 02:20 AM