nickelo Posted November 13, 2013 Share Posted November 13, 2013 Hello, in Windows XP its possible to pass commands to the default boot.ini, to configure first and default boot after setup. In 7 is possible? Any idea where is the bcd config in install cd? I want to hide the gui of animated screen or disable the signature check by default.If only change bootscreen in install.vim its result, a beatiful error:Excuseme my english, i am Spanish, Spanish...Thanks. Link to comment Share on other sites More sharing options...
halikus Posted November 15, 2013 Share Posted November 15, 2013 I'm not 100% sure, but i think the only reliable way to do what you want is to use bcedit in conjunction with a firstlogon.cmd.As an example, i do something similar with autoit to rename the bcd title in case of a dual boot. Its friday and this is my last web page i visit before going out, so i don't have the time to convert to cmd. If @OSVersion = "WIN_8" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf If @OSVersion = "WIN_81" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8.1 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf ;Win7 If @OSVersion = "WIN_7" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\7.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\7", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\7", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7.cmd", @ScriptDir, @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x86.cmd", @ScriptDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x64.cmd", @ScriptDir, @SW_HIDE) EndIf EndIf Link to comment Share on other sites More sharing options...
nickelo Posted November 16, 2013 Author Share Posted November 16, 2013 If it must be the only solution out there. The old XP installation program was much more flexible.Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now