The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Operating System Optimization > WinNT Based

Reply
 
Thread Tools Display Modes
Old 12-04-2004, 10:10 PM   #1
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,142
My Photos: (0)
Using minLogon to speed up booting and decrease footprint

**EDIT** Jan 6th, 2005: I updated this post to reflect the fact that there's only one registry entry that is necessary for minlogon to work. **EDIT**


Okay, I did it again!!! I was gonna go out drinking, but instead mpattonm's post (http://www.mp3car.com/vbulletin/showthread.php?t=37694) got me thinking of using another component of XPe, which is MinLogon. In a normal install, Windows runs a shell called WinLogon which as you can imagine from the name logs you onto the system. Well, for XPe MSFT figured some people wouldn't need that functionality and in order to speed up the boot process they created MinLogon which actually runs the OS as the system account. As an example, my VIA system is currently running on an old *** Maxtor drive since my 2.5" drive died and is getting fixed. Using bootvis trace bootup took 58 seconds. Real ****ty, but since I'm only using the system to do testing and it's not in my car yet it's not a big deal. Using MinLogon bootvis trace took 28 seconds!!! WOW. Before you try this keep in mind that I've only messed with it for an hour so I don't know what the side effects are yet. It seems to run fine so far. I wouldn't do this on a "production" system unless you don't mind running the XP repair. Hell, it may even require a full reinstall. As long as you follow these directions you should be fine, but if you hose your system don't blame me.

So anyways, here are the instructions:

*If you're using EWF don't forget to run "ewfmgr c: -commitanddisable -live".*
1) Go to \Windows\System32 and rename winlogon.exe to winlogon.exe.bak.
2) Copy the latest minlogon.exe file from XPe to \Windows\System32 and rename it winlogon.exe. You'll get a complaint from Windows File protection if you haven't disabled it, just cancel.
3) Create a file called minlogon.reg and using notepad copy the following text:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Config"=dword:00000017

4) Save the file and run it. Now the reg entries should have been imported.
5) Reboot. This first boot will be longer because it's like booting up for the first time so Windows will "set up" the System account. If you decide you don't want to use MinLogon, just restore the original WinLogon. The My Documents folder is now under the Default User directory in Documents and Settings

Hopefully someone with a better drive can do some tests. Like I said, my boot time went from 58 to 28 seconds using a really old, slow drive, but it may have been an anomaly. Who knows.

The original reason we started this excercise was because mpattonm wanted to see how he could get rid of a file named oembios.bin from the system32 directory. This file is over 12MB!!!! Obviously this is a huge waste of space for someone trying to do a CF card install. Doing some searching on google, I found that it seems this file is used by WinLogon, but not by MinLogon so it can be deleted. Now, remember to back it up in case you decide to go back to WinLogon. Note that MinLogon doesn't improve the speed of resuming from hibernation, but I figure if we can get a cold boot fast enough to not need hibernation then we can get full XP installs to fit on smaller media (since you won't need space for the hiberfil.sys file). Some people are getting nLite installs down to 380MB's. Anyways, this may end up not being useful for most people, but it was still interesting I think.

Later,
Frito

Last edited by SFiorito : 01-06-2005 at 06:00 PM.
SFiorito is offline   Reply With Quote
Sponsored Links
Old 12-04-2004, 10:43 PM   #2
SWC
Constant Bitrate
 
Join Date: Aug 2004
Location: Baltimore
Vehicle: 96 Chevy Blazer
Posts: 165
My Photos: (0)
Where can one get a copy of XPe to try out and get these files?

Also if you want to send me the files I will create a new zip with all the files (EWF + Minlogon) for everyone to download instead of just the EWF
SWC is offline   Reply With Quote
Old 12-04-2004, 10:52 PM   #3
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,142
My Photos: (0)
Thanks man, they're on the way. XPe is available for download from MSFT's site. I use the evaluation to research all this junk. I originally got it to try and build an XPe image for my system, but it's such a pain plus the fact that you need to buy a license for the tools + your runtime image. It's just not meant for a hobby project like what we're doing.
SFiorito is offline   Reply With Quote
Old 12-04-2004, 10:57 PM   #4
SWC
Constant Bitrate
 
Join Date: Aug 2004
Location: Baltimore
Vehicle: 96 Chevy Blazer
Posts: 165
My Photos: (0)
New file is up at http://test.crimsonstain.net/EWF.zip
SWC is offline   Reply With Quote
Old 12-05-2004, 03:18 AM   #5
Maximum Bitrate
 
GruvThang's Avatar
 
Join Date: Jul 2004
Location: Northern Virginia, USA
Vehicle: 2001 Dodge Durango RT
Posts: 683
My Photos: (0)
Nice! I will try this @ wednesday.
__________________
[color=Navy][size=1][font=Comic Sans MS]Tektility
GruvThang is offline   Reply With Quote
Old 12-05-2004, 04:14 AM   #6
Registered User
 
mpattonm's Avatar
 
Join Date: May 2003
Location: Czech rep.
Vehicle: Renault Laguna II
Posts: 655
My Photos: (0)
Now this will be a great progress in achieving our goal (size, speed).
Let me have a question: Does this registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{C631DF4C-088F-4156-B058-4375F0853CD8}]
@="Microsoft Offline Files"
represent "Offline files folder" used to sync files with remote system over cabel or network connection. If this the case, we could find .DLL file hiden behind {C631DF4C-088F-4156-B058-4375F0853CD8} and delete it to conserve some space and memory. Of course, all occurances of mentioned registry key would have to be deleted as well.

Another point: Frito has mentioned that replacing Winlogon with Minlogon makes enviroment single user, with profile "Default user" beeing used. Does this mean we could delete "Network service", "Administrator" and "All users" profiles with no harm?
Will my basic networking (http over TCPIP through Wifi) still work?

Last edited by mpattonm : 12-05-2004 at 04:16 AM.
mpattonm is offline   Reply With Quote
Old 12-05-2004, 08:21 AM   #7
Rub One Out
 
Motoko's Avatar
 
Join Date: Apr 2004
Location: Hertfordshire, England, Earth, Solar System
Vehicle: 2002 Seat Ibiza Ranking: Master Orgasmo Wearing: The Hoff Thong Likes: Chocolate Cakes and Unicorns
Posts: 1,011
My Photos: (0)
Would this work on windows XP Pro?
__________________
CarPC status: iPod, 3,456,217 songs so **** you
Motoko is offline   Reply With Quote
Old 12-05-2004, 09:31 AM   #8
Registered User
 
mpattonm's Avatar
 
Join Date: May 2003
Location: Czech rep.
Vehicle: Renault Laguna II
Posts: 655
My Photos: (0)
Yes.
mpattonm is offline   Reply With Quote
Old 12-05-2004, 09:41 AM   #9
Variable Bitrate
 
darkhalo's Avatar
 
Join Date: Apr 2004
Location: Puerto Rico
Vehicle: 2000 Honda S2000
Posts: 302
My Photos: (0)
damn i wish this had been out like 4 days ago when i was servicing my carputer out of the car... now its back in.. damnit.

Anyways great find man.. alot of people need this..
I get a 20sec boot.. it would be nice to slice a few secs off maybe 10 boot?
__________________
Carputer: 2.8Ghz P4, 512 RAM, 120gb HDD, WIFI, TV tuner, CDRW/DVDROM, Slot load DVD in front.
Screen: Lilliput 7" touchscreen (Custom made Carbon Fiber Screen Enclosure)
S2000 Carputer
darkhalo is offline   Reply With Quote
Old 12-05-2004, 09:44 AM   #10
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,142
My Photos: (0)
Yeah, you can delete your user folders. I haven't really investigated those GPExtensions registry keys much so we'll have to experiment a bit.
SFiorito is offline   Reply With Quote
Sponsored Links
Old 12-05-2004, 09:48 AM   #11
Rub One Out
 
Motoko's Avatar
 
Join Date: Apr 2004
Location: Hertfordshire, England, Earth, Solar System
Vehicle: 2002 Seat Ibiza Ranking: Master Orgasmo Wearing: The Hoff Thong Likes: Chocolate Cakes and Unicorns
Posts: 1,011
My Photos: (0)
What is EWF, do we have to run it?
__________________
CarPC status: iPod, 3,456,217 songs so **** you
Motoko is offline   Reply With Quote
Old 12-05-2004, 09:50 AM   #12
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Vehicle: 2006 Impreza WRX Limited
Posts: 1,142
My Photos: (0)
Motoko: go here for EWF http://www.mp3car.com/vbulletin/show...8&page=1&pp=15
SFiorito is offline   Reply With Quote
Old 12-05-2004, 09:53 AM   #13
Rub One Out
 
Motoko's Avatar
 
Join Date: Apr 2004
Location: Hertfordshire, England, Earth, Solar System
Vehicle: 2002 Seat Ibiza Ranking: Master Orgasmo Wearing: The Hoff Thong Likes: Chocolate Cakes and Unicorns
Posts: 1,011
My Photos: (0)
Oh kool thanks, guess i'll skip that part of this config
__________________
CarPC status: iPod, 3,456,217 songs so **** you
Motoko is offline   Reply With Quote
Old 12-05-2004, 09:59 AM   #14
Rub One Out
 
Motoko's Avatar
 
Join Date: Apr 2004
Location: Hertfordshire, England, Earth, Solar System
Vehicle: 2002 Seat Ibiza Ranking: Master Orgasmo Wearing: The Hoff Thong Likes: Chocolate Cakes and Unicorns
Posts: 1,011
My Photos: (0)
Why is winlogon reproducing is self! aahhh u cant get rid of it!

edit:: done it, using quick hand skills
__________________
CarPC status: iPod, 3,456,217 songs so **** you
Motoko is offline   Reply With Quote
Old 12-05-2004, 10:11 AM   #15
Clover
 
Grayscale's Avatar
 
Join Date: May 2004
Location: Arkansas
Vehicle: 95 Ford Thunderbird
Posts: 1,549
My Photos: (0)
Anyway I could get this for my Windows 2003 install? Would it work by any slim chance?
__________________
CarPC install is starting to come along again...
Grayscale is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 10:14 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics