With every Windows endpoint converged on the same version, deploying Visual Studio Enterprise 2017 silently becomes a straightforward, repeatable task for IT teams. This guide focuses on enterprise rollout with the verified silent install command, machine-wide deployment behavior, admin-rights requirements, and dependable detection rule planning so packaging and validation stay consistent. It is built for practical use in Intune/SCCM/PDQ workflows where standardized installs, reduced user disruption, and predictable compliance matter most.
Quick snapshot: Silently install Visual Studio Enterprise 2017 on Windows
Run in an elevated Command Prompt or PowerShell:
Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe --quiet --waitOverview
| Application | Visual Studio Enterprise 2017 |
|---|---|
| Version | 15.9.70 |
| Publisher | Microsoft Corporation |
| Installer type | EXE quiet installer |
| Install scope | System / machine-wide |
| Requires admin | Yes |
| Silent install | Available |
| Silent uninstall | Available |
| Detection method | Registry |
| Installer file | Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe |
| Download | Visual Studio Enterprise 2017 installer |
Silent install steps
Run any one of the methods below to install Visual Studio Enterprise 2017 silently with zero user interaction. Command Prompt and PowerShell produce the same result — use whichever fits your deployment workflow.
Method 1: Install with Command Prompt
- Download or stage the installer (
Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe) to a local folder, for exampleC:\Installers.
- Open Command Prompt as Administrator:Press Start→Type
cmd→Right-click Command Prompt→Choose Run as administrator
- Switch to the installer folder, then run the silent install command:
Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe --quiet --waitC:\> cd /d "C:\Installers"C:\Installers> Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe --quiet --waitInstalling Visual Studio Enterprise 2017 15.9.70…Installation complete — exit code 0.C:\Installers> ▋
Method 2: Install with PowerShell
Run the same silent install through PowerShell (elevated).
- Download or stage the installer (
Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe) to a local folder, for exampleC:\Installers.
- Open PowerShell as Administrator — right-click Start (or press Win+X), then:
- On Windows 10: choose Windows PowerShell (Admin).
- On Windows 11: choose Terminal (Admin) — it opens Windows Terminal running PowerShell.
- Run the command:
Start-Process -FilePath Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe -ArgumentList '--quiet --wait' -WaitPS C:\> Set-Location 'C:\Installers'PS C:\Installers> Start-Process -FilePath Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe -ArgumentList '--quiet --wait' -WaitInstalling Visual Studio Enterprise 2017 15.9.70…Installation complete — exit code 0.PS C:\Installers> ▋
Deployment Notes
Key facts to confirm before rolling this out to production machines — permissions required, scope of install, and reboot behavior.
| Requirement | Administrator privileges required |
|---|---|
| Install scope | Machine |
| Restart behavior | No restart expected |
| Success exit codes | Also treat 1, 3010, -2146233029 as success |
Detection Rules
Configure your deployment tool with the detection rule below to confirm a successful install of Visual Studio Enterprise 2017. The same rule work for Microsoft Intune, SCCM, PDQ Deploy, and most RMM platforms — just paste the values into the matching fields.
Registry detection
| Key path | HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\9ed9b5da |
|---|---|
| Value name | DisplayVersion |
| Expected version | 15.9.78 |
PowerShell detection script
Prefer a script-based check? Use this as a custom detection script in Microsoft Intune (or any tool that supports detection scripts). It exits 0 when Visual Studio Enterprise 2017 is detected and 1 otherwise.
$Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\9ed9b5da'
$Value = (Get-ItemProperty -Path $Key -Name 'DisplayVersion' -ErrorAction SilentlyContinue).'DisplayVersion'
if ($Value -eq '15.9.78') { exit 0 }
exit 1Silent Uninstall Steps
Remove Visual Studio Enterprise 2017 silently from one machine or your entire fleet. The commands below uninstall without prompts and suppress automatic reboots so you control the timing.
Method 1: Uninstall with Command Prompt
Run the uninstall command from an elevated Command Prompt.
- Open Command Prompt as Administrator.
- Run the silent uninstall command.
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" uninstall --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise" --quiet --norestartMethod 2: Uninstall with PowerShell
Run the same silent uninstall command through PowerShell.
- Open PowerShell as Administrator.
- Run the silent uninstall command.
Start-Process -FilePath "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" -ArgumentList 'uninstall --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise" --quiet --norestart' -WaitDeployment Examples
Drop one of the snippets below into your deployment tool, Group Policy, or scheduled task. Each script wraps the silent install command for Visual Studio Enterprise 2017 as a batch file or PowerShell script — copy, save, and run.
Batch file example
Save the following content as install-visual-studio-enterprise-2017.bat in the same folder as the installer.
@echo off
cd /d "%~dp0"
Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe --quiet --wait
exit /b %errorlevel%PowerShell script example
Save the following content as install-visual-studio-enterprise-2017.ps1 in the same folder as the installer.
Set-Location -Path $PSScriptRoot
$Installer = 'Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe'
& $Installer --quiet --wait
exit $LASTEXITCODEFrequently asked questions
Can I silently install Visual Studio Enterprise 2017 on Windows?
Do I need administrator privileges to install Visual Studio Enterprise 2017?
Will installing Visual Studio Enterprise 2017 restart the computer?
How do I verify Visual Studio Enterprise 2017 installed successfully?
How do I silently uninstall Visual Studio Enterprise 2017?
setup.exe with --uninstall flags.Which deployment tools support these commands?
Troubleshooting
If the install fails, exits with a non-zero code, or leaves no trace on the target machine, work through the checks below. Most issues come down to permissions, paths, or exit code handling.
| Run as administrator | Make sure Command Prompt or PowerShell is opened as Administrator. This installer writes to a machine-wide location and will fail silently without elevated permissions. |
|---|---|
| Verify the installer file name | Confirm that the installer file name matches the command shown in this guide: Microsoft.VisualStudio.2017.Enterprise.15.9.70.X64.exe. |
| Run from the correct folder | Run the command from the folder that contains the installer file. For batch or PowerShell deployments, place the script and installer in the same folder. |
| Check exit codes | If the installer returns a non-zero exit code, review the installer log or your deployment tool's logs. This package also treats 1, 3010, -2146233029 as success. |
| Restart if required | If the application does not appear immediately after installation, sign out and sign back in, or restart the device — this refreshes Start menu shortcuts, file associations, and Path entries written by the installer. |
| Validate detection rules | If your deployment tool reports the app as not installed, verify that the detection rule matches the installed version, MSI product code, registry key, or file path. Use the Detection Rules section above to confirm whether the application was installed successfully. |