Skip to content

Instantly share code, notes, and snippets.

@vladislav805
Last active December 28, 2025 21:21
Show Gist options
  • Select an option

  • Save vladislav805/a6c32ba90409c04a30a1258fb0b793f6 to your computer and use it in GitHub Desktop.

Select an option

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

Install Visual C++ Redistributable Runtimes

There is an all-in-one installer here or here.

Activation

massgravel/Microsoft-Activation-Scripts

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

Development

Network

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