How do I solve the .NET Framework 3.5 installation error 0x80070002?

Renma 1 Reputation point
2022-08-02T02:26:06.94+00:00

I have tried too many ways to solve the issue but it always end up with the same line "The system cannot find the file specified." the error 0x80070002

i have tried this method by the way (didn't work) https://www.kapilarya.com/how-to-enable-net-framework-3-5-on-windows-10 (got the same error).

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,650 questions
{count} votes

6 answers

Sort by: Oldest
  1. Ajay Mahajan 6 Reputation points
    2022-08-02T07:15:06.077+00:00

    Hello,

    If you have OS ISO file with you then you can copy the dot net file from here **D:\sources\sxs\ and copy somewhere in the sharable path to become accessible via UNC path.

    227094-image.png

    227123-image.png


  2. Docs 13,091 Reputation points
    2022-08-02T14:17:17.58+00:00

    See if running the net framework repair tool makes any difference.

    Reregister Windows Installer service
    Unregisters and re-registers the Windows Installer service using MsiExec.exe. Applicable regardless of the diagnosis results.

    Restart Windows Installer service
    Stops and restarts the Windows Installer service. Applicable regardless of the diagnosis results.

    https://www.microsoft.com/en-us/download/details.aspx?id=30135

    https://download.microsoft.com/download/2/B/D/2BDE5459-2225-48B8-830C-AE19CAF038F1/NetFxRepairTool.exe

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .


  3. Docs 13,091 Reputation points
    2022-08-03T04:28:38.893+00:00

    1) Run:

    (bat scripts by design prompt antivirus software and require manual overrides)

    https://www.tenforums.com/attachments/bsod-crashes-debugging/360137d1645183388-batch-files-use-bsod-debugging-tuneup_plus_log.bat

    Post a share link into this thread using one drive, drop box, or google drive.

    2) Open administrative command prompt and copy and paste:

    msdt.exe -id WindowsUpdateDiagnostic

    Click view detailed information > post images or share links into this thread

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .


  4. Limitless Technology 37,526 Reputation points
    2022-08-03T07:10:55.23+00:00

    Hi there,

    The error code "0x80070002" often means the file or folder cannot found, you could take the following methods to see if there are any system errors and repair missing or corrupted system files.

    1. Use System File Checker to repair damaged Windows files

    Open an elevated command prompt.
    Run the "sfc /scannow" command.

    1. Run the DISM tool to check and repair the Windows Update corruption errors

    Open an elevated command prompt.
    Run the command:DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
    Replace the C:\RepairSource\Windows placeholder with the location of your repair source.

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    ----------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--


  5. Miguel A. Nieves 1 Reputation point
    2022-08-04T12:40:17.61+00:00

    On the local machine go to Edit Group policy>> Computer Configuration>>Administrative templates>>System
    on the drop down list scroll almost all the way to the bottom and select Specify settings for optional component installation.....

    in this window select Enabled and check the box Download repair content and optional features directly from Windows....

    next search turn windows features on /off and check 3.5 framework allow windows to find updates. 

    Once its done updating be sure to disable this setting in local group policy.