Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to change boot animation in Windows 7

17 Mar 2011   #701
joakim

ubuntu
 
 

Quote   Quote: Originally Posted by thaimin View Post
It definitely is the device=boot in the BCD. I had no idea what this means, so I didn't implement it properly. So, what does it mean? How can I find out what is the path to the "boot device"?

The only device type my program knows how to handle properly at the moment is "partition". I would like to get the following to work as well: boot, file, ramdisk, qualified partition, and locate ex. Some I don't know how to get a path to (boot and qualified partition) others aren't things I can have normal paths to (file and ramdisk) and locate ex is just confusing.
It makes no sense to evaluate the device for {bootmgr} in BCD. BOOTMGR must be placed on the partition marked as active on a mbr booting HDD (exception for other devices like usb, floppy, cd, etc). So basically it's the mbr that decides on what partition to find bootmgr (exception no 2 for chainloading setups). Regardless of that, my experience (and logic) says that it is pointless for bootmgr to retrieve information from the BCD store on where it is located (bootmgr is where it is loaded from and BCD cannot be on a different media than that). Simple verification can be done by deleting the device parameter from your BCD for {bootmgr}. Regarding ramdisk and file (vhd), I think it's also pointless because bootmgr itself cannot be on any of those media. Remember bootmgr is the one responsible for mounting the wim/vhd and pass execution over to winload.exe (inside the media). Hope it makes sense.

Regarding the actual BCD entry, you can find the disk signature of the bootable HDD specified in that given entry (when device=boot). But it's purpose is unknown to me, and appears meaningless (for {bootmgr}).

Joakim


My System SpecsSystem Spec
.
17 Mar 2011   #702
joakim

ubuntu
 
 

Quote   Quote: Originally Posted by thaimin View Post
@joakim "It also does not draw the background image correctly".
In what way? Can you send / attach a picture of how it is and how it should be?
I just reset my vm in target (sp1 x32 of Embedded) to a clean state and nothing happens. I started the program without complaints. Then chose background image as the only option and applied it. Finished with success. Result is black screen without background image. And additionally, the startuptext and copyright was also removed even though I did not touch those options.
My System SpecsSystem Spec
18 Mar 2011   #703
thaimin

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

@joakim
I use the same techniques for bootmgr, winload, and winresume. device=boot has meaning for winload an winresume, along with file and ramdisk, although those are much harder to implement and are probably not worth it. I believe I found out how to find the boot device, if you could check it out for me. In a command line run:
Code:
wmic VOLUME WHERE BootVolume=TRUE GET Name, ID
Does the name match what you expect? (should be like C:\ or maybe \\?\Volume{...}\ if it is hidden)

@joakim 2
Let me try to understand your background image problem a bit more. Clean install of Windows 7 SP1 x86 Embedded in a VM. No background image. If you remove the .mui file it does work though? Or was that a different test? You seem to have many interesting things with your MUIs, maybe its just because it is Embedded. For example, you don't need to change your startup text in the MUI, whereas every system I have tested requires this.

The startup text and copyright don't show up in the preview either when you chose background image. My logic here was if you are setting a background image, you will just integrate the text into the image. Do you think this should be changed?
My System SpecsSystem Spec
.

18 Mar 2011   #704
phucduongqb

Windows 7 Professional X86
 
 

Quote   Quote: Originally Posted by thaimin View Post
@phucduongqb
See the following page. It has all the instructions (although only in English) and includes a download for the text file to edit.
Coder for Life - Project - Windows 7 Boot Updater: Translation
Thank! I have download, but do not know how to edit. And must use what software to edit?
My System SpecsSystem Spec
18 Mar 2011   #705
joakim

ubuntu
 
 

@thaimin 1
The boot device can also be found by examining the mbr for what is marked as active (which I believe that command line essentially does). However it will still be prone to errors, as long as a user is using a different boot manager than bootmgr (like grub4dos/grldr). Because then bootmgr can be on any partition. Therefore I think there is no fool proof method of finding the right bootmgr which is in use. So I think the best you can do is assume that bootmgr is the one used. If it fails, then let the user choose where it is located (should cover for most setups I think). Just to show you how impossible it may be to correctly identify the bootmanager, you can install grub4dos to your hdd and then rename bootmgr to grldr. This way grub4dos's mbr code is loading bootmgr. And nowadays we have numerous different bootmanagers around.

But for the other files it certainly makes sense to evaluate the BCD.

@thaimin 2
I will need to to disassemble and debug the patched winload that alpha 11 generated to see what might be wrong. I'll check.
My System SpecsSystem Spec
18 Mar 2011   #706
joakim

ubuntu
 
 

@thaimin
The reason why background image failed was because of 2 errors in your bitmapdrawing function. The 2 functions ResFindDataEntryFromImage and BgpGxDrawBitmapImage have new adresses in SP1 so you just need to correct the destination adress of the 2 calls slightly. On my 32-bit version 6.1.7601.17124 of winload.exe I corrected into this and it worked;
Code:
00457667 call 00426d19 [e8 ad f6 fc ff]
and
00457680 call 00444261 [e8 dc cb fe ff]
Forget about what I said about the image present in the mui. It does not matter. It was tested on Embedded by the way.

The issue of new adresses in new versions of winload.exe might cause some work every time an update comes. But there is not much we can do about it, else than disassemble each new version and find out.

Joakim
My System SpecsSystem Spec
18 Mar 2011   #707
thaimin

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

@phucduongqb
See the email I sent you.

@joakim 1
Well, truthfully, I thought with an invalid BCD path you would get only 1 error message, not continually, and when you select the right file, you should not get any other error messages. I will have to make sure that it only tells you once. If that issue is fixed, I believe you are right, I should have a best guess that works for many people, and then a single warning to others that they need to correct it. And maybe even have an option to not select one at all (and skip that step). I will have to make this whole skipping steps thing (because a file is already modified or the user doesn't want it).

@joakim 2
I do have a patch unique to x86 SP1 function locations, and I do believe it was used. Maybe the embedded files are slightly different? Maybe there are multiple SP1 files with different function locations? I have some files here I can check out, but if you could send me your winload.exe that would be great. Thanks!
My System SpecsSystem Spec
19 Mar 2011   #708
AlexYM

Windows 7 Ultimate x32
 
 

@thaimin
joakim said his file's version is 6.1.7601.17124 and this is sp1 RC Escrow while the SP1 RTM is 17514...
My System SpecsSystem Spec
19 Mar 2011   #709
joakim

ubuntu
 
 

Quote   Quote: Originally Posted by AlexYM View Post
@thaimin
joakim said his file's version is 6.1.7601.17124 and this is sp1 RC Escrow while the SP1 RTM is 17514...
Thanks for clarifying. I was using latest Embedded platform and assumed it was RTM.
My System SpecsSystem Spec
19 Mar 2011   #710
thaimin

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

@AlexYM
Thanks for noticing that!

@joakim
I have updated the patches online. You don't even need to download a new version of the program, it will update itself. I set it to use the SP1 patches if the version is 6.1.7601.16537 or greater. The problem with it complaining about the invalid BCD path won't be fixed automatically though. You'll have to wait for the next version.

By the way, the file you sent me, when loaded in IDA, it doesn't get any symbols loaded. Maybe they removed those symbols since it is the RC version...
My System SpecsSystem Spec
Reply

 How to change boot animation in Windows 7




Thread Tools




Similar help and support threads
Thread Forum
How di I change boot animation and text?
Hey! So I have been wanting to change my boot/startup logo from the default windows logo with "starting windows" and Microsoft text. So after many google attempts i have stumbled upon an application, BootUpdater. This program supposedly can easily change the windows animations and is exactly...
Customization
How do I change windows7 boot animation when resolution 800X600
Hello , I already know change windows7 boot animation need access bootres.dll and winload.exe.mui. But if resolution below 1024X768 it seem different. Can anybody teach me which file need be change, Thank you a lot! Ps. I know my English is terrible , I hope it can be understood.
Customization
Boot screen Animation Change?
I don't know if this one can be done. I know how to turn off the ding sound it makes when my computer boots up but does anyone know how to change the boot screen animation? I would like to put one of my own animations on there instead of the windows logo popping up from 4 little lights.
Customization
Windows 7 Home premium 64bit won't boot, just plays boot animation
My Windows 7 has stopped booting after a restart, the system would just endlessly play the boot animation and not boot properly... system restore won't work, startup repair won't work, chdsk and sfc won't work. I have yet to try and see whether a Registry fix works. Windows loads the WRE VERY...
BSOD Help and Support
How to change the boot screen animation?
Has anyone figured out how to change the boot animation? John
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App