hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Bad path for System.Net.IPNetwork.dll

Open ReedK-DFT opened this issue 3 years ago • 0 comments

Describe the bug When doing a user investigation, getting the error:

Loading Networking functions from C:\Program Files\WindowsPowerShell\Modules\HAWK\3.0 .0\System.Net.IPNetwork.dll Exception calling "LoadFile" with "1" argument(s): "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" At line:38 char:9

  •     [Reflection.Assembly]::LoadFile($dll)
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : FileNotFoundException

The file mentioned is actually at: C:\Program Files\WindowsPowerShell\Modules\HAWK\3.0 .0\Bin\

Copying the file from \Bin to \ removes the error.

To Reproduce Run Start-HawkUserInvestigation -UserPrincipalName

Additional context I've uninstalled and reinstalled the module, but the issue persists

ReedK-DFT avatar Jun 09 '22 20:06 ReedK-DFT