We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50d7b4 commit f35025bCopy full SHA for f35025b
images/win/scripts/Installers/Warmup-User.ps1
@@ -15,7 +15,8 @@ $devEnvPath = "$vsInstallRoot\Common7\IDE\devenv.exe"
15
16
cmd.exe /c "`"$devEnvPath`" /updateconfiguration"
17
18
-Copy-Item ${env:USERPROFILE}\AppData\Local\Microsoft\VisualStudio -Destination c:\users\default\AppData\Local\Microsoft\VisualStudio -Recurse
+# we are fine if some file is locked and cannot be copied
19
+Copy-Item ${env:USERPROFILE}\AppData\Local\Microsoft\VisualStudio -Destination c:\users\default\AppData\Local\Microsoft\VisualStudio -Recurse -ErrorAction SilentlyContinue
20
21
reg.exe load HKLM\DEFAULT c:\users\default\ntuser.dat
22
reg.exe copy HKCU\Software\Microsoft\VisualStudio HKLM\DEFAULT\Software\Microsoft\VisualStudio /s
0 commit comments