I have created an unattended installation.  

When a new user logs in they get a two part prompt.  

1) Welcome!, Connect to all your developer services.  

2) Followed by a Start with a familiar environment.   


The version i am using is 2017 Enterprise.  Its deployed via SCCM using the following command line.

vs_enterprise.exe --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeRecommended --includeOptional --quiet --wait --norestart --productKey MYPRODUCTCODEHERE

Just a little more information I have figured out if i launch VS2017 as a user and copy the following directories.

c:\users\Username\AppData\local\Microsoft\VisualStudio\

c:\users\Username\AppData\local\Microsoft\VisualStudio Services\

c:\users\Username\AppData\local\Microsoft\VSApplicationInsites

c:\users\Username\\AppData\local\Microsoft\VSCommon\

If the files are copied to 

c:\users\Default\AppData\local\Microsoft\  

New users bypass the start up / first run screens.

Renaming folders and restarting VS2017 points to this directory that is used for the visual studio profile

c:\users\Username\AppData\local\Microsoft\VisualStudio\


This seemed to work fine trying different users until i re-imaged the laptop.

I have noticed that within 

c:\users\Username\AppData\local\Microsoft\VisualStudio\ it created a guid type folder


When a new user logs in the files are copied to the user profile 

c:\users\Username\AppData\local\Microsoft\VisualStudio

I am prompted with the Welcome screens again.  I have noticed that within c:\users\Username\AppData\local\Microsoft\VisualStudio

I now have two profile / guid folders

c:\users\Username\AppData\local\Microsoft\VisualStudio\15.0_5f01cdb8 and

c:\users\Username\\AppData\local\Microsoft\VisualStudio\15.0_086b9835


Does anyone know how to automate this process.  We work in a hot desk environment and its a real annoyance to the users to have to agree to terms every time they use a new PC.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity