Jump to content

Recommended Posts

Posted

Hello,

can somebody help me.

When i use the statement RUN("tsdiscon") for disconnect a RDP Console i get a black screen on the Client.

Is there a way or a statement to disconnect the RDP session without a black screen?

EyesOnly

Posted

Tried:

Run(@ComSpec & " /c " & 'tsdiscon', "", @SW_HIDE)

instead?

Both work fine for me, but this one hides the command window that pops up right before disconnect.

what did you mean with "instead?".

When i use this command, there is no action.No command window

Posted

this command does not work for me.

The Client (ThinClient) display a black screen.

The button "Disconnect" in the windows menu works. The session will be disconnected and the client display the login Screen.

Is the somebody how knows the command from this button???

EyesOnly

Posted

what did you mean with "instead?".

When i use this command, there is no action.No command window

Instead of just RUN("tsdicon") have you tried the code I suggested.

There's no command window due to @SW_HIDE, which I thought you might want.

this command does not work for me.

The Client (ThinClient) display a black screen.

The button "Disconnect" in the windows menu works. The session will be disconnected and the client display the login Screen.

Is the somebody how knows the command from this button???

EyesOnly

What's the Client? Version of RDP? Terminal Server version?

That is the command, so if you're getting a blank screen on the client, the problem is most likely with that and not autoit, it just runs the command.

Try pasting your whole code and an explaination of what you're trying to do.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...