Tip-Packed Gem from Microsoft Ignite 2018 – Windows Life Hacks
I came across this top session, 45 Life Hacks in 45 Minutes, from Microsoft Ignite 2018 which I consider to be a gem to Windows enthusiasts. It is packed with useful Windows techniques, many of which are advanced while practical.
This blog post merely summarizes the interesting tips from the session as an entry point – to experience the amazingness of the live demos, please go watch the recorded session on YouTube and look for other works by Sami Laiho from whom I learned a lot.
1. Exit Explorer
13. Run multiple registry editors
15. Cool registry location but too long to remember and type
1. Exit Explorer
- Windows 10/2016
- Right-click taskbar > Exit Explorer
- Windows 8/2012
- Press Alt+F4 to bring up shutdown dialog. Next, while holding Ctrl+Shift+Alt, click Cancel
- In Task Manager > Run New Task
- It always open a Command Prompt
- F7 hotkey
- History of Command Prompt or PowerShell
- *.xlsx then tab in Command Prompt only tab-completes files with *.xlsx extension. Works with any extensions
- Copy error messages from error dialog by Ctrl+C
- Perform a capture in OneNote
- Right-click pictures and select copy text
- Decimal
- net helpmsg 4006
- Hex
- winrm helpmsg 0x65
- WAITFOR [/T timeout] signal
- Description
- This tool sends, or waits for, a signal on a system. When /S is not specified, the signal will be broadcasted to all the systems in a domain. If /S is specified, then the signal will be sent only to the specified system.
- Command Prompt
- ipconfig | clip
- PowerShell
- Get-Service | Set-Clipboard
- Joke
- Who uses PSExec now that we have PowerShell?
- Mark Russinovich: "How can you remotely enable PowerShell remoting?"
- It will be hard for the remote user to get rid of the app (strip off the frame)
- psexec -sid \\student25 "c:\program files (x86)\Internet Explorer\iexplore.exe" -K http://www.bing.com
13. Run multiple registry editors
- regedit /m
15. Cool registry location but too long to remember and type
- Add to favorites
- Registry location that indicates where the physical files of registry are
- HKLM\SYSTEM\CurrentControlSet\Control\hivelist
- e.g. For SAM, i.e. \REGISTRY\MACHINE\SAM
- \Device\HarddiskVolume5\Windows\System32\config\SAM
- Under Process Hacker, right-click explorer.exe > Miscellaneous > Run as this user...
- If the other logged user is a domain admin, now you are the domain admin
- Good for service troubleshooting. Impersonate as local system
- Analyze offline system with Sysinternals Autoruns under Windows PE
- Boot from Windows installation media (or Windows PE)
- Uncheck driver
- cd C:\Windows\System32\oobe\en-US\
- Edit msoobeFirstLogonAnim.dll.mui with Resource Hacker
- cd C:\Windows\System32\oobe\
- Strings.exe FirstLogonAnim.exe > temp.txt
- Change font and speed with FirstLogonAnim.html
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
- What gets executed when you type something
- Create a new key of an application, e.g. "notepad.exe"
- Create a new REG_SZ type string of value "Debugger" and data "calc.exe"
- Continued from above, create a new key of "FirstLogonAnim.exe"
- Create a new REG_SZ type string of value "Debugger" and data "NULL"
Comments
Post a Comment