Winaero

At the edge of tweaking

You may not republish any content as your original work or without credits. © Winaero

Visit Winaero on Facebook

Visit Winaero at Google+

Subscribe us on Youtube

Menu

Skip to content

Home

Blog

Windows 10

Downloads

Winamp skins

AIMP3 skins

About

Home
>
Windows 10
> Offline install of .NET Framework 3.5 in Windows 10 using DISM

Offline install of .NET Framework 3.5 in Windows 10 using DISM

Windows 10 comes with .NET framework 4.5 pre-installed, but many apps developed in Vista and Windows 7 era require the .NET framework v3.5 installed along with 4.5. These apps will not run unless you will install the required version. When you try to run any such app, Windows 10 will prompt you to download and install .NET framework 3.5 from the Internet. However, this will take a lot of time. You can save your time and install .NET Framework 3.5 from the Windows 10 installation media. This method is much faster and does not even require an Internet connection. Here is how to install it.

To install .NET Framework 3.5 in Windows 10, do the following:

Insert your Windows 10 DVD, or double click its ISO image, or insert your bootable flash drive with Windows 10, depending on what you have.

Open 'This PC' in File Explorer and note the drive letter of the installation media you have inserted. In my case it is disk D:

Now open an elevated command prompt and type the following command:

Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

Replace D: with your drive letter for Windows 10 installation media.

You are done! This will install .NET framework 3.5 in Windows 10.

To save your time, I have prepared a simple batch file which will save your time and will find the inserted installation media automatically. It looks like this:

@echo off
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%I:\\sources\install.wim" set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5...
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo.
echo .NET Framework 3.5 should be installed
echo.
) else (
echo No installation media found!
echo Insert DVD or USB flash drive and run this file once again.
echo.
)
pause

Download the file, extract it from the ZIP archive to the Desktop, right click it and choose Run as administrator. The file will install .NET Framework 3.5 automatically after finding the drive letter of your Windows 10 installation media.

Click here to download the batch file.

That's it.

Share this article

Tweet

Related Articles

How to speed up menus in Windows 10 and change the menu delay

How to open old Display Settings in Windows 10 (two ways)

How to change the size of scrollbars in Windows 10

Get classic old Task Manager in Windows 10

How to reduce title bar height and size of window buttons in Windows 10

This entry was posted in Windows 10 and tagged .net 3.5 offline install, .net framework, Windows 10 on October 10, 2014 by Sergey Tkachenko.

About Sergey Tkachenko

Google

View all posts by Sergey Tkachenko →

Post navigation

← How to reset the Start Screen layout in Windows 10
How to disable Ribbon in Windows 10 Explorer →

72 thoughts on “Offline install of .NET Framework 3.5 in Windows 10 using DISM”

uKER October 11, 2014 at 2:05 am

Why go through all that when you can just go to “Turn Windows features on/off” and add Framework 3.5 there?

Hot debate. What do you think? 4  5

Reply ↓

Sergey Tkachenko Post authorOctober 11, 2014 at 9:25 pm

Because it will start to download .NET 3.5 from Internet. Just try yourself.

Well-loved. Like or Dislike: 12  0

Reply ↓

tyler November 17, 2014 at 4:10 pm

thanks man this worked great. I tried multiple other methods but nothing was working for me.

The batch file worked on Win 10 tech preview build 9860 joined to a domain that is doing patch management. I was thinking the domain was causing me grief.

Well-loved. Like or Dislike: 6  0

Reply ↓

David December 3, 2014 at 2:01 pm

Just for your info..I used your batch file on windows 10 build 9888 version 10…worked great thanks

Well-loved. Like or Dislike: 4  0

Reply ↓

Sergey Tkachenko Post authorDecember 3, 2014 at 3:07 pm

Great, hehehe :)

Like or Dislike: 3  0

Reply ↓

Scott December 5, 2014 at 7:32 pm

Perfect! Tried a bunch of half-assed “solutions” and this is the only one that actually worked.

Never even thought of checking the win10 media!

Thanks!

Like or Dislike: 2  0

Reply ↓

Sergey Tkachenko Post authorDecember 5, 2014 at 10:34 pm

Half-assed, haha :D

Glad to help you.

Like or Dislike: 2  0

Reply ↓

ThomaxofT December 8, 2014 at 8:43 pm

Thanks, it worked without a hustle! Used the batch file.

Like or Dislike: 1  0

Reply ↓

Sergey Tkachenko Post authorDecember 8, 2014 at 10:03 pm

Glad to hear

Like or Dislike: 1  0

Reply ↓

Аржаан December 13, 2014 at 5:14 pm

Thank U! Here it is a sensible thing!

Like or Dislike: 1  0

Reply ↓

Tom December 16, 2014 at 5:04 am

Great article, helped me install 3.5 Thanks mate

Well-loved. Like or Dislike: 4  0

Reply ↓

Sergey Tkachenko Post authorDecember 16, 2014 at 9:43 pm

Glad to be helpful

Like or Dislike: 2  0

Reply ↓

Fazil December 26, 2014 at 2:38 pm

It Worked=====================

Thank You Very Much====================

Like or Dislike: 1  0

Reply ↓

Sergey Tkachenko Post authorDecember 27, 2014 at 12:21 am

Enjoy

Like or Dislike: 2  0

Reply ↓

james December 26, 2014 at 3:18 pm

IT WORKED the batch file that is i could not get it to turn on for this one program i wanted to try i am only testing to see if i wanna buy in the future !!!!!!!!!!!!!!! THANKS MAN YOU ROCK

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorDecember 27, 2014 at 12:21 am

heh, you are welcome, man

Like or Dislike: 0  0

Reply ↓

james December 26, 2014 at 3:19 pm

ALSO JUST WANTED TO ADD WINDOWS 10 WAY BETTER THAN WINDOWS 8 AND THANKS FOR YOUR HARD WORK MAN

Like or Dislike: 0  0

Reply ↓

Serioni Silas Che December 30, 2014 at 9:17 pm

Works Perfectly. Thanks

Like or Dislike: 0  0

Reply ↓

obey January 6, 2015 at 8:45 pm

thanks

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorJanuary 7, 2015 at 12:02 am

You are welcome

Like or Dislike: 0  0

Reply ↓

KARAN SADOTRA January 12, 2015 at 12:31 pm

Dude,

It gets stopped at 99.8 % ….

Like or Dislike: 1  0

Reply ↓

Sergey Tkachenko Post authorJanuary 12, 2015 at 6:44 pm

Works here

Like or Dislike: 0  0

Reply ↓

Lee February 10, 2015 at 7:11 pm

Error: 0x800f0907

No Worky… DSIM error

Like or Dislike: 0  0

Reply ↓

Rasel Ahmed February 21, 2015 at 12:25 pm

Hi Dude,

How can I thank you. It worked great. I tried a lot of things but failed.

Thanks a lot.

Like or Dislike: 0  0

Reply ↓

Kerim Can February 25, 2015 at 4:55 pm

Hello, I’ve tried those steps and it didn’t seem to work… :/ It stops loading at %99,8, I’ve even downloaded and tried the batch file too, not working…

Like or Dislike: 0  0

Reply ↓

Kerim Can February 25, 2015 at 5:00 pm

It’s a Windows 10 Build 9926 by the way. Help me please…

Like or Dislike: 0  0

Reply ↓

sartaj ali mahesar March 22, 2015 at 6:00 pm

Thanks a lot Man…..It worked for me on win 10…… God Bless you……………….

Like or Dislike: 0  0

Reply ↓

hossein zebarjadi dana April 14, 2015 at 5:39 pm

tanks a lot .

Like or Dislike: 0  0

Reply ↓

Brian Hudson April 28, 2015 at 8:29 am

Build 10061, doesn’t work. Not the batch file, nor elevated command prompt. Thanks anyway though! Something in the latest build must be wonky…

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorApril 28, 2015 at 12:53 pm

Hmm, thank you Brian.

I will look closer what is wrong with build 10061.

Like or Dislike: 0  1

Reply ↓

Gary L April 30, 2015 at 8:25 pm

It worked for me on build 10074. Everything else I tried did not work, including the group policy changes, or using programs and features to install.

Like or Dislike: 0  0

Reply ↓

Yasmani April 30, 2015 at 8:38 pm

I tried this method on Windows 10 build 10074 and it works perfect. Thanks a lot, you saved my day.

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorMay 1, 2015 at 12:28 pm

Glad to be helpful.

Like or Dislike: 0  0

Reply ↓

codebaby May 2, 2015 at 11:37 am

Worked !!! best script for enabling .net framework 3.5 in Windows Technical preview 10.

Like or Dislike: 1  0

Reply ↓

Matt May 12, 2015 at 8:05 pm

You are the best. Thanks so much.

Like or Dislike: 0  0

Reply ↓

Danyal June 9, 2015 at 1:06 pm

Thanks, script worked for me

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorJune 9, 2015 at 3:14 pm

You are welcome

Like or Dislike: 0  0

Reply ↓

Wawan June 19, 2015 at 10:53 am

very nice. thanks

Like or Dislike: 0  0

Reply ↓

Russell Felty June 20, 2015 at 6:13 pm

Did not work for me in build 10130, got to 100%, then got Error: 0x800f0922

DISM failed. No operation was performed.

For more information, review the log file.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

Like or Dislike: 0  0

Reply ↓

Ted June 23, 2015 at 8:15 pm

Did not work for me either, 98% then died with Error: 0x800f0922

DISM failed. No operation was performed.

For more information, review the log file.

Windows 10 build 10130, with all updates installed from windows updates.

On a company domain, with a windows update service on the network.

Like or Dislike: 0  0

Reply ↓

David June 23, 2015 at 10:37 pm

Same for me… died at 99.0%. Still looking for a solution. Maybe we will just have to wait Microsoft fixes this.

Like or Dislike: 0  0

Reply ↓

David D June 25, 2015 at 10:55 pm

EXCELLENT! THANKS

Like or Dislike: 0  0

Reply ↓

Paul June 27, 2015 at 4:27 am

Thank you so much for this! I have been trying for so long to install .net 3.5 on windows 10.

Like or Dislike: 0  0

Reply ↓

Jonathan July 3, 2015 at 5:20 pm

Thank you Bro. This method worked for me on W10 Build 10130.

Like or Dislike: 0  0

Reply ↓

SNK July 20, 2015 at 1:22 am

thanks. its downloading.

Like or Dislike: 0  0

Reply ↓

Spha July 20, 2015 at 4:38 pm

Thanks a lot

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorJuly 20, 2015 at 4:56 pm

you are welcome

Like or Dislike: 0  0

Reply ↓

David Banos July 22, 2015 at 4:52 am

Doesn’t work on 10240. 3.5 will not install 4.6 cannot be removed

Like or Dislike: 0  0

Reply ↓

Sajjad July 25, 2015 at 9:58 am

Thanks alot

Excelent…

Like or Dislike: 0  0

Reply ↓

Jan Van de Velde July 25, 2015 at 2:15 pm

After searching for hours I finannly found a solution that worked for me:

dism /online /add-package /packagepath:D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab

Well-loved. Like or Dislike: 9  0

Reply ↓

Seth July 31, 2015 at 2:34 pm

Thank you very much. works like magic. thanks again.

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorJuly 31, 2015 at 3:07 pm

You are welcome

Like or Dislike: 0  0

Reply ↓

Aulia Firdaus Simbolon August 1, 2015 at 7:35 am

Oh, great. The internet activation is suck, but the batch command help me to solve this problem. Thanks a lot, dude.

Like or Dislike: 0  0

Reply ↓

Don N August 2, 2015 at 3:43 am

Did not work on 10074 error 0x800f081e – ” specified package is not applicable to this image”. Tried all the methods I found on the WWW to no avail. Down to a re-install to see if some of the other apps I installed have caused this to fail.

/enable-feature fails immediately

/add-package gets to 97% then idles for a bit before it quits with the above error.

Thanks for the hints, glad it worked for so many others.

Like or Dislike: 0  0

Reply ↓

naudtus August 2, 2015 at 7:32 pm

Merci !

Cela a fonctionné parfaitement !

Like or Dislike: 0  0

Reply ↓

MAK August 3, 2015 at 5:39 pm

On final Windows 10 build, this does not work. Adding package does not work either. Neither works the graphical interface to install .NET 3.5.

Seems to be broken for now.

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorAugust 3, 2015 at 7:14 pm

It WORKS on ANY Windows 10 build.

You are doing something wrong, definitely.

The only thing can be broken is the component store of the operating system.

Try to run the following command:

Dism /Online /Cleanup-Image /RestoreHealth

You need to run it from the elevated command prompt.

Like or Dislike: 0  0

Reply ↓

Ed August 3, 2015 at 8:54 pm

I had the same problem with the production build as MAK. I tried the Dism /Online /Cleanup-Image /RestoreHealth and it hung at 20%. I am running from an elevated command prompt…any ideas?

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorAugust 3, 2015 at 9:06 pm

well, try with sfc /scannow

Like or Dislike: 0  0

Reply ↓

Ed August 3, 2015 at 9:13 pm

Hmmm….both methods are failing for me with the following error:

Error 6801

Transaction support within the specified resource manager is not started or was shut down due to an error.

Like or Dislike: 0  0

MAK August 4, 2015 at 9:02 pm

DISM /Online /Cleanup-image /Restorehealth command completes successfully.

Installing .Net 3.5 with DISM command still fails with error: 0x8e5e03fah.

Like or Dislike: 0  0

Reply ↓

XDux August 5, 2015 at 9:54 am

I met this problem ,too…

and I tried every thing as you did,,, never succeeded…

Like or Dislike: 0  0

Reply ↓

MAK August 5, 2015 at 5:17 pm

So this seems to be common issue with the final build. Hopefully the fix will come soon, since I have two critical application requiring older .net libraries.

Like or Dislike: 0  0

Jeff August 5, 2015 at 6:42 pm

SO just fyi..I manually retyped the dism… .line.

It failed at first, complained and told me to use /Source.

I did, but I noticed I had /source (note it was case sensitive!!)

Like or Dislike: 0  0

Reply ↓

SUBHAJIT RAHA August 5, 2015 at 8:02 pm

u r genius

Like or Dislike: 0  0

Reply ↓

EroAlice August 6, 2015 at 8:46 pm

If somehow it is not working for you, use this:

Dism /online /enable-feature /featurename:NetFX3 /All /Source:”D:\sources\sxs\” /LimitAccess

Of course, change the D: to the source drive. What I changed is adding ( ” ) and ( \ ), because for some reason it won’t work on my PC without those.

Like or Dislike: 0  0

Reply ↓

MAK August 6, 2015 at 9:16 pm

Sorry, this won’t help either.

Like or Dislike: 0  0

Reply ↓

regis August 7, 2015 at 9:55 pm

how to make i d ont have my installation usb

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorAugust 8, 2015 at 6:45 pm

Download the official ISO image. It is available for free from Microsoft.

Like or Dislike: 0  0

Reply ↓

Raden August 8, 2015 at 4:25 pm

Thanks It’s Works 100% Use Batch File :)

Like or Dislike: 0  0

Reply ↓

Sergey Tkachenko Post authorAugust 8, 2015 at 6:36 pm

You are welcome.

Like or Dislike: 0  0

Reply ↓

AShish August 9, 2015 at 4:05 pm

Thnx alot!!

It worked…

.

Like or Dislike: 0  0

Reply ↓

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Name *

Email *

Website

Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Advertisements

Subscribe

Subscribe to our free newsletter! Enter your email address:

Privacy and details

Activity

Popular

Latest

Comments

How to fix the error about outdated version of Skype and continue to use older versions
August 2, 2014

How to activate Windows 10 build 10240
July 16, 2015

Unlock external SD Card writing for all apps in Android 4.4 KitKat
March 4, 2014

How to get tabs back in Yahoo! Mail
October 10, 2013

How to disable ads in Skype’s chat window
March 3, 2014

Offline install of .NET Framework 3.5 in Windows 10 using DISM
October 10, 2014

FIX: Mouse pointer sticks on the edge when moving between multiple monitors
April 18, 2014

How to disable Metro edge swipes and touch charms bar gestures for trackpads (touchpads) in Windows 8.1 and Windows 8
January 21, 2014

How to speed up menus in Windows 10 and change the menu delay
August 10, 2015

How to open old Display Settings in Windows 10 (two ways)
August 10, 2015

How to change the size of scrollbars in Windows 10
August 9, 2015

Get classic old Task Manager in Windows 10
August 9, 2015

How to reduce title bar height and size of window buttons in Windows 10
August 8, 2015

Winaero Tweaker 0.3.1 is out, features lots of useful tweaks
August 8, 2015

How to disable Windows Update in Windows 10 RTM
August 7, 2015

How to speed up the Start menu in Windows 10
August 6, 2015

Sergey Tkachenko
I will do

MDJ
It would be handy but Autoruns for this purpose is far much better.

RKO
You can add this to winaero tweaker.

RKO
Very Useful Application....

phly95
So the basic setting says "basic error reporting." Do you know what th[...]

sid
Yes you can!
Easiest way is to take a .theme file from a windows 7 PC that you&[...]

Bud
I just used this page to disable the dast boot sequence on my Dell XPS-8700 mach[...]

Sergey Tkachenko
The application is clean. Norton Antivirus is fucking shit.
Especially its "[...]

Categories

Android

Articles

C#

Classic Shell

Dropbox

Email

Firefox

Giveaway

Google

Google Chrome

Hardware

Internet Explorer

Linux

Microsoft Office

Microsoft Surface

MS Office

Opera

Scripts and tweaks

SkyDrive

Skype

Software

Thunderbird

Uncategorized

Vivaldi

Wallpapers

Winaero Tweaker

Windows

Windows 10

Windows 7

Windows 7 Themes

Windows 8

Windows 8 Themepacks

Windows 8 Themes

Windows 8.1

Windows 9

Windows Accessories

Windows Blue

Windows File Explorer

Windows sounds

Wordpress

Youtube

Tags

3D
Abstract
Animals
Bing
Black theme
Buildings
Christmas theme
City
Colorful
command line
command prompt
customize vivaldi browser
Dark theme
download winaero tweaker
Explorer
Fantasy
File Explorer
Firefox
Flowers
Forest
Google Chrome
How-to
ie11
Internet Explorer
Landscapes
Metro
Mozilla Firefox
Nature
Night
Sea
Sky
Space
Start menu
Start Screen
Taskbar
Task Manager
visual style
vivaldi browser
Water
Windows 7
Windows 8
Windows 8.1
Windows 8.1 Update
Windows 10
Windows Explorer

© Winaero.com.