Skip to main content

Windows Login v2.0 - How to Deploy Windows Login v2.0 using Microsoft Configuration Manager (SCCM)

This document provides step-by-step instructions to deploy Windows Login v2.0 using Microsoft Configuration Manager (SCCM)

Introduction

This document provides step-by-step instructions to deploy Windows Login v2.0 using Microsoft Configuration Manager (SCCM). It covers the creation of the application, configuration of deployment settings, detection methods, and deployment to target device collections.

Prerequisites

  • You must have admin access to Microsoft Configuration Manager (SCCM).

  • You must have the installation script file (install.ps1) required for deployment.

  • You must have the Windows Login v2.0 version number that will be used in the detection script.

  • The installation source files must be stored in a shared network location (UNC path) that is accessible from the Configuration Manager site server.

    For example: \\<server>\Sources\Oloid Passwordless\

    Note: Ensure the following source files are available in the shared location:

    • Oloid Passwordless v2 installer (.exe)

    • Installation script (.ps1)

    • AutoPairConfig file (.txt)

  • Target device collections must be created and available in Microsoft Configuration Manager.

  • Distribution Points must be configured and accessible within your Configuration Manager environment.

Steps to Deploy Windows Login v2.0

  1. The Windows Login v2.0 is deployed successfully.

Create Application

  1. Launch the Microsoft Configuration Manager.

    The Microsoft Manager home screen is displayed.

  2. Navigate to Software Library > Application Management > Applications.

    The Applications screen is displayed.

  3. Right click > select Create Application.

    The Create Application Wizard pop-up box is displayed.

  4. On General tab, select Manually specify the application information > click Next.

    The General Information tab is displayed.

  5. On General Information tab, do the following.

    1. Enter Name.

    2. Enter Software Version

    3. Click Next.

      The Software Center tab is displayed.

  6. On Software Center tab, do the following.

    Note: The Software Center tab allows admin to configure how the application appears to client devices in Software Center.

    1. Update Localized application name (Optional).

    2. Enter Localized Description (Optional).

    3. Click Next.

      The Deployment Types tab is displayed.

  7. On Deployment Types tab, do the following:

    1. Click Add.

      The Create Deployment Type Wizard pop-up screen is displayed.

  8. On Create Deployment Type Wizard, do the following:

    1. On General tab, select Manually specify the application information > click Next.

      The General Information tab is displayed.

      1. On General Information tab, do the following.

        1. Enter Name.

        2. Click Next.

          The Content tab is displayed.

      2. On Content tab, do the following.

        1. Enter Content Location.

          Note: UNC path to the source files.

        2. Enter Installation Program.

          Note: Use the following command.

          %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File .\install.ps1

        3. Enter Uninstallation Program.

          Note: Use the following command.

          %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Uninstall-Package -Name 'Oloid Passwordless Login' -Force"

        4. Select Run installation and uninstall program as 32-bit process on 64-bit clients.

        5. Click Next.

          The Detection Method tab is displayed.

      3. On Detection Method tab, do the following:

        1. Select Use a custom script to detect the presence of this deployment type.

        2. Click Edit.

          The Script Editor pop-up box is displayed.

        3. Do the following:

          1. Select PowerShell as script type.

          2. Enter the Script in Script Contents.

            Note:

            i. In the expected field enters the app version number.

            ii. Use the following script.

            $ErrorActionPreference = 'SilentlyContinue'

            $expected = 'x.x.xx'

            $found = $false

            $app = Get-ItemProperty 'HKLM:\SOFTWARE\OLOID\Oloid Passwordless Login' -ErrorAction SilentlyContinue

            if ($app -and $app.Version -eq $expected) { $found = $true }

            if (-not $found) {

            $paths = @(

            'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',

            'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'

            )

            $entry = Get-ItemProperty $paths -ErrorAction SilentlyContinue |

            Where-Object { $_.DisplayName -match 'Oloid' -and $_.DisplayVersion -eq $expected }

            if ($entry) { $found = $true }

            }

            if ($found) { Write-Output 'Installed' }

            exit 0

          3. Click OK.

          The Detection Method screen is displayed.

        4. Confirm the Script length and click Next.

          The User Experience tab is displayed.

      4. On User Experience screen, do the following:

        1. Select Installation behavior as Install for system.

        2. Select Logon requirement as Whether or not a user is logged on.

        3. Select Installation program visibility as Hidden.

        4. Set Maximum allowed run time as appropriate (default 120 min).

        5. Click Next.

          The Requirements tab is displayed.

      5. On Requirements tab, click Next.

        The Dependencies tab is displayed.

      6. On Dependencies tab, click Next.

        The Summary tab is displayed.

    2. On Summary tab, review the general details and click Next.

      The Progress tab is displayed.

    3. On Progress tab, click Next.

    4. The Completion screen is displayed.

      The deployment type wizard is created and configured successfully. The Deployment Types page is displayed.

  9. Click Next.

    The Summary tab is displayed.

  10. On Summary tab, review the general details and click Next.

    The Progress tab is displayed.

    The Completion tab is displayed.

  11. Click Close.

    The app is created successfully and listed on the Applications page.

Deploy the Application

  1. On the Applications page, right-click the application that you created and select Deploy.

    The Deploy Software Wizard screen is displayed.

  2. On General tab, do the following:

    1. Click Browse to select the collection

      The Select Collection pop-up box is displayed.

    2. From the collection type drop-down list, select Device Collections.

      Note: Select User Collections if you want to deploy the application to users instead of devices.

      The available device collections are displayed in the right side.

    3. Select the Device Collection > click OK.

      The General page is displayed.

    4. Click Next.

      The Content tab is displayed.

  3. On Content tab, do the following:

    1. Click Add and select Distribution Point from the drop-down.

      The Add distribution Points pop-up box is displayed.

    2. Select the Distribution points > click OK.

      The Content tab is displayed.

    3. Click Next.

      The Deployment Settings tab is displayed.

  4. On Deployment Settings tab, do the following:

    1. Ensure Install is selected as Action.

    2. Select Required as Purpose from the drop-down.

    3. Select When a resource is no longer a member of the application, uninstall the application check box.

    4. Click Next.

      The Scheduling tab is displayed.

  5. On Scheduling tab, do the following:

    1. Select the date and time to schedule the deployment.

    2. Select As soon as possible after the available time checkbox.

      Note: By default, this checkbox is selected.

    3. Click Next.

      The User Experience tab is displayed.

  6. On User Experience tab, do the following:

    1. Ensure Display in Software Center and show all notifications is selected.

    2. Click Next.

      The Alerts tab is displayed.

  7. On Alerts tab, click Next.

    The Summary tab is displayed.

  8. Review the General information and click Next.

    The Progress tab is displayed.


    The Completion tab is displayed.

  9. Click Close.

    The app is deployed successfully and listed in the deployment list.

Monitor the Deployment (Optional)

  1. Go to the home page of the Microsoft SCCM and click Overview > Deployments.

    The Deployment list of software is displayed.

  2. Locate the deployment in the list. The bottom panel shows completion statistics (Success / In Progress / Error / Requirements Not Met / Unknown).


Keywords

| Windows Login v2.0 deployment via SCCM | Deploy Windows Login v2.0 via Microsoft Configuration Manager |

Did this answer your question?