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

09 Mar 2011   #651
thaimin

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

@joakim
I am subvertly using that technique now. When changing the the resume animation differently than the loading animation, I change that string and create "bootrs2.dll". Another trick you can do is add the animation to bootres.dll.mui and change the locale of the boot entry (which only effects the booting message languages, not the Windows language).

In the next version my program by default selects the winload etc files based on BCD data and doesnt assume they are the normal ones.


My System SpecsSystem Spec
.
10 Mar 2011   #652
joakim

ubuntu
 
 

Ok, must admit I haven't used your program in a while now..

I'm sure you already know this too, but having several animations inside bootres.dll also works fine. Obviously name them differently and the string (activity.bmp) in winload will determine which one to pass along to the kernel. I just tried with 3 different ones in the same file, and worked fine. However I never manged to use several wims in RCDATA (like 1,2,3 etc). As I just recently got back into debugging, you can tell me if there's anything specific you want me to look at regarding bootmgr, winload, kernel etc.

Btw, the link still don't work.
My System SpecsSystem Spec
10 Mar 2011   #653
AlexYM

Windows 7 Ultimate x32
 
 

Hi, guys! I'm glad thaimin's project is developing so well, just read a few last posts and this came to mind: you may put the wim resource with animation bmp right in winload.exe and edit that unicode string to point to winload.exe itself, although it'd be more proper to edit code somehow so that there wouldn't be a need to load it second time as it is already loaded, sorry "load winload" sounds funny, huh? Thaimin, it's great you managed to implement background image code, it reminded me that Vista's winload can do this from wim resourse, and i think Vista's winresume does just what we want - animation over a static image (with all pictures also in wim resource), so looking in their code might be of some help probably if it is even needed now...
My System SpecsSystem Spec
.

10 Mar 2011   #654
RBCC

Windows 7 Ultimate
 
 

thaimin:

Excellent work on the background, hope it fills the whole screen. Can hardly wait to see it. Then I'll leave this forum.

RBCC
My System SpecsSystem Spec
10 Mar 2011   #655
thaimin

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

@joakim
Its okay! You can actually do it yourself, although as things are becoming more advanced, it will be harder and harder to do it by hand (as I said a couple of posts ago, my program now does so many things automatically when patching, its so much more convenient - like remembering to clear the .reloc table entries and calculating relative offsets).

I just tried to get the file again, and it didn't work! I fixed another issue on my server, and it seems to work now. A lot of this has to do with the fact that I now use a content management system and it likes to take over URLs.

@AlexYM
I don't know how far you read back, but awhile ago I had this idea of patching ntoskrnl in memory (instead of on disk) to adjust the X/Y position, frame rate, size, etc of the animation. I haven't done any research to see if it would even be possible, but its an idea. The in memory change would keep the digital signature and all security in place. I have done something similar with my expstart program which modifies explorer.exe in memory, making it keep its signature and then (if you have UAC enabled) not causing these nasty warnings when you copy/move stuff.

@RBCC
It does cover the entire screen. It is a 1024x768 image, which is the resolution at that point. Look at joakim's movie using it (which was done in a VM, I presume, which is why it takes so long for the animation to come up). You don't need to leave the forum, just don't 'bug' (me/others) as much.
My System SpecsSystem Spec
11 Mar 2011   #656
RBCC

Windows 7 Ultimate
 
 
Just don't want to be a noob

It seems kind of funny I have been around computers for 34 years and I am a noob, because I never learned how to program. I mostly set them up and was a consultant! John
My System SpecsSystem Spec
11 Mar 2011   #657
joakim

ubuntu
 
 

Just sharing my first windbg script ever. This one was made to move the animation to a different coordinate, without actually patching the kernel. It is done in memory by the debugger. Script name kernel.txt;

Code:
$$
$$ ==================================================================
$$ Script to move animation to different coordinates
$$ Made for version 6.1.7600.16385
$$ Will also work for SP1 when symbols are available.
$$
$$ usage from within a running debug session; $$><kernel.txt
$$ usage from commandline when launching windbg; -c "$$><kernel.txt"
$$
$$ by Joakim
$$
$$ ==================================================================
$$
bp nt!ResFwpGetProgressIndicatorAnimation+0x2D
g
$$ Original machinecode c746049c010000
$$ 9c01 is little endian of 19ch which in decimal is 412 and 
$$ specifies the x position (from left)
eb eip c7 46 04 50 00 00 00
p
$$ Original machinecode c746081c010000
$$ 1c01 is little endian of 11ch which in decimal is 284 and 
$$ specifies the y position (from top)
eb eip c7 46 08 50 00 00 00
g
$$ ==================================================================
$$ Animation now played in the upper left of your screen.
$$ ==================================================================
My System SpecsSystem Spec
11 Mar 2011   #658
thaimin

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

@joakim
Nice! Now we just need to convert that into something that doesn't require bootdebug or an external machine running windbg...
My System SpecsSystem Spec
11 Mar 2011   #659
joakim

ubuntu
 
 

It was only meant like "hey I just realized windbg could take scripts".

That said, it is worth mentioned to those that don't do debugging yet, that some tests are a lot easier to perform in windbg. For instance the colour of the startup text needs code injected and execution redirected to test through an on-disk patch, which takes you a little bit of time to create. Instead you can just launch a vm in windbg and issue these 2 commands;
Code:
bp winload!BgpTxtCreateRegion+0xa5 "eb ebx+1c ff 00 ff 00;g"
g
Now substitute the colour code "ff 00 ff 00" to test something different and launch again.

@thaimin
Have you implemented background colour for the copyright and/or startup text? If no, then look at va 00443A17. Again some stupid windbg cmds;
Code:
bp winload!BgpTxtCreateRegion+0x119 "eb eip b8 ff 00 ff 00;g"
g
Next challenge would be to create a different colour for two messages..

Also, the alignment of the messages can be adjusted at va 0044382B. Test this command in windbg;
Code:
bp winload!BgpDrawCopyright+0x8 "eb 5ac7a8 50 00;g"
g
Funny enough, when you increase the value to say 900 the message disappears partly on the right, and reappears on the left side.

Now to only adjust the alignment of the signature look at va 0044386C. In windbg I did a;
Code:
bp winload!BgpDrawCopyright+0x49 "eb ebp-18 00 02;g"
g
All code for 32-bit. Tested on 6.1.7600.16385 but should also work on SP1 when symbols are available.

Anybody knows why scripts don't work when debugging winload.exe?
My System SpecsSystem Spec
11 Mar 2011   #660
thaimin

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

@joakim
My program currently can change the background color of the messages (however they need to be the same color). The program can currently set the color of both message texts separately though. I knew about alignment, but didn't bother adding it into the program. My assumption was that once the person could make a full-screen background the whole text thing would be nearly obsolete (my reasoning for font changing as well). In the full-screen background you will be able to write any text, in any font, anywhere. The ONLY thing that is lost is the easy to translate method of one of the messages.
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 01:32.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App