How can I update Update .net 6.0 with Microsoft Update Service

Popp, Jochen (DI FA TI AIT) 0 Reputation points
2023-03-01T07:51:08.8866667+00:00

On a windows server 2016 we have update an application. Now we have .net 6.0.12 components.

What can I do, that these components automatically update with windows update service.

I read this: Add [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET\6.0] “AllowAUOnServerOS” dword:00000001

But I have not this path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET\6.0

Must I add the completely (key with path)?

Not only the key AllowAUOnServerOS?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
    2023-03-02T06:38:22.21+00:00

    Hi @Popp, Jochen (DI FA TI AIT)

    The there is a separate sub key under "Microsoft" called “.NET”, instead of "Microsoft.NET". Check this screenshot:

    image

    You can add the .NET, 6.0 key and the AllowAUOnServerOS key by yourself. Or create a .reg file with the following command:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NET\6.0] "AllowAUOnServerOS"=dword:00000001
    

    Refer to this article: .NET Automatic Updates for Server Operating Systems.


    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.

    Best regards,

    Dillion

    0 comments No comments

  2. Popp, Jochen (DI FA TI AIT) 0 Reputation points
    2023-03-15T14:15:17.3066667+00:00

    I set the key, but even after the microsoft patch day, .net was not updated.

    0 comments No comments

  3. Popp, Jochen (DI FA TI AIT) 0 Reputation points
    2023-03-15T14:15:34.0066667+00:00

    regestry

    0 comments No comments