Unattended/Silent installation of .NET Framework 2, 3 and 3.5

Today in this post I will going to explain the steps to install .NET Framework without manual interaction or using a single command. The biggest advantage of silent installation is that the user don’t have to monitor and follow all the installation steps.

The .NET Framework is an integral windows component that supports building and running the next generation of applications and XML web services on Windows Systems. You can download the .NET framework from following URLS and save them in one directory lets say c:/dotnet


Microsoft .NET Framework Version 2.0 Redistributable Package


Microsoft .NET Framework Version 3.0 (Full Installation)


Microsoft .NET Framework Version 3.5 (Full Installation)


Microsoft .NET Framework 3.0 and 3.5 are usually installed via web installer i.e web installer downloads the executable from Microsoft website and then installs it automatically but the above download URL’s are full download of the components which don’t download anything from Internet once it get downloaded.


1) Open Command Prompt (Start >> run >> cmd >> Enter).

2) Go to the folder where all the .NET Framework executable are downloaded. In our case we have downloaded the in C:\dotnet

C:/>cd c:/dotnet

Install .NET Framework 2

To install it execute following command

C:/dotnet>dotnetfx.exe /q:a /c:”install.exe /qb”

Install .NET Framework 3.0

To install it execute following command

C:/dotnet>dotnetfx3.exe /q /norestart

Install .NET Framework 3.5

To install it execute following command

C:/dotnet>dotnetfx35.exe /q /norestart

Now you can check if the .NET Framework is installed or not from Add remove programs.


You can create a batch file for the installation. This batch file will install all the three versions of .NET Framework on double click. Open notepad and copy paste the following contents in it.

ECHO Installation of DOTNET Framework 2.0
dotnetfx.exe /q:a /c:”install.exe /qb”
ECHO Installation of DOTNET Framework 3.0
dotnetfx3.exe /q /norestart
ECHO Installation of DOTNET Framework3.5
dotnetfx35.exe /q /norestart

Save the file in the directory where installers are downloaded (C:\dotnet) Or you can get the batch file here

About: Mike

Milind Koyande loves to work on new technologies specially virtualization and troubleshoot server problems. I’m an avid photographer and love to spend my free time close to nature, trying to capture its glory on my camera.

2 thoughts on “Unattended/Silent installation of .NET Framework 2, 3 and 3.5”

This site uses Akismet to reduce spam. Learn how your comment data is processed.