Use an EXE file from the command line

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:3分
  • As an alternative to command-line installation, you can use a wizard.

    始める前に

    Role required: security_admin elevated privilege

    Privilege required: Windows local administrator

    手順

    1. Ensure that the user with the ServiceNow security_admin role configures the security properties.
      For more information about the 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.
      PasswordResetWinAppInstall.exe /VERYSILENT /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. Include /NORESTART to prompt the user to restart the computer after installation.
      Parameter Default 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. Update the text as needed.

      You must enclose the text in 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.

      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.exe 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 the computer.