i tried , it says... Microsoft Windows [Version 6.2.9200] (c) 2012 Microsoft Corporation. All rights reserved. C:\Windows\system32>Dism /online /enable-feature /featurename:NetFx3 /All /Sourc e:\sources\sxs /LimitAccess Deployment Image Servicing and Management tool Version: 6.2.9200.16384 Image Version: 6.2.9200.16384 Enabling feature(s) [===========================65.8%====== ] Error: 0x800f081f The source files could not be found. Use the "Source" option to specify the location of the files that are required t o restore the feature. For more information on specifying a source location,. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log C:\Windows\system32>... help me
Code: dism.exe /online /enable-feature /featurename:NetFX3 /Source:X:\sources\sxs /LimitAccess where X:\ is the Path to your Windows 8 files, CD, Mounted ISO or extracted to a folder.. whatever
awesome! I hated to install .net 3.5 online just to connect my xbox 360 controller when installing the driver just a question? I did your suggestion with 8's files in a pen drive and it went too fast like 2 seconds to 100%, is it that fast? cheers.
i can confirm it works, but not permanently on new installs, I need to do the dism thing everytime I install W8 and adding .net 3.5 with turn windows features on or off or through directx setup, or games for windows live to name some apps that need 3.5 and trigger the installer anyway offline is way better than online, takes forever to get big files with this connection (3Mbit) and the default online installer, just like directx's web installer gta iv made me learn this
I don't know about directx... but for sure turning on feature in of netfx 3.5 in install.wim will avoid this installation on every reinstall of win 8
yep I did that itself work like charm... and if trying to install from the offline package it says that to run this application u require netfx 3.5... and asks if the user wants to turn that feature on
Is there a way to do this by downloading the needed files. I have an all in one batch script for manipulating the wims and it would be better if i didn't need the sxs folder. I just have the needed wims where i need them and i don't want to have to bother with the other files in the sources directory. Instead of Dism /image:%mount% /enable-feature /featurename:NetFX3 /Source:\sources\sxs /LimitAcces something like Dism /image:%mount% /enable-feature /featurename:NetFX3 /ALL to force it to get the needed files online. This is what i have so far. I would also love to know if there is a way to run this and have it repeat the script but have it do it to the next index automatically without having to repeat all the code for every index. I currently run it fro an autoit exe that writes the new index to the bat and repeats the script. Code: @echo off set mount=%~dp0MOUNT md %mount% set "details=%TEMP%\detail.log" set "indexlog=%TEMP%\index.log" set imagex=%TEMP%\imagex.exe set index=1 set "WimSource=%~dp0sources\install.wim" :START Dism /unmount-wim /mountdir:%mount% /discard Dism /get-wiminfo /wimfile:%WimSource% > %indexlog% Dism /get-wiminfo /wimfile:%WimSource% /index:%index% > %details% setlocal EnableDelayedExpansion set "cmd=findstr /R /N "^^" %indexlog% | find /C "Index"" for /f %%a in ('!cmd!') do set indexs=%%a if exist %details% ( FOR /F "tokens=* skip=2 usebackq" %%a IN (`FIND "Architecture" %details%`) DO ( set str=%%a for /f "tokens=2 delims=: " %%b in ('echo !str!') do ( set arch=%%b )) ) if exist %details% ( FOR /F "tokens=* skip=2 usebackq" %%a IN (`FIND "Edition" %details%`) DO ( set str=%%a for /f "tokens=2 delims=: " %%c in ('echo !str!') do ( set Edition=%%c )) ) if exist %details% ( FOR /F "tokens=* skip=2 usebackq" %%a IN (`FIND "Version" %details%`) DO ( set str=%%a for /f "tokens=2 delims=: " %%d in ('echo !str!') do ( set Version=%%d )) ) echo %VERSION% | find "6.2" > nul if %ERRORLEVEL% == 0 goto :WIN8 echo %VERSION% | find "6.1" > nul if %ERRORLEVEL% == 0 goto :WIN7 :Win7 set OS=7 goto :UPDATE :Win8 set OS=8 goto :UPDATE :UPDATE set Description=Windows %OS% %Edition% %arch% (%Date%) rem cls set "Drivers=c:\WIM\%OS%\Drivers" set "Updates=c:\WIM\%OS%\Updates" Dism /Get-WimInfo /WimFile:%WimSource% echo %indexs% Install.wim indexes found. echo The install.wim index %index% is Windows %OS% %Edition% %arch% %Version% echo The index will be renamed to %Description% echo The install.wim is %WimSource% echo Drivers are in %drivers%\%arch% echo Updates are in %Updates%\%arch% echo. pause Dism /Mount-Wim /WimFile:%WimSource% /index:%index% /MountDir:%mount% rem Dism /image:%mount% /Enable-Feature /FeatureName:NetFx3 /ALL rem Dism /image:%mount% /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /LimitAcces Dism /image:%mount% /Add-Driver /driver:%drivers%\%arch% /recurse /forceunsigned Dism /image:%mount% /Add-Package /PackagePath:%Updates%\%arch% Dism /image:%mount% /Add-Package /PackagePath:%Updates%\%arch%\EXTRAS Dism /Unmount-Wim /MountDir:%mount% /commit
I did this in 32bit version of windows 8 over and over again and it worked but not with the 64bit version of windows 8 can you help? thanks. EDIT: works now thanks for all..
Command is: dism /Image:X:\win8_temp /Enable-Feature /FeatureName:NetFx3 /Source:X:\sources\sxs Adjust drive letters 'X:\' and directories 'win8_temp' accordingly.
cmds: Dism /mount-wim /wimfile:X:\sources\install.wim /index:1 /mountdir:C:\mount Dism.exe /Image:C:\mount /Enable-Feature /FeatureName:NetFx3 /All /Source:X:\sources\sxs Dism /unmount-wim /mountdir:C:\mount /commit Adjust drive letters X: accordingly Thanks @mictlan.
Does not work, get error message Maybe someone can make a simple automatic script for this? And the description of the folder placement.
Copy this code into notepad and save as Netfx3.cmd, you will need to replace the X with the drive letter of your dvd drive that has the windows 8 installtion disc in it... Code: CD C:\Program Files\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools DISM /Mount-Wim /WimFile:C:\WMC\install.wim /index:1 /MountDir:C:\WMC\mount Dism /image:C:\wmc\mount /enable-Feature /Featurename:NetFx3 /all /Source:K:\sources\sxs Dism /unmount-WIM /MountDir:C:\WMC\mount /Commit pause Create a folder "c:\WMC" - copy the Netfx3.cmd file into it and then copy install.wim into the same folder. Create another folder called "mount" within the c:\WMC folder. You should have this c:\WMC Install.wim NetFx3.cmd Mount Next run your Netfx.cmd (ran as administrator) and it will do it for you...
Thanks it worked. Is much easier with such auto complete script with explanation of folder placement like this. Any such automatic script is gold worthy and should have been collected in a place where it is easy to understand for those who are not good with typing command in cmd, like me
Thank you so much Moderate for your info. I installed dism, sdk adk etc and ran the code you posted and i now have win8 x86 pro and win8x64 pro both with dotnetfx35 pre installed when i do a fresh install. works perfectly, much appreciated, i just hated the "windows must download files etc" everytime i installed software lol