Macro Windows logon in a Teamviewer profile

Macro Windows logon in a Teamviewer profile

avatar

How does a typical macro look like, for a Windows logon in a Teamviewer profile?
Ie. I connect with to a customer with my Teamviewer profile. After that I want to login to the server with my Windows user/password.
How do I create a macro to do this automaticly?
There should be a typical macro string that I can copy and modify. Perhaps different strings, depending on Windows version etc.

All Comments (15)

avatar

Hi,
Usually I test my macro in an embedded notepad.exe. It looks like this

username{Tab}password{Enter}

David Hervieux

avatar

Hi!
The PC is a Win7 Enterprice, with mean you first press CTRL-ALT-DEL. After that, you choose if you want to login with the logged on user or with an other user. Last, you type your password.
In edit customer, I tried to use the tab Events/After Connection to type my macro.
I tried {CTRL-ALT-DEL}{ENTER}"password"{ENTER}, but nothing happens. If I press the Teamviewer-button Ctrl+Alt+Del, I can choose user, but the macro doesn't even seem to get passed the CTRL-ALT-DEL.

avatar

Hi,
I think that I remember a problem where Team Viewer does not accept the macro. Could you try to manually send the Ctrl+Alt+Delete and execute a dummy macro from Home->Macro/Script -> Execute in previous Window

David Hervieux

avatar

I can't get it to do anything. I tried your way above, but no difference. I can't get it to do CTRL-ALT-DEL or choose user with ENTER or type anyting in the password field. Is this because it's a Teamviewer Connection?

avatar

Does it work in a notepad document?

David Hervieux

avatar

I'm not sure how you mean. Where should I put the notepad doc? What should I do with it?

avatar

just open notepad on the side and execute the macro on it to see if the data is sent

David Hervieux

avatar

Hi! I managed to write the password on the notepad with my macro. You can also see that it executes an "enter". But there's no sign of the ctrl-alt-del on the notepad. I expect that that's in order?
Anyway, I can now use macro on the Teamviewer connection to write the password and press enter (I don't know what I made wrong before), but it still doesn't accept the CTRL-ALT-DEL. What can I do about that?

avatar

David Hervieux

avatar

How do you mean?
I've tried the following:
{CTRL-ALT-END} error frpm Remote Desktop Manager: Not a macro
{CTRL+ALT+END} error frpm Remote Desktop Manager: Not a macro
CTRL-ALT-END Nothing happens the teamviewer connection, in notepad it prints CTRL-ALT-END
CTRL+ALT+END Nothing happens the teamviewer connection, in notepad it prints CTRL

avatar

I don't have any solution for now. I see there that's a special command to send the Ctrl+Alt+Delete in TeamViewer:

http://www.afterdawn.com/guides/archive/remote_assistance_with_teamviewer.cfm

This means that it must not be possible to send it directly.

David Hervieux

avatar

OK.
But if it isn't possible to send CTRL+ALT+DEL through the teamviewer Connection, it should be possible to tell the Teamviewer app to send it (since there is a button for it).

avatar

There is no communication channel between RDM and TV. They don't expose any API that we could invoke so I will not know how to invoke the button.

David Hervieux

avatar

Our organization uses the same sessions in different departments. We've created teamviewer subconnecties on the RDP sessions. Enabled the 'Allow password variable'. In the events tab we've enabled a link which will type in the $PARENT_PASSWORD$. The only switch we didn't get to work is the Ctrl+Alt+Del.

Are there any new developments on this subject to enable Ctrl+Alt+Del in the teamviewer window?

avatar

Hi,
Unfortunately we are still unable to send this specific keystrokes to Team Viewer.

David Hervieux