EyesOnly Posted August 11, 2010 Posted August 11, 2010 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
AJStevens Posted August 11, 2010 Posted August 11, 2010 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.
EyesOnly Posted August 12, 2010 Author Posted August 12, 2010 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
EyesOnly Posted August 12, 2010 Author Posted August 12, 2010 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
AJStevens Posted August 16, 2010 Posted August 16, 2010 what did you mean with "instead?".When i use this command, there is no action.No command windowInstead 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???EyesOnlyWhat'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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now