This occurs if the certificates on the offline machine are out of date. Before installing, run Windows Update on the target machine to ensure trusted root certificates are current. Alternatively, use the --certificatePath argument.
vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeOptional --lang en-US Specifies where the files will be saved. microsoft visual studio 2022 community offline installer
Offline machines may lack updated root certificates. Use --certificatePath during layout creation to include certificates, or manually install the latest Microsoft root certificate update on the target. This occurs if the certificates on the offline