wenjiang's profilemorning's blogPhotosBlogListsMore Tools Help

Blog


    August 11

    5秒钟启动windows2003,并支持和XP一样的登录界面

    1.Nod32 2.7的内核服务往往会卡住,将其设置 手动启动,并去掉NOD32的GUI的自动启动,写一个DelayLoader,启动系统后5秒再启动内核服务,10秒后再启动GUI,这样一般可以保证它们有充足的时间慢慢启动,随后对GUI进行内存patch,去掉部分提示(这个使用libBaeWnd类写,配合以前写驱动用的Service控制代码,哦,还有libhook,几分钟搞定)
     
    2.破解 sfc_os.dll,关掉系统对系统盘的监视,当然也不再进行文件保护了,节约系统开销.(此破解方法源于网络上对XP的破解,开调试可以很快定位修改点)
     
    3.破解Winlogon.exe,去掉激活校验,并可以删掉 OEMBin.* 4个文件,节约系统开销,也节约了20M左右的空间,另外,破解后可以方便的进行 Server 和WorkStation的切换.(使用antiwpa-2[1].0-winxp-2k3.zip,使用前把系统代码页切换到english,否则,程序会傻傻的.我的系统是english的但是代码页设置成了中文GBK,所以在这一步卡了一段时间)
     
    4.破解 MSGINA.dll,使得在Server情况下也能正常使用LogonUI.exe,这一点不是为了加快启动速度,只是美化,因为除了这一点都可以通过注册表等设置成和XP一样,唯独这一点必须进行文件破解.破解后可以使用各种绚丽的登录界面,例如现在非常流行的Windows7的登录界面.(这是体力活,因为不想在ghost前安装VM,所以修改后得多次重启验证,做到能少修改则少修改,最终只需要修改4处代码即可在登录,注销,锁定等状态下使用绚丽的LoginUI.exe作为登录界面).
     
    5.卸载掉内置的.net 1.0 1.1,我很反感.net,下载 dotnetfx_cleanup_tool,对其配置进行修改后可以方便的卸载掉2003系统内置的.net模块,如果需要恢复,命令行下输入: rundll32.exe setupApi, InstallHinfSection netfx_install 132 netfxocm.inf ,几秒钟即可恢复内置的.net,不需要重启.
     
    6.删除 Distributed Transaction Coordinator,输入命令: rundll32.exe setupApi, InstallHinfSection dtc_uninstall 132 dtcnt5.inf,这个总是自动启动,删除比较省事
     
    7.删除 pchealth,输入命令: rundll32.exe setupApi, InstallHinfSection DefaultUninstall 132 pchealth.inf,似乎从windowsMe开始的一个东西,但不知道何用,删之
     
    8.清除开始菜单上的 outlook express图标,shmgrate.exe OCInstallHideOE
     
    9.去掉Ctrl+Alt+Del,设成自动登录
     
    // -----以下无关启动速度
    10.这是为了更快的浏览网页,编译代码,安装RamDisc,分配给它768M,感觉足以.对不方便开启预编译的工程,效果很明显,VC8以后微软用一个聪明的办法优化了编译中间文件管理( mspdbsrv.exe ),效果不明显;对VC8以前的版本效果很好.IE的临时文件也指向这个磁盘
     
    11. 去掉 TortoiseSVN 的Cache,可以极大提高explorer.exe的响应速度
     
    OK,到此除了借助 windbg,ultraedit,基本没有使用外部工具,优化2003,在我的HP540上的Windows 2003 SE 可以在5秒进入桌面,并很快光标停止忙碌,fine!
    共花了一个下午加一个晚上的时间搞定!
     
    关键字: windows 2003,优化,提速,loginui,登录界面,login screen,optimize  

    Comments (5)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    旭峰 唐wrote:
    如果有工具的话麻烦发到我的邮箱谢谢。呵呵。
    Aug. 21
    旭峰 唐wrote:
    能不能写一个工具出来啊,嘿嘿。这个人很笨的。
    Aug. 21
    wenjiang yewrote:
    嗯,5秒左右,最终速度是由所有的修改决定的,每个修改相差几秒甚至零点几秒,加在一起就比较明显了,你也可以试试.
    windows2000上运行XP的GINA以及LogonUI终于快完成了.
    Aug. 15
    Cory WANGwrote:
    真的是5秒?不可能吧。
    Aug. 13
    移花接木,给2003做整容啊你,哈哈
    Aug. 13

    Trackbacks

    The trackback URL for this entry is:
    http://ywjheart.spaces.live.com/blog/cns!2067FCA683114503!853.trak
    Weblogs that reference this entry
    • None