線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1931
推到 Plurk!
推到 Facebook!

更改WIN2K的開機畫面

 
jackkcg
站務副站長


發表:891
回覆:1050
積分:848
註冊:2002-03-23

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-12-21 15:05:03 IP:61.221.xxx.xxx 未訂閱
http://family.idot.com.tw/cgi-bin/bbs3000/bbs.cgi?menu=show&id=200210171205&slttitle=20021113214716&see=218 win2k的使用者,你們是否厭倦了那無聊的開機畫面,現在你們可以自行選擇一張640x480 16色的bmp圖檔,來作開機畫面了,但在更改前最好先備份C:\WinNT\System32\NTOSKRNL.EXE 這個檔案,以免無法開機。 1、你先要到http://www.rpi.net.au/~ajohnson/resourcehacker/下載Resource Hacker這個程式,有中文版的。解壓縮後,執行ResHacker,在ResHacker的視窗中選取檔案\開啟\,然後點選C:\WinNT\System32\NTOSKRNL.EXE 。 2、在左邊的視窗中會多了3個資料夾,再點選Bitmap\1\1028,你就會看到那張熟悉的圖。然後點選動作\置換點陣圖,跳出的視窗中點選“開啟含新點陣圖的檔案”,選取你要換的圖檔,然後存檔。 注意:一定要640x480的16色bmp檔,否則你開機的圖片會變得很奇怪。更改為16色圖檔最好用比較好的繪圖軟體,小畫家更改的效果很差! 3、執行Regedit.exe,在 HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows NT \CurrentVersion \Winlogon找一個“SFCDisable”的DWOD值,更改為ffffff9d,退出後重新開機。 4、開機時如果沒有任何改變,再重復1和2兩個步驟,在存檔時,你會發現在C:\WinNT\System32\又多了一個NTOSKRNL_original.EXE 請用1和2步驟再把它做一次,順便檢查NTOSKRNL.EXE ,如果都沒有問題,請重新開機,你應該會發現美美的WINDOWS 2000。 PS:如果開機時,WINDOWS告訴你,NTOSKRNL.EXE 這個檔案毀損無法開機時,請用WINDOWS 2000安裝光碟開機,執行緊急修復即可,我昨天也修復了一次。參考資料請看原文網站 http://www.littlewhitedog.com/reviews_other_00021.asp
------
**********************************************************
哈哈&兵燹
最會的2大絕招 這個不會與那個也不會 哈哈哈 粉好

Delphi K.Top的K.Top分兩個字解釋Top代表尖端的意思,希望本討論區能提供Delphi的尖端新知
K.表Knowlege 知識,就是本站的標語:Open our mind
cmf
尊榮會員


發表:84
回覆:918
積分:1032
註冊:2002-06-26

發送簡訊給我
#2 引用回覆 回覆 發表時間:2002-12-23 09:47:46 IP:61.218.xxx.xxx 未訂閱
jackkcg: 我照你所說的 更改WIN2K的開機畫面, 但 重新開機後 又恢復到原來的開機畫面 我試了好幾遍,都無法成功,不知為什麼? 我的電腦是 WIN2000 SP3
------
︿︿
jackkcg
站務副站長


發表:891
回覆:1050
積分:848
註冊:2002-03-23

發送簡訊給我
#3 引用回覆 回覆 發表時間:2002-12-23 10:15:38 IP:61.221.xxx.xxx 未訂閱
Introduction Stuff Why post a follow-up article on changing the Win2K boot logo? There are several reasons, with the primary being a result of Service Pack 2. When SP2 was released some changes were made that affected the way Windows File Protection behaved. The registry changes outlined in our earlier article, that would disable Windows File Protection, no longer work after applying Service Pack 2. This follow-up article will address this minor obstacle, and pose a much easier and safer way to change the Win2K Boot Logo whether you're running SP1 or SP2. Even though we covered this in the first article, we must mention the whole disclaimer thing again. Disclaimer: LittleWhiteDog.Com does NOT accept any responsibility for ANY data loss if you attempt this procedure on your own, or with the assitance of trained professional (such as your children). This information is for educational and informational purposes only! Use at your own risk! The Tools And The Overview The only tools you are going to need to get the job done is Resource Hacker and some kind of image editing tool such as PhotoShop (not free) or Irfanview (free) Sometimes it's easier to understand what you're doing after you've seen the "big picture". When Windows 2000 boots, a bitmap image is displayed, this image is stored in a file called NTOSKRNL.EXE which is typically found here: C:\WINNT\SYSTEM32\NTOSKRNL.EXE. Notice I said typcially? When you install Windows 2000 it will ask you which drive and which directory you would like to install - for the duration of this article we are going to assume you chose the default options and installed Win2K onto your C: drive into the default directory \WINNT. Back to the "big picture", the following is a broad overview of the steps we'll be preforming in this article: Make a copy of NTOSKRNL.EXE named KERNEL01.EXE Creating a .BMP file that is 640x480 with 16 colors Use Resource Hacker to import the modified bitmap image into KERNEL01.EXE Modify the BOOT.INI file, adding an option to choose KERNEL01.EXE instead of NTOSKRNL.EXE Baby Steps We've looked at the "big picture", now it's time to outline those steps in detail. It might look like a lot of work, but it should only take you about 5 or 10 minutes on your first attempt. Step 1. Make a copy of C:\WINNT\SYSTEM32\NTOSKRNL.EXE called KERNEL01.EXE and place it in the C:\WINNT\SYSTEM32\ folder. Step 2. Download and unzip Resource Hacker. Once it is unzipped, launch "ResHacker.exe". Step 3. Click "File", then "Open", and browse to the C:\WinNT\System32\ directory. Open the file we just created in the first step called KERNEL01.EXE Step 4. On the left-hand side of the screen, double-click on the word "Bitmap" and then the number "1". Click the icon that reads "1033" and you should see the Windows 2000 boot logo on the right side of the screen. The "Holy Grail" if you will. At this point, you can minimize Resource Hacker while we prepare our new image. Step 5. Using any image editor, create a Bitmap image that is 640 x 480 using 16 colors. We've found the easiest way to create an image is to take a copy the current image and open it with Photoshop and then edit the top portion. Set the "mode" to "indexed colors" and set the number of colors to 16. Save the file as a BMP file with RLE Compression enabled and you're all set. If you would like a "pre-made" sample image that has been tested, you can download this one as an example. You could also head over to our Boot Logo Gallery and choose from an array of hundreds of different images (over 500 to be exact). These gallery images are not in a bitmap format, so you decide to go this route, make sure you convert them to a 16 color bitmap prior to proceeding to step 6. Important! Do not deviate from 640x480 and 16 colors or your results may vary! We've tried it with more colors, and all you'll see is a black screen during the boot sequesnce, in place of the boot logo. Step 6. Once you have created the image, save it somewhere on your drive taking note of its location. Step 7. From within Resource Hacker, click on "Action", then "Replace Bitmap" and a new window will pop-up at this point. Then click on the "Open file with new bitmap" button and browse to the 16-color image you just created. It should look similar to the picture on the right. Step 8. Once you have selected the file, click on the "Replace" button and you should return to the "root" of Resource Hacker. Just for the hell of it, make sure your change took effect. It should now look something like this: Step 9. Once everything looks good, click "File" then "Save". Step 10. Time for a quick recap of what we've done so far. We've made a copy of our NTOSKRNL.EXE file and placed it in the C:\WINNT\SYSTEM32\ folder. The copy was named KERNEL01.EXE and was opened using Resource Hacker. The bitmap resource image for the boot logo was replaced with our own customized version, and the file was saved. Un-Modified Version Modified Version Step 11. Conceptually, the next step is to "tell Win2K to use the new KERNEL01.EXE file when it boots, instead of it's normal NTOSKRNL.EXE file". We are going to do this by modifying the BOOT.INI file which is located in the root of your C: drive. The file is marked hidden and read-only by default so the first thing we should do is turn off the read-only attribute. Do this by right clicking on the boot.ini file and then clicking on properties. Uncheck the read-only box and click OK to apply changes. NOTE: if you cannot find your boot.ini file, you probably have Windows Explorer setup so that it cannot view hidden files. Correct this by clicking on Tools and then Folder Options. Go to the View Tab and toggle the radio button to Show Hidden Files and Folders. Step - 12. We're now ready to open the BOOT.INI file and modify its contents. I've listed below what my current BOOT.INI file looked like before any changes were made to it. Yours should be somewhat similar. [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect The line we're concerned with is the one under [operating systems] - this is the line that NTLDR parses to determine the location of the operating system boot partition. Make a copy of this line and paste is below the existing one. You should also take a minute and make sure the timeout=X line under the [boot loader] section has a value other than zero. This is the number of seconds that the boot menu will be displayed, before it accepts the default value and continues. The default value will be whatever is listed first under the [operating system] section. [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect Modify the line directly below the [operating systems] heading, adding the following switch to the end: /KERNEL=KERNEL01.EXE (KERNEL01.EXE is the name of the file we modified in the previous steps) By doing this, we are telling NTLDR that we want to boot our system using the specified Kernel file, instead of the default NTOSKRNL file that is used when the /kernel= option does not exist. You should also change the description on this line from "Microsoft Windows 2000 Professional" to something like "Microsoft Windows 2000 Hacked Logo" so you know which option is which. Your boot.ini file should now look like this: [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Hacked Logo" /fastdetect /kernel=kernel01.exe multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect Before we save this file and move to the dreaded Step 13, let's recap what we've done here just to make sure everything is right. We've opened up the boot.ini in edit mode (with read-only turned off) and have made the following changes: the timeout value is greater than zero, the default operating system line was copied and modified to include the /kernel switch pointing to the modified file from the previous steps. The original default operating system line was not changed in any way, it was just "bumped down" a spot to make room for our new kernel file. Step 13. There really isn't much to Step 13, just reboot your system. You should be prompted with a menu for a period of 3 seconds asking you which boot option you would like: "The Hacked Logo" or the "Professional Boring" version. It should default to "The Hacked Logo" version after those 3 seconds have expired, since it resides at the top of the list. However should something go amuck and you've totally screwed up your "Hacked Logo" kernel file by using a 16-bit color bitmap image, instead of a 16 color image, you can still boot your system up using the original kernel file by choosing the second option on the menu. That's why is was so important to not make any changes to that line - it's your software version of an "Oh Shit" handle. Wrapping It Up Hopefully you've grasped what we've done here. In our previous article we made a copy of the NTOSKRNL file, modified the copy, turned off Windows File Protection, and then replaced the working version of NTOSKRNL with our hacked copy. A quite intrusive method of changing the boot logo, with little room for error. This new method of making a copy of NTOSKRNL, modifying the copy, and then giving Win2K the option of using this modified kernel file on boot up, we've eliminated the the need to disable Windows File Protection, and we've built in a failsafe mode by leaving the original kernel file and boot option intact. Those of you who have fully grasped what we've done here, are probably already thinking of ways to take this process one step further. "If I can tell Win2K to use a file called KERNEL01.EXE in addition to the original NTOSKRNL.EXE file, why can't I make a KERNEL02.EXE and KERNEL03.EXE, add them to my boot.ini file, and have a wide variety of boot logos on my system?" The answer is you can! In fact we've taken this concept to the extreme by creating a little utility called LWDKernel.exe that will randomly change your boot logo everytime your system boots. For more information about this utility along with a download link, head on over to this thread in our forums. Hopefully this will be the last article we'll write on the subject of changing Windows 2000 Boot Logo's. We've come a long way since we published our first article on the subject. The forum thread on this topic has been replied to over 1300 times, and has been read over 83,000 times. Not to mention the Boot Logo Gallery which currently contains over 540 images created by some very talented artists. A big thank you goes out to everyone who's contributed to the cause! - Fido Feel free to ask questions, or make comments regarding any aspect of this article in our forums. We will make every effort to answer any questions you may have and look forward to your constructive feedback! http://www.littlewhitedog.com/forum/link.asp?TOPIC_ID=1113 ********************************************************************** 你再試看看
------
**********************************************************
哈哈&兵燹
最會的2大絕招 這個不會與那個也不會 哈哈哈 粉好

Delphi K.Top的K.Top分兩個字解釋Top代表尖端的意思,希望本討論區能提供Delphi的尖端新知
K.表Knowlege 知識,就是本站的標語:Open our mind
cmf
尊榮會員


發表:84
回覆:918
積分:1032
註冊:2002-06-26

發送簡訊給我
#4 引用回覆 回覆 發表時間:2002-12-23 10:38:41 IP:61.218.xxx.xxx 未訂閱
Jackkcg: 謝謝你,但我試了好幾遍,都無法成功,不知為什麼? 上面說 只能 running SP1 or SP2 那 SP3 要如何更改WIN2K的開機畫面?
------
︿︿
jackkcg
站務副站長


發表:891
回覆:1050
積分:848
註冊:2002-03-23

發送簡訊給我
#5 引用回覆 回覆 發表時間:2002-12-23 11:37:55 IP:61.221.xxx.xxx 未訂閱
沒錯 真的失效了 NTOSKRNL.EXE每次丟回隔一秒就又被windows改回 看來sp3後 哈哈 還需找出偵測的檔案資訊 謝謝cmf大大的 告知
------
**********************************************************
哈哈&兵燹
最會的2大絕招 這個不會與那個也不會 哈哈哈 粉好

Delphi K.Top的K.Top分兩個字解釋Top代表尖端的意思,希望本討論區能提供Delphi的尖端新知
K.表Knowlege 知識,就是本站的標語:Open our mind
jackkcg
站務副站長


發表:891
回覆:1050
積分:848
註冊:2002-03-23

發送簡訊給我
#6 引用回覆 回覆 發表時間:2002-12-23 21:51:50 IP:61.221.xxx.xxx 未訂閱
由於上述方式在更新sp3後失效作用 請使用BootXPv2.30 RC1來更換WIN2K的開機畫面    BootXPv2.30 RC1教學 http://210.59.230.130/my/muic/    http://delphi.ktop.com.tw/loadfile.php?TOPICID=7582438&CC=169582 BootXPv2.30 RC1 下載網址 http://www.bootxp.net/download.htm 或 http://delphi.ktop.com.tw/loadfile.php?TOPICID=7582751&CC=169589 ********************************************************************** 庵測試過ok粉快 哈哈
------
**********************************************************
哈哈&兵燹
最會的2大絕招 這個不會與那個也不會 哈哈哈 粉好

Delphi K.Top的K.Top分兩個字解釋Top代表尖端的意思,希望本討論區能提供Delphi的尖端新知
K.表Knowlege 知識,就是本站的標語:Open our mind
cmf
尊榮會員


發表:84
回覆:918
積分:1032
註冊:2002-06-26

發送簡訊給我
#7 引用回覆 回覆 發表時間:2002-12-24 10:09:33 IP:61.218.xxx.xxx 未訂閱
jackkcg : 謝謝拉!
------
︿︿
系統時間:2024-04-28 20:40:54
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!