IT_Man_Dan Posted April 8, 2014 Posted April 8, 2014 Morning all, Recently some of our darling users have been trying to bypass various security measures (including impero) by booting the PC in safe mode with networking. We have done some research and found that running a script on the machine to prevent access to safe mode or the boot menu works like a charm. The script looks like: @echo OFF bcdedit /set {bootmgr} displaybootmenu no bcdedit /set {default} bootstatuspolicy ignoreallfailures PAUSE My question is, can I just add this to the logon script or is it best just run manually once per machine (or groups via impero)? Thanks
Norphy Posted April 8, 2014 Posted April 8, 2014 (edited) Don't run it as a login script as that will run in the user's security context and won't work. Run it as a startup script, that will then run as system and work fine. You'll probably want to some logic in there to detect whether the script has already run or not as well. Off the top of my head something like: if exist c:\bcded.txt goto end bcdedit /set {bootmgr} displaybootmenu no > bcded.txt bcdedit /set {default} bootstatuspolicy ignoreallfailures >> bcded.txt echo all done >> c:\bcded.txt :end With that you'll capture the output from the bcdedit commands in a text file that you can examine should something go pear shaped. Edited April 8, 2014 by Norphy 1
IT_Man_Dan Posted April 8, 2014 Author Posted April 8, 2014 Thanks guys, Did you run it on all workstations or just a selection? I'm trying to think of occasions that I might actually need to access safe mode on a client but I can't see any obvious ones. I can just reimage clients that have an issue and no data is stored locally. Regards
fairm010 Posted April 8, 2014 Posted April 8, 2014 I have ran this on all our domain joined clients especially PC's used by the kids! Any problems, it's re-imaged in 15 minutes. 1
IT_Man_Dan Posted April 8, 2014 Author Posted April 8, 2014 Thanks, Just set it up to run via GPO :-) I'll set it to run on all domain clients.
Liam Posted April 8, 2014 Posted April 8, 2014 It's easily reversed in the same way applied. But it's very rare I diagnose an issue these days. Allow Wds to do it all for me. I can have it done in 15 back on the domain in the correct ou. Good old prestaged devices
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