Jump to content

Change boot animation


Recommended Posts

  • 1 month later...
  • 4 weeks later...

if you are reffering to "%WINDIR%\Setup\Scripts" in your wim file, this would not work. but if you add your command to a batch called "SetupComplete.cmd" instead, your command would be executed before first login :)
 
SETUPCOMPLETE.CMD :

@echo offREM change the windows boot screenstart "" /w "%~dp0win7bootupdatercmd.exe" boot.bs7REM delete working filesdel /f /q "%~dp0win7bootupdatercmd.exe"del /f /q "%~dp0boot.bs7"REM delete old source filesdel /f /q /a "c:\bootmgr~1"del /f /q "%systemroot%\system32\bootres~1.dll"del /f /q "%systemroot%\system32\winload~1.exe"del /f /q "%systemroot%\system32\winresume~1.exe"del /f /q "%systemroot%\system32\en-us\winload.exe~1.mui"del /f /q "%systemroot%\system32\en-us\winresume.exe~1.mui"exit

 
change the drive letter in; del /f /q /a "c:\bootmgr~1" to the drive letter of your active bcd disk

Edited by Profess0r1011000
Link to post
Share on other sites
  • 1 year later...

 I have Other.exe and bootupdater.exe.

How I can run both them SetupComplete.cmd, but i want to run bootupdater.exe first with out any user prompt then loader.

for only Other.exe here is my setupcomplete.cmd:

@ECHO OFF%~dp0"Other.exe" /silent /preactivatecd %~dp0attrib -R -A -S -H *.*SHUTDOWN /R /T 5RMDIR /S /Q "%WINDIR%\Setup\Scripts"exit

Edit: post edited after warning.

Edited by greenworld
Link to post
Share on other sites
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...