Use an EXE file from the command line
As an alternative to command-line installation, you can use a wizard.
始める前に
Privilege required: Windows local administrator
手順
-
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
-
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?" -
Add arguments and replace the default parameter values with the correct values
for your organization.
Argument Example Description /Log/Log=c:\temp\PwdResetInstallLog.logOptional. 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:\tempdirectory before running the installation./NORESTART/NORESTARTOptional. Include /NORESTARTto prompt the user to restart the computer after installation.Parameter Default Description PasswordResetLinkURL https://<YourServerName>/$pwd_reset.do?sysparm_url=defaultURL 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. -
Navigate to the directory that holds the
PasswordResetWinAppInstall.exefile. - Run the updated command at the command line.
-
After installation and depending on the setting for the
/NORESTARTargument, you might need to restart the computer.