Hello @Peter Volz ,
Welcome to Microsoft Q&A forum.
I have verified that the command which you are using is correct.
Is there any detailed error message? There are many reasons which may cause the process to stop.
I suggest first verify that you have enough disk space(C drive) and then try to check the network connection, make sure it’s stable and try to connect to use another network. Make sure that there’s no proxy/rule/policy/antivirus on your machine/network which may block the process from downloading the packages.
Try to use --verify
and --fix
parameters to see if the error can be fixed(VisualStudioSetup.exe --layout C:\VS.NET --verify --fix).
If above methods don’t work, please download a new VS 2022 Professional setup file from here: Downloads again, save it to a clean folder, run CMD as administrator, change to use a new layout folder and run the command again.
Feel free to let us know the results.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.