.Net Framework installed on Windows Server 2019

Duchemin, Dominique 2,006 Reputation points
2022-02-11T20:33:36.8+00:00

Hello,

How do I check the installation of Microsoft .Net 4.7 and above on a windows Server 2019 using SCCM Query/Report?

173692-2022-02-11-12-15-05-microsoft-net-framework-bipeps.png
173640-2022-02-11-12-42-49-microsoft-net-framework-regist.png
I do not see it in Control Panel

173701-2022-02-11-12-17-30-control-panel-missing-net-fram.png

Confirmed by the query:

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

Select Distinct
v_R_System.Name0 as 'Server Name',
v_R_System.AD_Site_Name0 as 'Location',
v_R_System.Resource_Domain_OR_Workgr0 as 'Domain',
v_Add_Remove_Programs.DisplayName0 as 'App Display Name',
v_Add_Remove_Programs.Version0 as 'App Version'
From v_R_System
Inner Join v_Add_Remove_Programs on v_R_System.ResourceID = v_Add_Remove_Programs.ResourceID
Where (V_Add_Remove_Programs.DisplayName0 Like 'Microsoft .Net Framework%')
and v_R_System.Name0 in ('BIPEPSISQL1', 'VIPEPSIAPP1', 'VIPEPSIRS1', 'VIPEPSIWS1', 'VIPEPSIWS2', 'VIPEPSIWS3', 'SITEPSISQL1', 'VITEPSIRS1', 'VITEPSIWS1')

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

0 reported...

Try this:
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Version
I am getting the release and version number but will need to integrate it in a report in SCCM now?

Thanks,
Dom

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 49,311 Reputation points Microsoft External Staff
    2022-02-14T03:04:32.857+00:00

    Hi, @Duchemin, Dominique

    Thank you for posting in Microsoft Q&A forum.

    Since .NET 4.7: Microsoft .NET Framework 4.7 is available on Windows Update, WSUS, and MU Catalog:
    https://devblogs.microsoft.com/dotnet/microsoft-net-framework-4-7-is-available-on-windows-update-wsus-and-mu-catalog/

    So it could be under: Control Panel - Uninstall a program - View installed updates, it should display like KBxxxxxxx per your OS edition.

    You may use a custom MOF file to get DOTNET framework details:
    https://tcsmug.org/blogs/sherry-kissinger/422-dot-net-frameworks-mof-edit


    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.

    1 person found this answer helpful.

  2. Duchemin, Dominique 2,006 Reputation points
    2022-02-19T01:43:17.067+00:00

    @AllenLiu-MSFT

    Thanks since .Net is properly collected by
    (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
    (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Version

    I will try to get this statements in a report

    Thanks,
    Dom

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.