Installing .Net Framework 3.5 Remotely on WS2012

Warning
This blog post is included for archival purposes and may contain outdated information. While it provides historical insights, we strongly recommend that you double-check the details before relying on any of the information outlined here.

Here is a quick way of installing the .Net Framework 3.5 on various computers running Windows Server 2012 using the command prompt.  We’re assuming psexec is installed on the computer from where you are running this script.

Here is what I run in my case (make sure you run this as a user who is admin at the target machines):

psexec -s \\computer1,computer2  DISM /Online /Enable-Feature /FeatureName:NetFx3 /All  /Source:\\network-share-that-contains-the-sources-directory

The parameters \\computer1,computer2 refer to the Windows Server machines you want to target.  After specifying which computers to target, what follows is the command to install windows features, DISM.  The command for installing

In my my case, the command looks like so:

psexec \pac0920,pac0922,pac0924,pac0926,pac0928 DISM /Online /Enable-Feature /FeatureName:NetFx3 /All  /Source:\pac0619SCVMM2012-LibraryisoWindowsServer2012RTMBitssourcessxs

Remote installation completing successfully on PAC0926

Remote installation completing successfully on PAC0926

Good luck!

Sources:

http://msdn.microsoft.com/en-us/library/hh506443.aspx

About Author

Christian Saborio

Christian is a seasoned computer engineer with a rich career spanning collaborations with industry leaders such as Artinsoft (now Mobilize.net), Microsoft, HP, and Intel. As a technical evangelist and trainer, Christian honed his expertise in Costa Rica and Seattle, delivering impactful solutions and sharing his knowledge.

Now based in Sydney, Australia, Christian channels his passion into web development, leading a talented team to tackle diverse projects with innovation and precision. His commitment to crafting exceptional digital experiences reflects his deep-rooted enthusiasm for technology and problem-solving.

Comments

    Comments are closed

    Thank you for your interest. Please fill out this form to provide us with your contact information. We'll get back to you as soon as possible.