Use an MSI file from the command line

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:4分
  • Use the MSI file to install the Password Reset Windows Application on multiple computers over a network. As an alternative to MSI installation, you can also install from the command line.

    始める前に

    Role required: Windows local administrator

    手順

    1. Ensure that the user with the ServiceNow security_admin role configures the security properties.
      For more information about security properties, see Configure security settings for the Password Reset Windows Application.
    2. Copy the following command into a text editor as one line with no breaks.
      msiexec.exe /i PasswordResetWinAppInstall.msi /quiet WRAPPED_ARGUMENTS="/SUPPRESSMSGBOXES /VERYSILENT /NORESTART /PasswordResetLinkURL https://<YourServerName>/$pwd_reset.do?sysparm_url=default /PasswordResetLinkName ""Forgot password?"""
    3. Add arguments and replace the default parameter values with the correct values for your organization.
      Argument Example Description
      /Log /Log=c:\temp\PwdResetInstallLog.log Optional. To generate a log file, you must first create the directory that the file is written to. In this example, you would create the c:\temp directory before running the installation.
      /NORESTART /NORESTART Optional. By default, MSI installations restart the computers. Include /NORESTART not to restart the computers after installation.

      You might want to communicate with end users that they must restart their computer to enable the Password Reset Windows Application.

      Parameter Default value to replace Description
      PasswordResetLinkURL https://<YourServerName>/$pwd_reset.do?sysparm_url=default URL of the page that users access when resetting a password.

      Be sure to substitute your ServiceNow server name and the URL suffix for the desired Password Reset process.

      PasswordResetLinkName ""Forgot password?"" Text to display for the Password Reset link on the Windows login page.

      You must enclose the text in two double-quote characters as shown. To ensure that the correct characters are used, do not copy/paste the example text. Instead, type the characters at the command line.

      Optional: CredentialProviderGUID Most installations do not need to specify this parameter value. Provide this value only if you use a customized credential provider and can provide a valid credential provider GUID.
    4. Navigate to the directory that holds the PasswordResetWinAppInstall.msi file.
    5. Run the updated command at the command line.
    6. After installation and depending on the setting for the /NORESTART argument, you might need to restart computers.