Skip to content

[Issue] - Cannot find type [TcpListenerEx]: verify that the assembly containing this type is loaded. #28

Description

@FireHelmet

Hello @DarkCoderSc ,

I'm trying to run PowerRemoteDesktop_Server module on Windows 10 (1909) and Windows Server 2016, both have powershell 5.1 but I encounter an issue when I run :

Invoke-RemoteDesktopServer -ListenAddress "0.0.0.0" -ListenPort 2801 -SecurePassword (ConvertTo-SecureString -String "P@ssw0rd!2022" -AsPlainText -Force)

Power Remote Desktop Server- Version 4.0.0
Jean-Pierre LESUEUR (@DarkCoderSc) ###
https://www.github.com/darkcodersc
https://www.phrozen.io

License: Apache License (Version 2.0, January 2004)
https://www.apache.org/licenses/

Loading remote desktop server components...
VERBOSE: Initialize new session manager...
VERBOSE: Custom X509 Certificate not specified.
VERBOSE: Generate and Install a new local X509 Certificate.
VERBOSE: Certificate was successfully installed on local machine. Opening...
VERBOSE: @Certificate:
VERBOSE: [Subject]
  CN=PowerRemoteDesktop.Server, O=Phrozen, L=Maisons Laffitte, S=Yvelines, C=FR, OU=Freeware

[Issuer]
  CN=PowerRemoteDesktop.Server, O=Phrozen, L=Maisons Laffitte, S=Yvelines, C=FR, OU=Freeware

[Serial Number]
  128F02D94D36849B471C1963CAC549D2

[Not Before]
  4/10/2022 1:54:43 PM

[Not After]
  4/11/2023 1:54:43 PM

[Thumbprint]
  2819E5C755CCFA6302743B994719D9AE24EF1DBE
VERBOSE: ---
VERBOSE: Session manager initialized.
Remote desktop was closed.
New-Object : Cannot find type [TcpListenerEx]: verify that the assembly containing this type is loaded.
At line:32 char:18
+         return @(& $origNewObject @psBoundParameters)
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

Many thanks for this tool and for your support!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions