/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


Silent deployment of Visual Studio 2017(User defaults)

09/13/2017 8231 views

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


Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ