Hello there!

Need Help? We are right here!

support
miniOrange Email Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com

Two Factor Authentication (2FA) for Windows Logon and Remote Desktop(RDP)

Logon to Windows and Remote Desktop(RDP) using miniOrange ​two factor authentication(2FA) Credential Provider.

​Two Factor Authentication(2FA/MFA) ​for Windows Logon and RDP Access

Two Factor Authentication (2FA/MFA) for Windows logon prevents the Password Based Attacks. Windows 2FA always verify identities before allowing access, making it more difficult for unauthorized users to gain access to your Microsoft Windows account. miniOrange Credential Provider can be installed on Microsoft Windows Client and Server operating systems to enable the Two Factor Authentication to Remote Desktop and local Windows Login. Windows 2FA solution is also responsible for your User Management with an Active Directory or an LDAP Directory. Users will get easy access to the apps and endpoints they need to access by increasing the identity assurance and reducing the risk and exposure.

miniOrange 2FA Credential Provider for Windows Logon and Remote Desktop (RDP) Access supports following multi-factor Authentication Methods -

  1. miniOrange Push (miniOrange Authenticator App)
  2. miniOrange Soft Token (miniOrange Authenticator App)
  3. Google Authenticator
  4. OTP Over SMS/EMAIL
  5. Hardware Token

System Requirements for miniOrange Two Factor Authentication (2FA) Credential Provider

miniOrange Credential Provider for Windows Logon and RDP Access supports both client and server operating systems.

miniOrange Two Factor Authentication(2FA/MFA) Credential Provider for Windows Logon also requires .NET Framework 4.5 or later. If the correct .NET version is not present on your system then miniOrange Credential Provider setup prompts you to install the .NET Framework.

miniOrange 2-Factor Authentication(2FA/MFA) Credential Provider can also be installed via group policy software publishing and Group policy administrative templates.


miniOrange 2FA Credential Provider for Windows Logon and RDP video reference.




Step 1: Setup miniOrange Two Factor Authentication(2FA/MFA) Credential Provider for Windows Logon

    Contact us at idpsupport@xecurify.com to get trial version of the miniOrange Credential Provider for Windows Logon installer package.


  1. Go to the folder where you have "mOCredentialProvider.msi" file downloaded. Double Click and it will take you to the installation window. Click on Next.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider install wizard

  2. Choose the installation path and click on Next.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider wizard select

  3. Now the installer is ready to install miniOrange Two Factor Authentication(2FA/MFA) Credential Provider for Windows Logon. Click on Next button.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider confirm install

  4. Wait until the installation process gets completed.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider install

  5. Once the Installation is completed. Click on Close to exit.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider install complete

  6. Go to the installation path of miniOrange Credential Provider application and double click on "pGina.Configuration" file.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider select file

  7. Make sure "miniOrange service" status is running and in the "Credential Provider/GINA status" section the "Registered" and "Enabled" are "Yes".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider status run

  8. Copy customer details.
    • If you are using our miniOrange Cloud IDP server:
      Login into miniOrange console with your customer account and goto "Product settings". Copy the "Customer Key" and "Customer API Key" and keep it with you.

      Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider mo setting

    • If you are using on-premise IDP server:
      Login into your on-premise IDP server account and goto "Product settings" section. Copy the "Server Base URL", "Customer Key", and "Customer API Key" and keep it with you.

      Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider on-premise setting

  9. Now go to the "Plugin Selection" tab. Select "2FAAuthPlugin" from the "Current Plugins" list and double click on it.

    Two Factor Authentication(2FA/MFA)for Windows Logon RDP-Windows Credential Provider plugin select

  10. Provide the values copied in above step to the 2FA Plugin Configuration windows..
    If you are using our miniOrange Cloud IDP server then "IDP server URL" will be "https://login.xecurify.com/moas" else provide the "Server Base URL" copied in above step.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider copy details

  11. Select LDAP plugin from the "Current Plugins" and double click on it.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider ldap

  12. Configure your LDAP Server details accordingly and hit the Save button.
    • LDAP Host(s) : IP address/FQDN of your LDAP server.
    • Search DN : Userprinicpalname attribute value of the User account which do have the necessary domain permissions to connect and search the LDAP directory.
    • Search Password : Password of the above specified User account.
    • In the "Authentication" section, enable "Search for DN" checkbox.
    • Search Filter : samaccountname=%u
    • Search Context(s) : DistinguishedName value of the container which contains all your user accounts present in the LDAP directory. (Users will only be searched in this container at the time of windows login)


    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider server details

  13. Enable checkboxes of "Authentication", "Authorization", "Gateway" columns for the LDAP plugin in the Current Plugins.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider enable authentication

  14. Select "Local Machine" from the Current Plugins list and double click on it.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider select local machine

  15. The default settings of the Local Machine Plugin configuration are as shown below.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider default setting

  16. Disable the following checkboxes and click on the Save button.
    Authorization section:
    • Mirror groups from local user
    • Authorize all authenticated users
    Gateway Section:
    • Failure to create or join local groups should prevent login
    After the above changes the settings will look like:-

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider disable

  17. Select "Single User Login" plugin from the "Current Plugins" list and double click on it.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider single user login

  18. The default settings for Single User Login Plugin configuration will reflect like this.

    Two Factor Authentication(2FA/MFA)for Windows Logon RDP-Windows Credential Provider single user config

  19. Clear the Username field. Provide your LDAP server domain name in capital letters for the "Domain" input all the fields and hit the Save button.
    e.g. LDAP server domain is : xecurify.com
    then provide only the first part of your domain as input for the Domain input field.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider domain

  20. Enable checkbox of "Gateway"" column for the Single User Login plugin in the Current Plugins.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider enable gateway

  21. Press the "Apply" button to save the configuration settings of the "Current Plugins" list as shown in the below screenshot. Click on Ok to close the "Settings Saved" window.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider apply config

  22. Goto "Plugin Order" tab and select the "LDAP" plugin from the "Authentication" list and click on the UP arrow.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider authentication ldap

  23. Select the "LDAP" plugin from the "Gateway" list and make a click on the UP arrow.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider gateway ldap

  24. The final plugin order list should look like this.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider final list

  25. Click on "Apply" button to save the plugin order configuration settings.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider apply

  26. Now Goto "Simulation" tab.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider simulation

  27. Provide the LDAP user's Username and Password as the input in Username and Password fields respectively. Click on the green Run button to test out the configuration.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider input Username details

  28. Click on "Yes".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider confirm simulation

  29. Make sure the following:
    • The "Authentication", "Authorization" and "Gateway" stages results for the LDAP plugin must be True and in green color.
    • The "Gateway" stage results for the Local Machine and Single user Login plugins must be True and in green color.


    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider confirm config

  30. You can customize the Logo and message to display on the windows login the way you need.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider customize

  31. Click on the "Apply" button to save the configuration.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider apply customization

Step 2: Choose Your User Directory

2.1: Setup AD as User Directory

  1. Log in to miniOrange dashboard from the Admin Console.
  2. From the Side Menu, Click on User Stores >> Add User Store

    2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso) configure user store

  3. Select User Store type as AD/LDAP.
  4. 2FA/MFA for Windows Logon RDP-Windows Credential ProviderSingle Sign On (sso)select AD/LDAP as user store

    1. STORE LDAP CONFIGURATION IN MINIORANGE: Choose this option if you want to keep your configuration in miniOrange. If active directory is behind a firewall, you will need to open the firewall to allow incoming requests to your AD.
    2. STORE LDAP CONFIGURATION ON PREMISE: Choose this option if you want to keep your configuration in your premise and only allow access to AD inside premises. You will have to download and install miniOrange gateway in your premise.

    3. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso) select ad/ldap user store type
  5. Enter LDAP Display Name and LDAP Identifier of your choice. Select Directory Type as Active Directory.
  6. Enter the LDAP Server URL or IP Address against LDAP Server URL field.
  7. Go to AD FS-> Domain-> respective Users -> Properties-> Attribute Editor. Now copy the value of distinguishedName and paste it against Bind Account DN.
  8. 2FA/MFA for Windows Logon RDP-Windows Credential Provider  Single Sign On (sso)configure user bind account domain name

  9. Enter the valid password for the user from above step.
  10. Search Base is the location in the directory where the search for a user begins.
  11. 2FA/MFA for Windows Logon RDP-Windows Credential Provider  Single Sign On (sso)configure user search base

  12. If you want to add extra conditions on user search you can add it in Search Filter. Select a suitable Search Filter from the Drop-Down. To use custom Search Filter select "Custom Search Filter" option and provide the search filter in the input field that shows up.
  13. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso)configure user search filter

  14. You can also configure following options while setting up AD.
  15. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso) configure ldap options

    Here's the list of the attributes and what it does when we enable it. You can enable/disable accordingly.

    Attribute Description
    Activate LDAP All user authentications will be done with LDAP credentials if you Activate it
    Sync users in miniOrange Users will be created in miniOrange after authentication with LDAP
    Backup Authentication If LDAP credentials fail then user will be authenticated through miniOrange
    Allow users to change password This allows your users to change their password. It updates the new credentials in your LDAP server
    Enable administrator login On enabling this, your miniOrange Administrator login authenticates using your LDAP server
    Show IdP to users If you enable this option, this IdP will be visible to users
    Send Configured Attributes If you enable this option, then only the attributes configured below will be sent in attributes at the time of login

  16. Click on Save. After this, it will show you the list of User stores. Click on Test Configuration to check whether you have enter valid details. For that, it will ask for username and password.
  17. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso)test ad/ldap connection

  18. On Successful connection with LDAP Server, a success message is shown.
  19. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso)ldap successful connection

  20. Click on Test Attribute Mapping.
  21. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso) test attributes mapping

  22. Enter a valid Username. Then, click on Test. Mapped Attributes corresponding to the user are fetched.
  23. 2FA/MFA for Windows Logon RDP-Windows Credential Provider Single Sign On (sso)fetch mapped attributes for user

  24. After successful Attribute Mapping Configuration, go back to the ldap configuration and enable Activate LDAP in order to authenticate users from AD/LDAP.
  25. Refer our guide to setup LDAPS on windows server.


2.2: Setup miniOrange as a User Store

  1. Log in to miniOrange dashboard from the Admin Console.
  2. Click on the User Stores in the miniOrange Dashboard.

    Two Factor Authentication(2FA/MFA)for Windows Logon RDP-Windows Credential add user store

  3. Click on the Add User Store.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows select AD/LDAP as user store

  4. Click on the Add miniOrange Identity Source.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows LDAP configuration in miniOrange

  5. You have added miniOrange as a User Store.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows miniOrange Bind account settings

  6. There are 3 ways to setup miniOrange as an Identity Source

    2.2.1 Create User in miniOrange

    • Click on Users >> Add User.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider add user in miniOrange

    • Here, fill the user details without the Password and then click on the Create User button.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider add user details

    • Click on On Boarding Status tab. Check the email, with the registered e-mail id and select action Send Activation Mail with Password Reset Link from Select Action dropdown list and then click on Apply button.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider email action

    • Now, Open your email id. Open the mail you get from miniOrange and then click on the link to set your account Password.
    • On the next screen, enter the Password and confirm Password and then click on the Reset Password button.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider reset user password
    • Now, you can log in into miniOrange account by entering your credentials.

    2.2.2 Bulk Upload Users in miniOrange via Uploading CSV File.

    • Navigate to Users >> User List. Click on Add User button.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider add user via bulk upload

    • In Bulk User Registration download sample csv format from our console and edit this csv file according to the instructions.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider download sample csv file

    • To bulk upload users, choose the file make sure it is in comma separated .csv file format then click on Upload.
    • 2FA/MFA for Windows Logon RDP-Windows Credential Provider bulk upload user

    • After uploading the csv file successfully, you will see a success message with a link.
    • Click on that link you will see list of users to send activation mail. Select users to send activation mail and click on Send Activation Mail. An activation mail will be sent to the selected users.

    2.2.3 Self User Registration

    • miniOrange self user registration allows end users to register themselves using customized registration form. miniOrange admin users can customize the registration form by adding more custom fields accodring to their choice. Learn More

Step 3: User Import and Provisioning

  • This Step involves Importing the users from the Active Directory and Provisioning them.
  • Following are the ways to Import users from Active Directory:
    1. Step 3.1: Import Users And Auto Register (Recommended)

      • Go to Settings in the Customer Admin Account.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  miniorange settings

      • Enable the User-Auto Register Option and click Save.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  Enable User Auto Register

      • From the Left-Side menu select Users >> User Sync/Provisioning.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync1

      • In Setup Provisioning tab select Active Directory in the Select Application Drop Down.
      • Toggle the Import Users Check box and set Select User Unique Identifier as samaccountname.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync Active Directory Configuration1

      • Click on Save and the click on the Import Users tab.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync Import Operation1

      • Select Active Directory in the Select App to Import Users From Dropdown.
      • Then click on Import to import all the users from Active Directory to miniOrange.
      • You can view all the Users you have imports by selecting Users >> User List from Left Panel.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User List1

      • All the imported users will be auto registered.

      Step 3.2: Import Users And send Activation link

      • From the Left-Side menu select Users >> User Sync/Provisioning.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync2

      • In Setup Provisioning tab select Active Directory in the Select Application Drop Down.
      • Toggle the Import Users Check box and set Select User Unique Identifier as samaccountname.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync Active Directory Configuration2

      • Click on Save and the click on the Import Users tab.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Sync Import Operation2

      • Select Active Directory in the Select App to Import Users From Dropdown.
      • Then click on Import to import all the users from Active Directory to miniOrange.
      • You can view all the Users you have imports by selecting Users >> User List from Left Panel.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User List2

      • Now Click on the On Boarding Status Tab and select the users you want to Activate in the miniOrange.
      • Select Send Activation Mail and Password Reset Link from Select Action Drop Down.
      • Click on Apply.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  User Send Activation Link

      • Mails will be sent to all the selected end users.
      • End Users will activate their account using the link provided in the Email.

      Step 3.3: On the Fly User Creation

      • From the Side Menu, Click on User Stores.
      • Select the Active Directory that we configured earlier in Step 1 and click on Edit.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  Edit User Store

      • Enable Sync Users in miniOrange.
      • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  Sync Users in miniOrange

      • Now, every user that is not registered in miniOrange will be automatically registered on first login.

Step 4: Creating User Groups(Recommended)

  • Select Groups >> Manage Groups from left panel.
  • Two Factor Authentication(/MFA) for Windows Logon RDP-Windows Credential Provider create group

  • Click on the Create Group button on the top.
  • Enter windowsMFA as Group Name and click on Create Group.
  • Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider create group name

  • Assign various members to the group using the Assign User option associated with the group in the groups list.
  • Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider assign group

  • Select the Users that are required to be assigned to this group. Then Select Assign to Group in Select Action Dropdown. Then click Apply.
  • Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider assign users group

Step 5: Configure ​Two-Factor Authentication(2FA) for Windows Logon

5.1: Configure ​Two Factor Authentication for miniOrange Admin Dashboard.

  • From your miniOrange Dashboard in the left navigation bar, select 2- Factor Authentication, click on Configure 2FA.

  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider configure_2fa

  • Choose any ​2FA method you want to configure.
  • Let's say you want to configure OTP over SMS
  • Click on OTP over SMS
  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider otp_over_sms

    2FA/MFA for Windows Logon RDP-Windows Credential Provider enter_phone_no

  • Now add your mobile number on which you want to receive the OTP.
  • Then click on Save.
  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider save_phone_number

    2FA/MFA for Windows Logon RDP-Windows Credential Provider otp_over_sms_active

  • Now as shown in the above image, OTP over SMS is your Active 2FA method.
  • Enable Prompt for Two Factor (2FA) for admin account login and click on Save
  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider enable_2fa

  • To verify the configuration login again.
  • You will be asked for Username and Password then it is redirected to below page:
  • Enter the OTP received on the phone and click on verify.
  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider 2fa_otp_verification

  • If you are redirected to your dashboard, you have successfully configured OTP over SMS as your ​2FA method.
  • Similarly you can configure rest of the ​2FA methods for miniOrange dashboard. Click Here for the Guide
  • To configure ​MultiFactor Authentication(2FA) methods for end-users Click here.

5.2: Enable ​MultiFactor Authentication(2FA) for Users of Windows application.

  • Here, we will configure a policy for the User Group that we created in the Step 4
  • Click on Policies tab >> App Authentication Policy.
  • 2FA/MFA for Windows Logon RDP-Windows Credential Provider  App Authentication Policy

  • Click on Add Policy tab.
  • In Step 1 Select the Self Service Console from the droupdown.
  • In Step 2 Select windowsMFA as Group Name and windowsMFA_Policy as Policy name and Password as Login Method. Enable the "Enable 2-Factor Authentication" option.
  • Click on Save button.
  • Two Factor Authentication(2FA) for Windows Logon RDP-Windows Credential Provider mfa policy

Step 6: Test miniOrange Credential Provider 2FA Setup

  1. Open the command prompt at the miniOrange Credential Provider installation path.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider command prompt

  2. Run the "pGina.MFAAuthnPrompt.exe" file by passing the Username.
    Note: The Username you are passing must exist and must have the same Username in the AD and in the users list of your miniOrange account in our cloud IDP OR your on-premise IDP.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider run command

  3. The following ​Two-Factor Authentication (2FA) prompt will be displayed. Select your 2FA method and click on "Next".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider choose 2fa method

  4. The OTP will be delivered to the registered user mobile number and enter the received OTP in the "One Time Passcode" input field and Click on Next.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider input otp

  5. Try windows login with miniOrange credential provider as shown in below screenshot.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider login window

  6. Provide your Username and Password.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider login

  7. After successful authentication with your LDAP server it will prompt for ​Two-Factor Authentication(2FA). Select the 2FA method and click on Next.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider select 2fa method

  8. Enter your OTP and click on Next as shown in the below screenshot. After successful OTP validation users will be logged into the windows machine.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider enter OTP

Step 7: Setup Credential Provider Group Policy for Windows


Group Policy provides centralized management and configuration of operating systems, applications, and users' settings in an Active Directory environment. A set of Group Policy configurations is called a Group Policy Object (GPO).

Network administrators have one place where they can configure a variety of Windows settings for every computer on the network.

We are using GPO to simplify the installation of credential provider software and propagating windows registry settings of this software in one go for each computer joined to the domain.

Follow the steps to Setup miniOrange ​MultiFactor Authentication (2FA) Credential Provider Group Policy:

  1. Search "Computer management" from programs search and open it. Goto "Shared Folders->Shares"

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider shared folders

  2. Right click on the "Shares section area" and click on "New" from the list as shown in the below screenshot.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider new shared folder

  3. Click "Next" in the newly opened Shared Folder Wizard.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider shared folder wizard

  4. Click on the "Browse" button.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider browse package

  5. Browse for the folder path on the system where the "mOCredentialProvider.msi" resides and select that folder.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider select package folder

  6. Click on "Next".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider click next

  7. Provide description of the folder being shared and Click on "Next".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider shared folder description

  8. Select the permissions of your choice for the folder being shared.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider shared folder permissions

  9. Sharing of the folder is successful. Click on "Finish".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider shared folder successful

  10. Goto the shared folder on your system and right click on "mOCredentialProvider.msi" file and select "Share with->Specific people".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider share with specific people

  11. Make sure the file is shared with "Administrator" users of your domain and as well as to the user on the windows computer on which you are going to create the Group Policy Object.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider share with administrator

  12. Open "Administrative tools->Group Policy management". Right click on your domain and select "Create a GPO in this domain, and Link here.." option.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider create GPO

  13. Provide a Name for the GPO and click on "OK".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO name

  14. You can Add/Remove specific Users, Groups and Machines of your domain from the highlighted section. This will help you to execute the Group policy for a specific set of Users, Groups, And Computers.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider assign users to GPO

  15. Right click on the newly created GPO and select "Edit" from the list of menu.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider edit GPO

  16. The new window will be opened for GPO edit it as .

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO edit window

  17. Expand "Policies->Software Settings" from Computer Configuration.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO policies settings

  18. Goto Shared folder on your system.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO select shared folder

  19. Right click the shared folder "mOCredentialProvider" and select properties option from the list.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO shared foler properties

  20. Goto "Sharing tab" of the properties window and copy "Network path".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO copy network path

  21. Right click on the "Software Installation" section area and select "New->Package" from the list.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO new package

  22. Provide the copied path from above step.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO paste path

  23. Select "mOCredentialProvider.msi" file from the shared folder.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO select mo-package

  24. Select "Assigned" and click on "Ok" in the window.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO mo-package assigned

  25. Double click on the "miniOrangeCredProviderInstaller" package.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO mo-package properties

  26. Goto "Deployment" tab and click on the "Advanced" button.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO mo-package deployment

  27. Enable "Ignore Language when deploying this package" checkbox from Advanced deployment options section and click on "Ok".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO ignore language

  28. Click on "Apply" and then "Ok" to close the properties windows.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO apply mo-package properties

  29. Expand "Preferences->Registry" from Computer Configuration.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO registry preferences

  30. Right click on "Registry" and select "New->Registry Wizard" from the list.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO new registry

  31. Select "Local Computer" as we have installed the miniOrangeCredentialProiver package on this windows machine. Click on "Next".

    Two Factor Authentication(2FA/MFA)for Windows Logon RDP-Windows Credential Provider GPO local machine registry

  32. Expand the "HKEY_LOCAL_MACHINE" folder.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO registry folder

  33. Goto "SOFTWARE->pGina3" in "HKEY_LOCAL_MACHINE".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO software folder

  34. Enable checkboxes for all the options present in "pGina3" folder and click "Finish".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO enable pgina options

  35. Expand the "First Registry Wizard Values" folder and goto "HKEY_LOCAL_MACHINE->SOFTWARE->pGina3" and make sure all selected options are present.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO expand first registry

  36. Follow these 3 steps again. Goto "SOFTWARE->pGina3->Plugins->0f52390b-c781-43ae-bd62-553c77fa4cf7" folder.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO second plugin

  37. Enable checkboxes for all options except "SearchPW" option and click on "Finish".

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO disable searchpw

  38. Expand the "Second Registry Wizard Values" folder and goto "HKEY_LOCAL_MACHINE->SOFTWARE->pGina3->Plugins->0f52390b-c781-43ae-bd62-553c77fa4cf7" and make sure all selected options except "SearchPW" option are present.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO expand second registry

  39. Follow these 3 steps again. Goto "SOFTWARE->pGina3->Plugins->12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d" folder as shown in the below screenshot. Enable checkboxes for all options and click on the "Finish" button.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO third plugin

  40. Expand the "Third Registry Wizard Values" folder and goto "HKEY_LOCAL_MACHINE->SOFTWARE->pGina3->Plugins->12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d" and make sure all selected options are present.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO expand third registry

  41. Follow these 3 steps again. Goto "SOFTWARE->pGina3->Plugins->81f8034e-e278-4754-b10c-7066656de5b7" folder as shown in the below screenshot. Enable checkboxes for all options except the "Password" option and click on the "Finish" button.

    Two Factor Authentication(2FA/MFA)for Windows Logon RDP-Windows Credential Provider GPO fourth plugin

  42. Expand the "Fourth Registry Wizard Values" folder and goto "HKEY_LOCAL_MACHINE->SOFTWARE->pGina3->Plugins->81f8034e-e278-4754-b10c-7066656de5b7" and make sure all selected options except "Password" option are present.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO expand fourth registry

  43. Follow these 3 steps again. Goto "SOFTWARE->pGina3->Plugins->ffd3547a-c950-4ef4-bb0e-b6523965c021" folder as shown in the below screenshot. Enable checkboxes for all options and click on the "Finish" button.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO fifth plugin

  44. Expand the "Fifth Registry Wizard Values" folder and goto "HKEY_LOCAL_MACHINE->SOFTWARE->pGina3->Plugins->ffd3547a-c950-4ef4-bb0e-b6523965c021" and make sure all selected options are present.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO expand fifth registry

  45. The Group policy settings will be applied on the computers once they are restarted. You can also perform force group policy push by executing command from the command prompt window.
    NOTE: Login into the other domain-joined windows computer on which you want to apply these group policy settings.

    Two Factor Authentication(2FA/MFA) for Windows Logon RDP-Windows Credential Provider GPO apply

miniOrange Credential Provider for Remote Desktop Service (RDP)

​The user initiates the login to Remote Desktop Service either through a Remote Desktop Client or via the RD Web login page from his browser, after which the RADIUS request is sent from the miniOrange RD Web component installed on the target machine to the miniOrange RADIUS server, which authenticates the user via Local AD, and after successful authentication, 2-factor authentication of the user is invoked. After the user validates himself, he is granted access to the Remote Desktop Service.


A user can try to connect to RDS (Remote Desktop Services) via 2 ways :

  1. RDC - Remote Desktop Client: If the RemoteApp is launched through a Remote Desktop client application, the users validate their 2-factor authentication while they enter the Username and Password to get access to the resources. ( as this method doesn't support access-challenge response, only out of band authentication methods are supported ).
  2. RD Web Access - RD login page via browser: If the desktop or RemoteApp is launched through a RD Web Login page, the initial user authentication is done from the machine's AD, after which miniOrange challenges the user for 2-factor authentication via a RADIUS challenge request. After the users correctly authenticate themselves, they get connected to their resources.

​Two Factor Authentication(2FA/MFA) for RDS via RD Web

How it works


  1. In this case, the user goes to RD Web login page from his browser to connect to the Remote Desktop Service.He enters his Username and Password, and on submission, the RADIUS request from RD Web component installed on target machine is sent to the miniOrange RADIUS server which authenticates the user via local AD in the target machine.
  2. Once authenticated, it sends a RADIUS challenge to RD Web, and the RD Web shows OTP screen on browser now. Once the user enters the One Time Passcode, the miniorange IdP verifies it and grants/denies access to the RDS.
  3. With this, after the user is connected to the Remote Desktop Service, the user can also gain access to published remote app icons on his browser screen, since the session has already been created for the user.

RDS via RD Web demonstration user flow


Steps to configure ​Two-Factor Authentication for RD Web


1. Install the RD Web module provided by us. Unzip the module anywhere on your pc. C:/ for example.

2. Take a backup copy of your C:/Windows/Web/RdWeb folder.

3. Then open the RD Web module provided by us. Execute install.bat file. Once it is installed.

4. Go to IIS Manager, Open Default Site -> Rd Web ->Pages.

5. Open application settings, Change Radius Server IP and secret of IDP. Once that is configured.


Demonstration of user flow


1. User goes to the RD Web login page from his browser, and enters his Username/Password and clicks on Submit.



Why Our Customers choose miniOrange Secure Identity Solutions ?


24/7 Support

miniOrange provides 24/7 support for all the Secure Identity Solutions. We ensure high quality support to meet your satisfaction.

Try Now

Affordable Pricing

miniorange provides most affordable Secure Identity Solutions for all type of use cases and offers different packages based on customer's requirement.

Request A Quote


We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at -

   +1 978 658 9387 (US)   ,   +91 77966 99612 (India)    |       info@xecurify.com