Server 2016 MDT Deployment of Dot NET 4.0 to Windows 10 Pro

Mike Kerr 1 Reputation point
2022-05-11T15:41:24.613+00:00

I've been getting stuck trying to deploy .Net 4.0 Framework to our new workstations using MDT. I've tried using a script, tried it as part of the application installation part of MDT and can't seem to locate a tried and true documented method to make it work correctly.
Current error is:
Unexpected return code: 2
Litetouch deployment failed, Return Code = -2147467259 0x80004005
Client push lock file found
CreateProcess failed. Code(0x80070002)
Any good recommendations?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,374 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,371 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
828 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amandayou-MSFT 11,046 Reputation points
    2022-05-12T06:38:44.64+00:00

    Hi @Mike Kerr

    These errors may show nothing, it is not the specific error.

    May we know how the install command is written, please let we know.

    If the command use the usual dotnetfx40_full.exe /q /norestart, please substitute the /q (quiet) with /passive.
    For example, dotnetfx40_full.exe /passive/norestart

    Here is the related article we could refer to:
    https://vhorizon.co.uk/installing-dotnet-framework-4-with-mdt/
    Note: Non-Microsoft link, just for the reference.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.