mac_shinobi Posted March 17, 2011 Posted March 17, 2011 (edited) In Windows Vista & 7, you can disable the boot menu entirely with bcdedit /set {bootmgr} displaybootmenu no. However, I haven't had a chance to see if this disables F8 too - it might. Would be good to know if this gets around the F8 thing, if so then on xp or similar OSes you could deny permissions for student / teacher groups to boot.ini or similar files. Also on windows 7 where it is different as per the command you posted bcdedit /set {bootmgr} displaybootmenu no does this also edit / ammend a boot.ini file or what does this command do exactly ? ie changing registry entries or what exactly ? could be wrong but that's how I think Arthur has done it Edited March 17, 2011 by mac_shinobi
Arthur Posted March 17, 2011 Posted March 17, 2011 Can I ask what file this is in and what app you used to open the file? The master boot record is located in the first 512 sectors of your hard drive. As mac_shinobi mentioned it is not visible as a file inside your operating system, but you can use a hex editor to view it. I used HxD since it has the ability to modify disks (like WinHex) but is free. To see the changes NoSafeMode made, I did a backup of the MBR before and after I ran the program and then compared the differences. However, without knowledge of assembly language there's probably not much that can be done to find out how it functions. I assume it works like mbldr, but can bypass NTDLR to boot Windows. 1
-cory- Posted April 13, 2011 Posted April 13, 2011 Hello to everyone. I don't really like to post on forums but I couldn't help myself when I saw that you are also trying to solve F8 nightmare with registry modifications. I tried literally everything to disable safe mode on my Windows 7 computer until I have found Disable Safe Mode – Microsoft Windows Command Line Tool I was focusing on F8 key and now I realize that there are many other ways to break boot process and enter into computer system. The tool can be run only with admin rights so there is no need for any additional password, especially if it is stored in MBR. I hope this post will help someone out there ...
Steve21 Posted April 13, 2011 Posted April 13, 2011 (edited) Hello to everyone. I don't really like to post on forums but I couldn't help myself when I saw that you are also trying to solve F8 nightmare with registry modifications. I tried literally everything to disable safe mode on my Windows 7 computer until I have found Disable Safe Mode – Microsoft Windows Command Line Tool I was focusing on F8 key and now I realize that there are many other ways to break boot process and enter into computer system. The tool can be run only with admin rights so there is no need for any additional password, especially if it is stored in MBR. I hope this post will help someone out there ... Sounds more like a bad attempt at advertising if I'm totally honest It's not about disabling F8, just thats what loads the boot menu normally... All that program does is edit a file, you can already edit for free, and change all of 1 line. And it disables it "while windows is running", so to quote the website "All system modifications made by DisableSafeMode are completely reversible so you will be able to stop the protection in case you need to do so (eg. you need to repair the computer)" Not really true if you need Safemode etc, as you can't get into windows in the first place "No-one" being able to access Boot Menu, isn't really anymore help than just totally breaking it, If you need to Boot windows to access it to get back into it for proper admin stuff. Charging £70~ for "Business" version of a 1 line piece of code? :mad::mad: Nice... :mad::mad: Steve Edited April 13, 2011 by Steve21 1
-cory- Posted April 13, 2011 Posted April 13, 2011 I don't know how many lines of code it has and I don't care. I couldn't find that one free line so I end up with this. I've also tried some other “free” solutions and tools which disables keyboard and mess with MBR so I really don't see the difference. Take care
Arthur Posted April 13, 2011 Posted April 13, 2011 I couldn't find that one free line so I end up with this. You could have saved yourself some money if you used... bcdedit /set {bootmgr} displaybootmenu no
-cory- Posted April 20, 2011 Posted April 20, 2011 Fortunately for me, that one line can only make some unwanted features to my OS. By entering bcdedit /set {bootmgr} displaybootmenu no you will remove operating system selection menu and you will not be able to use secondary OS (if any.) You will also be able to start your current OS in safe mode on several ways, or start system repair process... As I can confirm, Disable Safe Mode allows me to select secondary OS...so it is obviously something more than one line of code. Regards
ptotham Posted May 19, 2011 Posted May 19, 2011 In Windows Vista & 7, you can disable the boot menu entirely with bcdedit /set {bootmgr} displaybootmenu no. However, I haven't had a chance to see if this disables F8 too - it might. I should have mentioned in my previous post that NoSafeMode also adds some code to the MBR (at the offsets below). I think it is this which does the actual disabling of the keys. 0x1b=27 to 0x8b=139 (113 bytes) 0x8d=141 to 0x93=147 (7 bytes) Unfortunately not. It would happen too late in the boot process. thanks for this work a treat for what i wanted.
itguy78 Posted June 27, 2013 Posted June 27, 2013 Best thing I found to disable F8 LEGALLY: NOSafeMode ? The LEGAL and ELEGANT way to disable F8 and Advanced Boot Options in Windows NT? based Operating Systems (Including Windows 2000?, Windows XP? and Windows Vista?) That moved to: NOSafeMode
LibTech Posted March 7, 2014 Posted March 7, 2014 bcdedit /enum all /v >bcd.txt (needed for last command) bcdedit /set {default} bootstatuspolicy ignoreallfailures bcdedit /set {9dea862c-5cdd-4e70-acc1-f32b344d4795} displaybootmenu No bcdedit /set {default} recoveryenabled No bcdedit /set {e3a1b7b2-4f95-11e2-bdf3-8ca6f71a339d} winpe no now reboot! (its a MUST) the segment in red is unique to the image used (windows install), check the txt file created on first command. This was long overdue for me to post. I hope this was more clearly stated and helps someone in the future. Credit to the EduGeek community.
speckytecky Posted March 7, 2014 Posted March 7, 2014 I'd be interested to hear the take on this thread from our friends at Impero?
Valyyn Posted March 7, 2014 Posted March 7, 2014 I'd be interested to hear the take on this thread from our friends at Impero? Just gave this a test out of interest and Impero still works normally in Safe Mode with Networking 1
Tesla Posted January 29, 2015 Posted January 29, 2015 (edited) shouldnt this be BTRD? @witch ? (thread deleted so now i look awkward... ) Edited January 29, 2015 by Tesla
kevin_lane Posted January 29, 2015 Posted January 29, 2015 (edited) my bad - created a new thread on BTRD Edited January 29, 2015 by kevin_lane 1
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