【轉貼】Using minLogon to speed up booting and decrease footprint - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- Windows 討 論 版


PCZONE 討論區



通知

-- Windows 討 論 版 包括 Windows 95/98/ME、Windows NT/2000/XP/Server 2003 等的疑難雜症解答與經驗分享。

--帳號停用中--
【轉貼】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 ass Maxtor drive since my 2.5" drive died and is getting fixed. Using bootvis trace bootup took 58 seconds. Real shitty, 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


回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【轉貼】Using WindowsXP to Make RAID 5 Happen | Tom's Hardware FYI -- 電 腦 硬 體 討 論 版 24 2007-10-02 11:28 PM
【求助】什麼是FSB跟Bus Speed?? Excellent -- 電 腦 硬 體 討 論 版 9 2003-04-08 08:00 PM
【問題】請問如何取消testing speed alumiark -- 光 碟 燒 錄 討 論 版 1 2002-07-31 01:18 AM
speed touch如何改硬體撥接 todo0438 ---- ADSL 軟 硬 體 技 術 1 2001-08-04 08:46 PM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。