How to Specify Options When Installing a Windows MID Server Without Proxy CredentialsIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } This article covers how to install a Windows MID Server using a proxy server without proxy credentials. Installation cannot proceed when proxy credentials are not required because the documentation does not address this scenario correctly. Guided Windows MID Server Installation (MSI package) When using the MID Server Guided Windows Installation package (MSI file): The documentation does not explain how to populate the required fields when no proxy username or password is used. Excerpt from the Help: Installing a MID Server on Windows Proxy usernameEnter a username with administrator privileges on the proxy server.Proxy passwordEnter the password for the username. There is no guidance on which values to enter when the proxy server does not require authentication. Silent Installation The documentation states the following; however, when we specify the parameters as follows and start the silent installation, an error occurs.-PROXY_USERNAME '' -PROXY_PASSWORD '' Excerpt from the Help: Installing a MID Server on Windows USE_PROXY: Enables the use of a proxy. When selected, the following parameters are required:PROXY_HOST: The name of the proxy host.PROXY_PORT: The proxy port number.PROXY_USERNAME: The proxy username. If no username is required, enter ''.PROXY_PASSWORD: The proxy password. If no password is required, enter ''. PowerShell Error: C:\installer\SilentInstall.ps1 : Cannot validate argument on parameter 'PROXY_USERNAME'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At line:1 char:548 + ... -PROXY_HOST 'IP address' -PROXY_PORT '8080' -PROXY_USERNAME '' -PROXY_ ... + ~~ + CategoryInfo : InvalidData: (:) [SilentInstall.ps1], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,SilentInstall.ps1 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Zurich, Yokohama Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } -MSI installation documentation contains no instructions when no proxy username or password is required. -The silent installation documentation contains incorrect instructions for specifying proxy parameters when no proxy username or password is required. Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Guided Windows MID Server Installation (MSI) When installing via the guided installation package: Select “Use Proxy”Specify only the proxy host and port: Proxy Host: <IP address of the proxy server> Proxy Port: <Port number of the proxy server> Leave the following fields blank (do not enter any values): Proxy Username: Proxy Password: Silent Installation The documentation is incorrect. When installing via silent installation without proxy authentication, specify the parameters using a single quotation mark, a single space, and a single quotation mark, as shown in the following example: -PROXY_USERNAME ' ' -PROXY_PASSWORD ' ' Sample Command Below is an example of a valid silent installation command.In this example, a local Windows user named midservice is created on the MID Server host and used as the MID Server service account. powershell -command "C:\installer\SilentInstall.ps1 -MSI_FILE_NAME 'C:\installer\mid-windows-installer.xxx.windows.x86-64.msi' -INSTALL_LOCATION 'C:\midserver' -INSTANCE_URL 'https://<instance-name>.service-now.com' -MID_USERNAME 'midservers_user_name' -MID_PASSWORD '<mid-password>' -MID_NAME 'mid_server_name' -SERVICE_ACCOUNT_NAME '.\midservice' -SERVICE_ACCOUNT_PASSWORD '<service-account-password>' -LOG_NAME 'C:\installer\Silent_Install_Log.txt' -USE_PROXY -PROXY_HOST 'IP address' -PROXY_PORT '8080' -PROXY_USERNAME ' ' -PROXY_PASSWORD ' ' -START_MID" Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Install a MID Server on Windows