Autotype macro in command line

Autotype macro in command line

avatar

Hello,

I'm trying to setup an autotype macro for a command line. The command line is the following:

runas /netonly /user:DOMAIN\Administrator "mmc dsa.msc /domain=DOMAIN"

DOMAIN ist replaced by the real domain of our customer.

I've also setup an autotype macro in the events with:

$PASSWORD${ENTER}

Unter "Security" I also enabled "Allow passwords in variables".

The problem is, that the password is filled in as $PASSWORD$. I changed the command line to "cmd" and the macro to "$PASSWORD$ $USERNAME$". The username is shown as administrator, the password as $PASSWORD$.

Am I missing something?

Edit: When I leave out the macro and type the password manually it works.

Regards,
Benjamin Kechler

All Comments (1)

avatar

Ok, I found it myself :) I use SQL Server as the Datasource. You can enable "Allow password in macro "send keys" under the Data Source Settings in Password Policy.