Restart in Safe Mode Icon

Page 1 of 2 12 LastLast

  1. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    Restart in Safe Mode Icon


    Can someone explain to me how I can make an icon that will restart my computer in safe mode?

    -thank you
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Marc,

    If you like, you could add Safe Mode to your Windows Boot Manager to select to run at startup.
    For what you wanted, you could create .bat files to do this from OPTION THREE in the tutorial below. You'll need to set the .bat files to Run as administrator for them to work.

    Safe Mode

    To Restart in Safe Mode:
    Code:
    bcdedit /set {current} safeboot minimal 
     
    shutdown -r -t 00 -f
    To Restart in Safe Mode with Networking:
    Code:
    bcdedit /set {current} safeboot network 
     
    shutdown -r -t 00 -f
    To Restart back in Normal Mode:
    Code:
    bcdedit /deletevalue {current} safeboot
     
    shutdown -r -t 00 -f
    Hope this helps, :)
    Shawn
      My Computer


  3. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #3

    ^
    thnx Shawn - how do I create a .bat file? How do I 'set it' to run as admin? I guess I would then create an icon that would then execute the bat file?
    Last edited by MourningStar; 30 Jun 2013 at 16:12.
      My Computer


  4. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #4

    You would just need to right click on the .bat file, and click on "Run as administrator".

    I went ahead and whipped up the .bat files and attached them below for you. :)

    Safe Mode - Add to Desktop Context Menu in Windows

    OR
    Restart in Safe Mode Icon Attached Files
    Last edited by Brink; 02 Jul 2013 at 11:35. Reason: added tutorial link
      My Computer


  5. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #5

    Hey Marc,

    If you like, I'm working on a tutorial for this that will allow you to restart and boot to Safe Mode, Safe Mode with Networking, and Normal Mode from a cascading desktop context menu.

    I'll post a link to it when I have it ready later tonight. :)
      My Computer


  6. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #6

    ^^
    wow - thnx Shawn, you are the best!
      My Computer


  7. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #7

    Ok Marc. The tutorial is ready. :)

    Safe Mode - Add to Desktop Context Menu in Windows
      My Computer


  8. Posts : 14,606
    Microsoft Windows 7 Home Premium 64-bit 7600
       #8

    neat shawn, now go celebrate your birthday.
      My Computer


  9. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #9

    Will do
      My Computer


  10. Posts : 1,364
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #10

      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:45.
Find Us