vs_enterprise.exe --layout C:\VS2022_Offline --fix To refresh your offline folder with the latest updates (requires internet on source machine):
vs_enterprise.exe --layout C:\VS2022_Offline --verify To repair missing files: visual studio 2022 enterprise offline installer
vs_enterprise.exe --noWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --quiet Run this command to check if the offline layout is complete: vs_enterprise