# 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: ```shell 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](https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/) or [here](https://github.com/abbodi1406/vcredist). ## Activation [massgravel/Microsoft-Activation-Scripts](https://github.com/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 - [Firefox](https://www.mozilla.org/en-US/firefox/all/) + [fixes](https://gist.github.com/vladislav805/8bf63fb6f522f32397588f82a9f8fadd) - [VLC](https://www.videolan.org/vlc/) or [mpv](https://github.com/mpv-player/mpv/releases) - [Telegram](https://desktop.telegram.org/) - [LibreOffice](https://www.libreoffice.org/download/download/) - [GIMP](https://www.gimp.org/downloads/) - [OBS](https://obsproject.com/) - [CapsLang](https://github.com/edanko/capslang/releases) (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) - [ffmpeg](https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest) ## Development - [Node](https://nodejs.org/en/download) or [nvm-windows](https://github.com/coreybutler/nvm-windows) - [Python](https://www.python.org/downloads/windows/) - [WSL2](https://docs.microsoft.com/en/windows/wsl/install-win10) - [VSCode](https://code.visualstudio.com/) - [JetBrains Mono Font](https://www.jetbrains.com/lp/mono/) ## Network - [Goodbye DPI](https://github.com/ValdikSS/GoodbyeDPI) # Legacy ## Disable Photos app, enable legacy Photo viewer Add reg records: ```shell 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 ```