I will show you how I integrate a new boot screen into my custom installs.
First you will need the cmd version of Win 7 Boot Updater from here,
Then you will need your new boot file in the bs7 file needed by the tool.
Now we need to create a cmd file that will start the process. I made one named FirstBoot.cmd and placed it in,
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
This is so when the user installs your OS it starts once logged in.
The file looks like this,
Next I created a folder in the image under Windows named WINBOOT and in here I place the boot updater tool and the new boot screen file.
You also need to make two more cmd files as you see from FirstBoot.cmd
Boot.cmd will start the process of installing the new boot screen minimized to the taskbar so its not visible so we can make our own screen which is Info.cmd
Boot.cmd and Info.cmd also go in the WINBOOT folder.
Boot.cmd looks like this,
and Info.cmd like this,
Adjust the # symbol so it lines up in a box.
For the sleep function you will need to place the attached file in the System32 folder for it to work.
You can add another functions you wish to Info.cmd
Enjoy
First you will need the cmd version of Win 7 Boot Updater from here,
Code: Select all
http://www.coderforlife.com/projects/win7boot/Win7BootUpdaterCmd.exe
Then you will need your new boot file in the bs7 file needed by the tool.
Now we need to create a cmd file that will start the process. I made one named FirstBoot.cmd and placed it in,
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
This is so when the user installs your OS it starts once logged in.
The file looks like this,
Code: Select all
@ECHO OFF
CD C:\Windows\WINBOOT\
start /min Boot.cmd
Start Info.cmd
EXIT
Next I created a folder in the image under Windows named WINBOOT and in here I place the boot updater tool and the new boot screen file.
You also need to make two more cmd files as you see from FirstBoot.cmd
Boot.cmd will start the process of installing the new boot screen minimized to the taskbar so its not visible so we can make our own screen which is Info.cmd
Boot.cmd and Info.cmd also go in the WINBOOT folder.
Boot.cmd looks like this,
Code: Select all
@ECHO OFF
Win7BootUpdaterCmd.exe boot.bs7
and Info.cmd like this,
Code: Select all
@Echo Off
Title Applying Settings
Echo \
Echo ####################################################################
Echo # #
Echo # Windows is applying settings. Once finished your PC will reboot. #
Echo # #
Echo # Please visit TweakScene.com #
Echo # #
Echo ####################################################################
@Echo Off
DEL "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup\FirstBoot.cmd"
Sleep 30
SHUTDOWN -f -r
Adjust the # symbol so it lines up in a box.
For the sleep function you will need to place the attached file in the System32 folder for it to work.
You can add another functions you wish to Info.cmd
Enjoy
Installed Operating Systems: macOS Monterey 12.x - Windows 11 Pro (Insider)
CPU: Ryzen 5 5600X Motherboard: ASUS ROG Strix X570-F Gaming RAM: 16GB 3200Mhz Graphics: XFX RX 480
HDD: 1TB MP400 - 500GB 960 EVO - 250GB MX500 - 640GB WDC - 500GB WDC
Other: USB Bluetooth - USB Wireless Mouse and Keyboard Bootloader: OpenCore
CPU: Ryzen 5 5600X Motherboard: ASUS ROG Strix X570-F Gaming RAM: 16GB 3200Mhz Graphics: XFX RX 480
HDD: 1TB MP400 - 500GB 960 EVO - 250GB MX500 - 640GB WDC - 500GB WDC
Other: USB Bluetooth - USB Wireless Mouse and Keyboard Bootloader: OpenCore