Skip to content

Instantly share code, notes, and snippets.

@vladislav805
Last active July 21, 2025 09:46
Show Gist options
  • Save vladislav805/a6c32ba90409c04a30a1258fb0b793f6 to your computer and use it in GitHub Desktop.
Save vladislav805/a6c32ba90409c04a30a1258fb0b793f6 to your computer and use it in GitHub Desktop.
Cheatsheet by install and set up Windows

Windows cheatsheet

Disable fast startup

  1. Win + R
  2. powercfg.cpl
  3. In left side "Choose what the power buttons do";

Perceive time information as UTC (as Linux), not local (timezone)

Add reg record:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

Set virtual memory paging file

  1. Win + R
  2. sysdm.cpl ,3
  3. Perfomance -> Settings...;
  4. Tab Advanced;
  5. Virtual memory -> Change...;
  6. Uncheck "Automaticly manage paging file size for all drives";
  7. Select "C:";
  8. Set to "Custom size";
  9. Set initial and maximum size to 8192 MB (8 GB);
  10. Click "Set";
  11. Click "OK";
  12. Confirm alert that changes will apply only after reboot;
  13. Click "OK";
  14. Click "OK";
  15. Restart.

Programs

  • Firefox + fixes
  • VLC
  • Telegram
  • LibreOffice
  • GIMP
  • OBS
  • CapsLang (switch layout languages by CapsLock)
    • C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (current user)
    • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp (all users)

Development

Etc

Legacy

Disable Photos app, enable legacy Photo viewer

Add reg records:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tif" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".tiff" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".png" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp" /d "PhotoViewer.FileAssoc.Tiff" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /d "PhotoViewer.FileAssoc.Tiff" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment