vs_installer.exe repair --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
The installer requires due to concurrent extraction. For a 40 GB Enterprise install, you need 100 GB free temporarily. The GUI warns you, but silent installs will fail with cryptic -2147023293 errors. visual studio enterprise 2022 installer
This is the most important section. Instead of installing everything (which takes up terabytes), you select "Workloads" relevant to what you code. vs_installer