Defrag: Ejecting an Internal Drive, Windows on a Thumb Drive, Disable Aero Shake

Sign in to queue

The Discussion

  • User profile image
    windev

    RE: New context menus

    Here's an example of adding the debugger context menu for *.dmp

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.dmp]
    @="VisualStudio.dmp.10.0"

    [HKEY_CLASSES_ROOT\VisualStudio.dmp.10.0\shell]
    @="WinDbg_x64_public"

    [HKEY_CLASSES_ROOT\VisualStudio.dmp.10.0\shell\WinDbg_x86_public]
    @="Open with WinDbg x86"

    [HKEY_CLASSES_ROOT\VisualStudio.dmp.10.0\shell\WinDbg_x86_public\Command]
    @="\"C:\\Debuggers_x86\\windbg.exe\" -z \"%1\" -y \"SRV*C:\\Symbols*http://msdl.microsoft.com/download/symbols\""

    [HKEY_CLASSES_ROOT\VisualStudio.dmp.10.0\shell\WinDbg_x64_public]
    @="Open with WinDbg x64 (Public)"

    [HKEY_CLASSES_ROOT\VisualStudio.dmp.10.0\shell\WinDbg_x64_public\Command]
    @="\"C:\\Debuggers\\windbg.exe\" -z \"%1\" -y \"SRV*C:\\Symbols*http://msdl.microsoft.com/download/symbols\""

     

  • User profile image
    Magic​Andre1981

    [01:45] -  Speed up shutdown process to avoid pranksters.

    There is a Hotfix for Windows 7 RTM (included in Windows 7 Sp1) which fixes a slowdown because of a hanging taskhost.exe:

    There is a delay when you shut down, restart, or log off a computer that is running Windows 7 or Windows Server 2008 R2

    http://support.microsoft.com/kb/975777

     

  • User profile image
    Yakko Warner

    Based on your advice, I created a script called "Secure reboot.bat" that I have on my desktop to reboot and walk away:

    rundll32.exe user32.dll,LockWorkstation
    shutdown /r

    It locks the workstation, and 30 seconds later, it starts the reboot process behind the lock screen. I also have a shortcut to shutdown.exe /a — in case I double-click the reboot icon by accident, I can log back in and hit that shortcut within the 30 second delay. Works a treat. Smiley

    I have the whole collection of Animaniacs DVDs (everything that's been released so far, anyway), and my kids have been earning an appreciation for it, too. Big Smile

  • User profile image
    Taz.0

    You could use the device manager, you could script DISKPART, or you could just use HotSwap!. It flushes the cache and powers down your drive from the safety and convenience of the system tray.

Add Your 2 Cents