Windows tricks
Contents
Windows tricks
- Pin to start any file
- Execute task at logon: using task scheduler
- Execute task at restart: Group policy editor (gpedit.msc) > User configuration > Windows Settings > Startup / Shutdown
- Run program as administrator
- See Point 12 for having a program always execute as admin
- Edit the context menu “New” options
Audio
Links :
- Interesting article about multiple audio interfaces : https://www.soundonsound.com/techniques/using-multiple-audio-interfaces-together
- Windows audio architecture : https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/windows-audio-architecture
- Wasapi example code : https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/WindowsAudioSession
- Windows vs linux audio : https://www.learndigitalaudio.com/how-linux-audio-works-vs-windows-audio-2017Sound control panel : https://oxen.tech/blog/using-sounds-settings-control-panel/
Drivers :
- Asio, Windows Core Audio (using WASAPI)
To use a professional audio interface in Windows you will need to download the drivers from the manufacturers web site and install them. These will almost certainly include an ASIO driver. This type of special driver created by Steinberg will bypass the operating system as much as is possible and enable low latency high quality sound.
There will probably be another driver included for general Windows use. This is for software that does not support ASIO, and it will probably be Windows Core Audio which uses WASAPI. This is the current type of driver used in Windows 10, and supersedes MME (1991), DirectSound (1995), and WDM (1998).
Windows Core Audio can also bypass the operating system as much as is possible, and get low latency in ‘exclusive’ mode, but ASIO is still the most widely used pro audio standard.
https://msdn.microsoft.com/library/windows/desktop/dd742875)
Free space on C:
Install ubuntu on D: see https://kontext.tech/column/tools/308/how-to-install-windows-subsystem-for-linux-on-a-non-c-drive
Move Pagefile.sys or delete it : https://www.ionos.fr/digitalguide/serveur/configuration/pagefilesys/
Remove hiberfile.sys ? https://www.commentcamarche.net/informatique/windows/227-supprimer-le-fichier-hiberfil-sys-de-windows/
Windows is slow, GPU spikes
- https://www.windowsphoneinfo.com/threads/desktop-window-manager-random-gpu-spikes.460412/
- https://windowsreport.com/desktop-window-manager-high-gpu/#:~:text=On%20Windows%2010%2C%20type%20in,Select%20Search%20automatically%20for%20drivers.
- Use nvidia control panel to change the gpu
- Edit System Configuration > Services
Windows reinstall / refresh
Microsoft Visual C++ 14.0 missing (when install pyton -rtmidi)
- Install Visual studio installer
- Workload : Desktop Development with C++
- MSVC v142 - VS 2019 + Windows 10 SDK
Stress tests
- See this
- Win-R :
perfmon /report
: general testing. Supposed to take 1 min but takes much longer (20 min ..?) - or Prime95 : cpu tests
Cleaning steps
- Defrag ssd with smart defrag 8 by IO bits