Bypass legal notice prompt

avatar

What I'm referring to here is when logging onto a server and it is configured to show a legal notice/banner where you must press an OK button before proceeding to logon to the server. All our servers are configured this way. I was looking for a way to automatically press the OK button to continue the login.

I've tried using Events - After Connection - Execute Automatically and running a typing macro to simply send an Enter keypress. This DOES work, but the problem is having to set a delay time. With thousands of servers in our environment, the time required to start up a session varies significantly. Sometimes it can start up within 3-4 seconds, other times it may be 20-30 seconds. Obviously if I set the time too short then it does not work and is useless, if I set it long enough to catch all of them then most of the time I'm just sitting there waiting on the keypress to happen.

Just wondering if there was something I've overlooked in RDM that could actually detect when the legal notice appears and THEN press the button (send an ENTER keypress) or if it's something that could be feasible as a feature request.

Thanks

All Comments (5)

avatar

Just to be more clear, I'm referring to the legal notice that is configured in the registry at
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogin\LegalNoticeText
or via domain policy. This notice appears after you press Ctrl-Alt-Delete to log on, but before the username/password prompt.

avatar

Hi,
Stefane already tried without success. We keep this problem in mind and if we find something, we will add it for sure. Sorry about that.

David Hervieux

avatar

Ok. I mainly wanted to make sure I hadn't overlooked some way to do it that was already available. But if you do figure out a way to do it then that would be great too. :)

Thanks

avatar

Hello
I would like to know if we can now bypass this notice on version 12.5.4?

Thx

avatar

I don't think it possible. Have you tried the macro command executed after connect?

Regards

David Hervieux