<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows' in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcHostDisk-Could-not-load-file-or-assembly-System-Security-Principal-Windows/m-p/463281#M45159</link>
    <description>&lt;P&gt;Hello all - I'm starting out scripting on some Windows Servers that have connected LUNs, and when trying to use Get-NcHostDisk, I get this error:&lt;/P&gt;&lt;P&gt;Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral,&lt;BR /&gt;PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a .NET Framework (or some other) requirement that I'm missing? I can't find any dependency info on what it may be looking for. This is running on Windows Server 2022, and I've tested with the two latest versions of the netapp.ONTAP module (9.16.1.2501 and&amp;nbsp;9.17.1.2509).&lt;/P&gt;&lt;P&gt;Commands such as Get-NcVol work fine so I know I'm connected.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 21:24:13 GMT</pubDate>
    <dc:creator>TimothyB</dc:creator>
    <dc:date>2025-09-19T21:24:13Z</dc:date>
    <item>
      <title>Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows'</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcHostDisk-Could-not-load-file-or-assembly-System-Security-Principal-Windows/m-p/463281#M45159</link>
      <description>&lt;P&gt;Hello all - I'm starting out scripting on some Windows Servers that have connected LUNs, and when trying to use Get-NcHostDisk, I get this error:&lt;/P&gt;&lt;P&gt;Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral,&lt;BR /&gt;PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a .NET Framework (or some other) requirement that I'm missing? I can't find any dependency info on what it may be looking for. This is running on Windows Server 2022, and I've tested with the two latest versions of the netapp.ONTAP module (9.16.1.2501 and&amp;nbsp;9.17.1.2509).&lt;/P&gt;&lt;P&gt;Commands such as Get-NcVol work fine so I know I'm connected.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 21:24:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcHostDisk-Could-not-load-file-or-assembly-System-Security-Principal-Windows/m-p/463281#M45159</guid>
      <dc:creator>TimothyB</dc:creator>
      <dc:date>2025-09-19T21:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcHostDisk : Could not load file or assembly 'System.Security.Principal.Windows'</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcHostDisk-Could-not-load-file-or-assembly-System-Security-Principal-Windows/m-p/463580#M45182</link>
      <description>&lt;P&gt;Please confirm your PowerShell version so I can provide more targeted guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster-side cmdlets such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Get-NcVol&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;communicate directly with the ONTAP API over HTTPS and do not rely on local OS assemblies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In contrast,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Get-NcHostDisk&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;queries local Windows disk information and merges it with ONTAP LUN mapping data. This process requires certain .NET assemblies to be present and, in some cases, the NetApp Windows Host Utilities to be installed.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 07:44:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-NcHostDisk-Could-not-load-file-or-assembly-System-Security-Principal-Windows/m-p/463580#M45182</guid>
      <dc:creator>AnubhavRawal</dc:creator>
      <dc:date>2025-10-11T07:44:36Z</dc:date>
    </item>
  </channel>
</rss>

