Use an MSI file from the command line
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
手順
-
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.
-
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?""" -
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. By default, MSI installations restart the computers. Include /NORESTARTnot 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=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. 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. -
Navigate to the directory that holds the
PasswordResetWinAppInstall.msifile. - Run the updated command at the command line.
-
After installation and depending on the setting for the
/NORESTARTargument, you might need to restart computers.