3aces Posted June 27, 2006 Posted June 27, 2006 how do i use this to change the names of my OS on the boot menu??
maxXPsoft Posted June 27, 2006 Posted June 27, 2006 (edited) bcdedit /set {ntldr} Description "Windows XP Pro" might need to use {ntldr} instead of {legacy} but legacy still worked for meIf in Vista - bcdedit /set {current} description "Windows Vista 5384 x86"try bcdedit /? Edited June 27, 2006 by maxXPsoft
gunsmokingman Posted June 28, 2006 Posted June 28, 2006 This is some thing I made to change the defualt boot menu name for Vista@Echo OffColor 9bMode 65,7 Title Change Vista Boot Menu Name:::ReNameVistaBootMenuCLS Color 9bMode 65,7 Echo.Echo Add Your Own Custom Name To Vista BootScreenEcho %UserName%, Type In The Boot Menu NameEcho.set BootName=set /p BootName= Boot Menu Name -^>Goto ConfirmIt:::ConfirmItMode 65,7ClSColor B9Echo.Echo Is This The Correct Name -^> %BootName%Echo.Echo Yes To Confirm The Name Change Echo No To Redo The Vista Boot Menu Name ChangeEcho.SET UC=SET /P UC= Type Yes Or No -^>IF /I '%UC%'=='Yes' GOTO YesIF /I '%UC%'=='No' GOTO Nocolor 9bMode 60,3Echo.Echo This reply %UC% is not valid. Please try again.ping -n 3 127.0.0.1>nulGOTO ConfirmIt:::YesClSColor F2Echo. Echo Confirm, and preparing to rename Vista Boot Menu Name.Echo The new name to appear on the Boot Menu-^> %BootName%set /p = Press Enter To Start The Re-Name Vista Boot Menu Process!bcdedit /set {current} Description "%BootName%"Goto CompleteReName :::NoMode 60,7ClSColor F3Echo.Echo %UserName%, Echo Did you want to Re Do this and change the Vista Menu Name?Echo Did you want To Quit and not change Vista Boot Menu Name?SET ReDoIT=SET /P ReDoIT= %UserName% Type Yes Or No -^>IF /I '%ReDoIT%'=='Yes' GOTO ReNameVistaBootMenuIF /I '%ReDoIT%'=='No' GOTO UserCancelcolor 9bmode 60,3Echo.Echo This reply %ReDoIT% is not valid. Please try again.ping -n 3 127.0.0.1>nulGOTO No:::CompleteReNameMode 60,4CLSColor 9aEcho. Echo Completed The Vista Boot Menu Name change!set /p = Press Enter To Exit.Goto TheEnd:::UserCancelGoto TheEnd:::TheEndExitGoTo EOF:This will change the legacy name on the Vista boot menucls@echo off::bcdedit /set {ntldr} Description "XP Home-Beta-2004"Color 9bMode 65,7 Title Change Previuos Versions Of Windows:::BootNameWinCLS Color 9bMode 65,7 Echo. Echo Change This Previuos Versions Of Windows AndEcho Add Your Own Custom Name To Vista BootScreenEcho %UserName%, Type In The Boot Menu NameEcho.set BootWin=set /p BootWin= Boot Menu Name -^>Goto WinConfirm:::WinConfirmMode 65,7ClSColor B9Echo.Echo Is This The Correct Name -^> %BootWin%Echo.Echo Yes To Confirm The Name Change Echo No To Redo The Vista Boot Menu Name ChangeEcho.SET UCWin=SET /P UCWin= Type Yes Or No -^>IF /I '%UCWin%'=='Yes' GOTO YesWinIF /I '%UCWin%'=='No' GOTO NoWincolor 9bMode 60,3Echo.Echo This reply %UCWin% is NoWint valid. Please try again.ping -n 3 127.0.0.1>nulGOTO WinConfirm:::YesWinClSColor F2Echo. Echo Confirm, and preparing to rename Vista Boot Menu Name.Echo The new name to appear on the Boot Menu-^> %BootWin%set /p = Press Enter To Start The Re-Name Vista Boot Menu Process!bcdedit /set {ntldr} Description "%BootWin%"Goto CompleteWin :::NoWinMode 60,7ClSColor F3Echo.Echo %UserName%, Echo Did you want to Re Do this and change the Vista Menu Name?Echo Did you want To Quit and Not change Vista Boot Menu Name?SET WinReDo=SET /P WinReDo= %UserName% Type Yes Or No -^>IF /I '%WinReDo%'=='Yes' GOTO BootNameWinIF /I '%WinReDo%'=='No' GOTO UserCancelcolor 9bmode 60,3Echo.Echo This reply %WinReDo% is NoWint valid. Please try again.ping -n 3 127.0.0.1>nulGOTO NoWin:::CompleteWinMode 60,4CLSColor 9aEcho. Echo Completed The Vista Boot Menu Name change!set /p = Press Enter To Exit.Goto TheEnd:::UserCancelGoto TheEnd:::TheEndExitGoTo EOF:VistaBootMenuChange.cmdChangeOldVersionWindowsBoot.cmd
gunsmokingman Posted June 28, 2006 Posted June 28, 2006 (edited) very fancy GSM i'll have to give it a tryThanks Edited June 28, 2006 by gunsmokingman
3aces Posted June 28, 2006 Author Posted June 28, 2006 very fancy GSM i'll have to give it a tryThankscheers also will give it a whirl!!
gunsmokingman Posted June 28, 2006 Posted June 28, 2006 very fancy GSM i'll have to give it a tryThankscheers also will give it a whirl!! Thanks, I might make it into a HTA so it has a user interface if there is a need for it.
3aces Posted June 28, 2006 Author Posted June 28, 2006 This is some thing I made to change the defualt boot menu name for Vista@Echo OffColor 9bMode 65,7 Title Change Vista Boot Menu Name:::ReNameVistaBootMenuCLS Color 9bMode 65,7 Echo.Echo Add Your Own Custom Name To Vista BootScreenEcho %UserName%, Type In The Boot Menu NameEcho.set BootName=set /p BootName= Boot Menu Name -^>Goto ConfirmIt:::ConfirmItMode 65,7ClSColor B9Echo.Echo Is This The Correct Name -^> %BootName%Echo.Echo Yes To Confirm The Name Change Echo No To Redo The Vista Boot Menu Name ChangeEcho.SET UC=SET /P UC= Type Yes Or No -^>IF /I '%UC%'=='Yes' GOTO YesIF /I '%UC%'=='No' GOTO Nocolor 9bMode 60,3Echo.Echo This reply %UC% is not valid. Please try again.ping -n 3 127.0.0.1>nulGOTO ConfirmIt:::YesClSColor F2Echo. Echo Confirm, and preparing to rename Vista Boot Menu Name.Echo The new name to appear on the Boot Menu-^> %BootName%set /p = Press Enter To Start The Re-Name Vista Boot Menu Process!bcdedit /set {current} Description "%BootName%"Goto CompleteReName :::NoMode 60,7ClSColor F3Echo.Echo %UserName%, Echo Did you want to Re Do this and change the Vista Menu Name?Echo Did you want To Quit and not change Vista Boot Menu Name?SET ReDoIT=SET /P ReDoIT= %UserName% Type Yes Or No -^>IF /I '%ReDoIT%'=='Yes' GOTO ReNameVistaBootMenuIF /I '%ReDoIT%'=='No' GOTO UserCancelcolor 9bmode 60,3Echo.Echo This reply %ReDoIT% is not valid. Please try again.ping -n 3 127.0.0.1>nulGOTO No:::CompleteReNameMode 60,4CLSColor 9aEcho. Echo Completed The Vista Boot Menu Name change!set /p = Press Enter To Exit.Goto TheEnd:::UserCancelGoto TheEnd:::TheEndExitGoTo EOF:This will change the legacy name on the Vista boot menucls@echo off::bcdedit /set {ntldr} Description "XP Home-Beta-2004"Color 9bMode 65,7 Title Change Previuos Versions Of Windows:::BootNameWinCLS Color 9bMode 65,7 Echo. Echo Change This Previuos Versions Of Windows AndEcho Add Your Own Custom Name To Vista BootScreenEcho %UserName%, Type In The Boot Menu NameEcho.set BootWin=set /p BootWin= Boot Menu Name -^>Goto WinConfirm:::WinConfirmMode 65,7ClSColor B9Echo.Echo Is This The Correct Name -^> %BootWin%Echo.Echo Yes To Confirm The Name Change Echo No To Redo The Vista Boot Menu Name ChangeEcho.SET UCWin=SET /P UCWin= Type Yes Or No -^>IF /I '%UCWin%'=='Yes' GOTO YesWinIF /I '%UCWin%'=='No' GOTO NoWincolor 9bMode 60,3Echo.Echo This reply %UCWin% is NoWint valid. Please try again.ping -n 3 127.0.0.1>nulGOTO WinConfirm:::YesWinClSColor F2Echo. Echo Confirm, and preparing to rename Vista Boot Menu Name.Echo The new name to appear on the Boot Menu-^> %BootWin%set /p = Press Enter To Start The Re-Name Vista Boot Menu Process!bcdedit /set {ntldr} Description "%BootWin%"Goto CompleteWin :::NoWinMode 60,7ClSColor F3Echo.Echo %UserName%, Echo Did you want to Re Do this and change the Vista Menu Name?Echo Did you want To Quit and Not change Vista Boot Menu Name?SET WinReDo=SET /P WinReDo= %UserName% Type Yes Or No -^>IF /I '%WinReDo%'=='Yes' GOTO BootNameWinIF /I '%WinReDo%'=='No' GOTO UserCancelcolor 9bmode 60,3Echo.Echo This reply %WinReDo% is NoWint valid. Please try again.ping -n 3 127.0.0.1>nulGOTO NoWin:::CompleteWinMode 60,4CLSColor 9aEcho. Echo Completed The Vista Boot Menu Name change!set /p = Press Enter To Exit.Goto TheEnd:::UserCancelGoto TheEnd:::TheEndExitGoTo EOF:its works a treat your an absolute legend lool
gunsmokingman Posted June 28, 2006 Posted June 28, 2006 Thanks but I am not a legend, just got lucky on writing this.
3aces Posted June 29, 2006 Author Posted June 29, 2006 Thanks but I am not a legend, just got lucky on writing this.
gunsmokingman Posted July 24, 2006 Posted July 24, 2006 (edited) I have made this in to a HTA. This is a SFX file so it act like a exe.Here is the HTA code.<HTML><HEAD><HTA:APPLICATION ID = "BootMenu_V1" APPLICATIONNAME = "BootMenu_V1" BORDER = "thin" CAPTION = "Yes" SHOWINTASKBAR = "No" SINGLEINSTANCE = "Yes" SYSMENU = "Yes" WINDOWSTATE = "normal" VERSION = "1.1.1" INNERBORDER = "yes" SELECTION = "yes" MAXIMIZEBUTTON = "No" MINIMIZEBUTTON = "No" NAVIGABLE = "No" CONTEXTMENU = "yes" BORDERSTYLE = "normal" Icon = "%SystemRoot%\Explorer.exe"><Title>Change Vista Boot Menu</Title> <!-- TEXT INPUT STYLES = TEXTBACKGROUND --> <STYLE type="text/css"> Body.Normal { font: 10.25pt Verdana; color:#000080; font-weight:bold; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#E9E9E9',EndColorStr='#9E9E9E'); padding-top:1; padding-bottom:1; Text-Align:; } Table.Normal { font: 8.25pt Verdana; color:#000080; font-weight:bold; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#E9E9E9',EndColorStr='#9E9E9E'); padding-top:1; padding-bottom:1; Text-Align:Center; vertical-align:Center; display: block; float: Middle; } TD.Normal { font: 8.25pt Verdana; color:#000080; font-weight:bold; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#E9E9E9',EndColorStr='#9E9E9E'); padding-top:1; padding-bottom:1; Text-Align:Center; vertical-align:Center; } .TextBackGround { font:8.75pt Verdana; color:#1E1E1E; font-weight:bold; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#e8e4de',EndColorStr='#f2ece8;'); padding-top:2; padding-bottom:1; Height:21; border-left: 2px Transparent #75b8d7; border-right: 1px Transparent #6480af; border-top: 2px Transparent #75b8d7; border-Bottom: 1px Transparent #6480af; } .NormalButton { font:8.25pt Verdana; color:#1E1E8E; font-weight:bold; filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr='#86cceb',endColorStr='#5589ab'); padding-top:1; padding-bottom:1; Text-Align:CENTER; cursor:Hand; Height:20; width:69; border-left: 1px Transparent #6480af; border-right: 2px Transparent #6480af; border-top: 1px Transparent #6480af; border-Bottom: 2px Transparent #6480af; } .PopupTopText {font:9.25pt Palatino Linotype;color:#007266;font-weight:Italic;line-height:110%;text-align:Center;} .PopupTextBottom {font:9.25pt Palatino Linotype;color:#00101a;font-weight:Italic;line-height:110%;text-align:Left;} </STYLE> <script Language="JavaScript"> window.resizeTo (525,255),window.moveTo (100,125); var Fso = new ActiveXObject("Scripting.FileSystemObject"); var Act = new ActiveXObject("Wscript.Shell"); function B1text() {if (RBG.style.visibility == "hidden") {RBG.style.visibility = "",b1a.style.visibility = "",b1b.style.visibility = ""} else {RBG.style.visibility = "hidden",b1a.style.visibility = "hidden",b1b.style.visibility = "hidden"}} function B2text() {if (RBG.style.visibility == "hidden") {RBG.style.visibility = "",b2a.style.visibility = "",b2b.style.visibility = ""} else {RBG.style.visibility = "hidden",b2a.style.visibility = "hidden",b2b.style.visibility = "hidden"}} </SCRIPT> <script LANGUAGE="VBScript"> Dim EMsg1 : EMsg1 = ("No Text Was Inputted" & vbcrlf & "Please fill in a reply to continue") Dim EMsg2 : EMsg2 = ("Is this the correct name you want" & vbcrlf & "to display on the Vista Boot Menu?") Dim Hta : Hta = Act.ExpandEnvironmentStrings("%SystemDrive%\ChangeVistaBoot.hta") </SCRIPT></HEAD> <CENTER><body Class='Normal' Scroll='No'> <!-- ===== --> <Table><TD Style='font:8.75pt Verdana; color:#1E1E1E; font-weight:bold;'> Change Vista Boot Menu Name</TD></Table> <!-- ===== --> <!-- START VISTA BOOT MENU TABLE --> <Table Class='Normal'><Form> <TD Class='Normal' onmouseover="B1text()" onmouseout="B1text()"> <script LANGUAGE="VBScript"> Dim A1, Chk1, Cmd1 Function ShowText1() A1 = document.Forms(0).elements("Textbox1").value If A1 = "" Then A1 = "Vista Boot Menu Change" & Vbcrlf & EMsg1 window.alert A1 Else Chk1 = window.confirm (EMsg2 & vbcrlf & A1) If Chk1 = True then Cmd1 = ("bcdedit /set {current} Description " & chr(34) & A1 & chr(34)) Act.Run(Cmd1),0,True window.alert "Vista Boot Menu Change" & vbcrlf & "Completed Re Name" & Vbcrlf & A1 & vbcrlf & Cmd1 Exit Function Else ClearTextbox1() End If End If End Function Function ClearTextbox1() document.Forms(0).elements("Textbox1").value = "" End Function </SCRIPT> <!-- CONFIRM TEXTBOX 1 VISTA BOOT MENU --> <input type='button' Class='NormalButton' value='Confirm' onmouseout="this.style.color='#1E1E8E';" onmouseover="this.style.color='#36763e';" onClick="ShowText1()"> <!-- TEXTBOX 1 VISTA BOOT MENU --> <input type=text Size=40 Class='TextBackGround' name=Textbox1 tabindex=1> <!-- CLEAR TEXTBOX 1 VISTA BOOT MENU --> <input type="button" Class='NormalButton' value='Clear' onmouseout="this.style.color='#1E1E8E';" onmouseover="this.style.color='#36763e';" onClick="ClearTextbox1()"> </TD></Form></Table> <!-- END VISTA BOOT MENU TABLE --> <!-- ===== --> <Table><TD Style='font:8.75pt Verdana; color:#1E1E1E; font-weight:bold;'> Change Legacy Boot Menu Name</TD></Table> <!-- ===== --> <!-- START LEGACY BOOT MENU TABLE --> <Table Class='Normal'><Form> <TD Class='Normal' onmouseover="B2text()" onmouseout="B2text()"> <script LANGUAGE="VBScript"> Dim A2, Chk2, Cmd2 Function ShowText2() A2 = document.Forms(1).elements("Textbox2").value If A2 = "" Then A2 = "Legacy Boot Menu Change" & Vbcrlf & EMsg1 window.alert A2 Else Chk2 = window.confirm (EMsg2 & vbcrlf & A2) If Chk2 = True then Cmd2 = ("bcdedit /set {ntldr} Description " & chr(34) & A2 & chr(34)) Act.Run(Cmd2),0,True window.alert "Legacy Boot Menu Change" & vbcrlf & "Completed Re Name" & A2 & vbcrlf & Cmd2 Exit Function Else ClearTextbox2() End If End If End Function Function ClearTextbox2() document.Forms(1).elements("Textbox2").value = "" End Function </SCRIPT> <!-- CONFIRM TEXTBOX 2 LEGACY BOOT MENU --> <input type='button' Class='NormalButton' value='Confirm' onmouseout="this.style.color='#1E1E8E';" onmouseover="this.style.color='#36763e';" onClick="ShowText2()"> <!-- ===== --> <!-- TEXTBOX 2 LEGACY BOOT MENU --> <input type=text Size=40 Class='TextBackGround' name=Textbox2 tabindex=2> <!-- ===== --> <!-- CLEAR TEXTBOX 2 LEGACY BOOT MENU --> <input type="button" Class='NormalButton' value='Clear' onmouseout="this.style.color='#1E1E8E';" onmouseover="this.style.color='#36763e';" onClick="ClearTextbox2()"> <!-- ===== --> </TD></Form></Table> <!-- END LEGACY BOOT MENU TABLE --> <Table><Td height='75'> </TD></Table> <script LANGUAGE="VBScript"> Function ExitHta() If Fso.FileExists(Hta) Then Fso.DeleteFile(Hta) End If window.Close() End Function </SCRIPT> <input type='button' Class='NormalButton' value='Close' onmouseout="this.style.color='#1E1E8E';" onmouseover="this.style.color='#36763e';" onClick='ExitHta()'> <!-- ===== --> </Body></HTML> <!-- ======================== SCRIPT SEPARATOR ======================== --><!-- Common BackGround Transparency --> <Div id="RBG" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1; background-color: white; filter:progid:DXImageTransform.alpha(opacity=100); filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')"></DIV> <!-- ======================== SCRIPT SEPARATOR ======================== --> <Div id="b1a" style="visibility:hidden;color:;position:absolute;top:120;left:9;width:470;height:18; margin-top:5; margin-left:5;"> <P Class="PopupTopText">VISTA BOOT MENU</DIV> <DIV id="b1b" style="visibility:hidden;color:;position:absolute;top:135;left:9;width:480;height:16; margin-top:5; margin-left:5;"> <UL Class="PopupTextBottom"><li Class="PopupTextBottom"> Fill in the text box with the custom name you would like to appear on the Vista Boot Menu</UL></DIV> <!-- ======================== SCRIPT SEPARATOR ======================== --> <Div id="b2a" style="visibility:hidden;color:;position:absolute;top:120;left:9;width:470;height:18; margin-top:5; margin-left:5;"> <P Class="PopupTopText">LEGACY BOOT MENU</DIV> <DIV id="b2b" style="visibility:hidden;color:;position:absolute;top:135;left:9;width:480;height:16; margin-top:5; margin-left:5;"> <UL Class="PopupTextBottom"><li Class="PopupTextBottom"> Fill in the text box with the custom name you would like to appear on the Legacy Boot Menu, this means old Version Of Microsoft Operating Systems. <li Class="PopupTextBottom">Win 95, Win 98, Win Me, Win W2K, Win XP, Win W3K are consider Legacy Operating Systems. </UL></DIV>ChangeVistaBoot.exe Edited August 27, 2006 by gunsmokingman
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