Skip to content

Tips & Tricks

Bypass password on windows

To bypass windows password prompt on running anything.exe:

  1. Open a new text document. Rename it to anything.bat
  2. Write the following into the file:
Set __COMPAT_LAYER=RunAsInvoker
Start anything.exe
  1. Run the .bat file

Maintenance

Cleanup disks with:

  • run prefetch, temp, %temp%, cleanmgr (Disk Cleaner)

For disk related issues/file explorer crashing/graphics related issues:

  • File explorer options > Clear history/restore defaults
  • Repair-WindowsImage -Online -RestoreHealth
  • DISM /Online /Cleanup-Image /RestoreHealth
  • sfc /scannow
  • Check if display driver is up to date
  • Create new user account
  • Perform a clean boot to diagnose which app is causing the issue

Regex

To replace ![[img/*]] with ![](img/*)

Find : !\[\[(img\/.*?)\]\] Replace with: ![]($1)

To replace ![[*]] with ![](img/*)

Find: !\[\[(.*?)\]\] Replace with: ![](img/$1)



© 2020-2025 Ucchas Muhury