multiOTP / multiOTPCredentialProvider

multiOTP Credential Provider is a V2 Credential Provider for Windows 7/8/8.1/10/2012(R2)/2016 with options like RDP only and UPN name support
Apache License 2.0
232 stars 77 forks source link

Silent remote install #23

Closed qzem closed 4 years ago

qzem commented 4 years ago

Hi!

Are there any news about the msi installer. I've found an issue from 2018 where it was mentioned that installer will be available soon. If you don't have a msi installer ready, is there any other way to install MultiOTp Client Provider from command line, so I could push it with some tool? I've tried copying complete folder multiOTP from one computer where I have installed it manually and I have also copied multiotpClientProvider.dll from system 32, and I have imported registry files. Everything goes trough but client provider doesn't start. I can still logon with password only, there is no OTP field on login screen.

Thank you in advance.

Kind regards,

Q

qzem commented 4 years ago

I've tride this command:

multiOTPCredentialProvider-5.6.1.5.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

But The installer hangs in the background. I discovered later, that this happens because even with all those switches if I run this from cmd, I get straight to the windows where I am supposed to test OTP login (screenshot attached). And that is why the remote install won't go trough because it hangs during this process where it wants to open this windows. The install should go trough without this test windows.

Any ideas how to bypass this? screenshot 194

multiOTP commented 4 years ago

Hello, the exe installer is written in this way to be sure that if somebody is installing the Credential Provider, a functional test is done before installing the Credential Provider. For silent install, an MSI will be available soon (Q1-2020) Regards,

qzem commented 4 years ago

Thank you for explaining. I am just wondering if there is maybe workaround for this until the msi is available?

multiOTP commented 4 years ago

Hello Q,

Workaround is available here (/silent and /verysilent supported)

Thanks in advance for your feedback !

Regards,

A.

qzem commented 4 years ago

Thank you very much. It is working great. I have only on minor complaint. When I try to login as other user, the domain is not recognized automatically so I have to enter username like this "domain\username". Is it possible to setup something in the registry so that domain would be recognized?

multiOTP commented 4 years ago

Already done in release 5.6.1.5 : ENH: Optional manual default computer/domain setup

As described in the readme, the registry entry is multiOTPDefaultPrefix : [Default computer/domain, default is '']. multiOTP use automatically the domain name as default, or computer name if the computer is not in a domain. You can set here a manual default computer/domain, like for example '.'

multiOTP commented 4 years ago

Hi Q, Does it work for you ? If yes, please close the ticket. Regards, A

qzem commented 4 years ago

It is working. Thank You.