rpcping.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x27118.11011Usage: rpcping [-t ] [-s ] [-e |-f [,MajorVer]] [-O ] [-u ] [-a ] [-N ] [-I ] [-C ] [-T ] [-M ] [-S ] [-P ] [-F ] [-H ] [-o ] [-B ] [-b] [-E] [-q] [-c] [-A ] [-U ] [-r ] [-v ]
0x271278.11011Pings a server using RPC. Options are: -t - protocol sequence to use. Can be one of the standard RPC protocol sequences - ncacn_ip_tcp, ncacn_np, ncacn_http, etc. If not specified, default is ncacn_ip_tcp. -s - the server address. If not specified, the local machine will be pinged. E.g. server, server.com, 157.59.244.141 -e - the endpoint to ping. If none is specified, the endpoint mapper on the target machine will be pinged. This option is mutually exclusive with the interface (-f) option. -o - the binding options for the RPC ping. See the MSDN for more details (RpcStringBindingCompose and RPC over HTTP). -f [,MajorVer] - the interface to ping. This option is mutually exclusive with the endpoint option. The interface is specified as a UUID. If the MajorVer is not specified, version 1 of the interface will be sought. When interface is specified, rpcping will query the endpoint mapper on the target machine to retrieve the endpoint for the specified interface. The endpoint mapper will be queried using the options specified in the command line. -O - Object Uuid if the interface registerd one. -i <#_iterations> - number of calls to make. The default is 1. This option is useful for measuring connection latency if multiple iterations are specified. -u - the security package (security provider) RPC will use to make the call. The security package is identified as a number or a name. If a number is used it is the same number as in the RpcBindingSetAuthInfoEx API. The table below gives the names and numbers. Names are not case sensitive: Negotiate - 9 or one of nego, snego or negotiate NTLM - 10 or NTLM SChannel - 14 or SChannel Kerberos - 16 or Kerberos Kernel - 20 or Kernel If you specify this option you must specify authentication level other than none. There is no default for this option. If it is not specified, RPC will not use security for the ping. -a - the authentication level to use. Possible values are connect, call, pkt, integrity and privacy. If this option is specified, the security package id (-u) must also be specified. There is no default for this option. If this option is not specified, RPC will not use security for the ping.
0x271378.11011-N - specifies a server principal name. Same semantics as the ServerPrincName argument to RpcBindingSetAuthInfoEx. See the MSDN for more information on RpcBidningSetAuthInfoEx. This field can be used only when authentication level and security package are selected. -I - allows you to specify alternative identity to connect to the server. The identity is in the form user,domain,password where the three fields have the obvious meaning. If the user name, domain or password have special characters that can be interpreted by the shell be sure to enclose the identity in double quotes. You can specify * instead of the password and RPC will prompt you to enter the password without echoing it on the screen. If this field is not specified, the identity of the logged on user will be used. This field can be used only when authentication level and security package are selected. -C - a hex bitmask of flags. It has the same meaning as the Capabilities field in the RPC_SECURITY_QOS structure described in the MSDN. This field can be used only when authentication level and security package are selected. -T - can be static or dynamic. If not specified, dynamic is the default. This field can be used only when authentication level and security package are selected. -M - can be anonymous, identify, impersonate or delegate. Default is impersonate. This field can be used only when authentication level and security package are selected.
0x27141011-S - the expected SID of the server. For more information see the Sid field in the RPC_SECURITY_QOS structure in the MSDN. Using this option requires Windows .NET Server 2003 or higher. This field can be used only when authentication level and security package are selected. -Z - the EffectiveOnly setting to use. For more information see the EffectiveOnly field in the RPC_SECURITY_QOS structure in MSDN. Using this option requires Windows Vista or higher. This field can be used only when authentication level and security package are selected. -D - the security descriptor (in string format) of the server when using mutual authentication. For more information see the ServerSecurityDescriptor field in the RPC_SECURITY_QOS structure in MSDN. Using this option requires Windows 8 or higher. This field can be used only when authentication level and security package are selected. -P - specifies the identity to authenticate with to the RPC/HTTP proxy. Has the same format as for the -I option. Also, you must specify security package (-u), authentication level (-a), and authentication schemes (-H) in order to use this option. -F - the flags to pass for RPC/HTTP front end authentication. The flags may be specified as numbers or names The currently recognized flags are: Use SSL - 1 or ssl or use_ssl Use first auth scheme - 2 or first or use_first See the Flags field in RPC_HTTP_TRANSPORT_CREDENTIALS for more information. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -H - the authentication schemes to use for RPC/HTTP front end authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM Certificate - 65536 or Cert Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -B - the server certificate subject. For more information, see the ServerCertificateSubject field in the RPC_HTTP_TRANSPORT_CREDENTIALS structure in the MSDN. You must use SSL for this option to work. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -b - retrieves the server certificate subject from the certificate sent by the server and prints it to a screen or a log file. Valid only when the Proxy Echo only option (-E) and the use SSL options are specified. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -R - specifies the HTTP proxy. if it's 'none', we will not use HTTP proxy but directly attempt the RPC proxy. the value 'default' means to use the IE settings in your client machine. any other value will be treated as the explicit HTTP proxy. if you don't specify this flag, the default value is assumed, that is, the IE settings are checked. this flag is valid only when the -E (Echo Only) flag is enabled.
0x27158.11011-E - restricts the ping to the RPC/HTTP proxy only. The ping does not reach the server. Useful when trying to establish whether the RPC/HTTP proxy is reachable. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. To specify an HTTP proxy, use the -R flag. If an HTTP proxy is specified in the -o flag, this option will be ignored. -q - quiet mode. Does not issue any prompts except for passwords. Assumes 'Y' response to all queries. Use this option with care. -c - use smart card certificate. RPCPing will prompt user to choose smart card. -A - specifies the identity to authenticate with to the HTTP proxy. Has the same format as for the -I option. Also, you must specify authentication schemes (-U), security package (-u) and authentication level (-a) in order to use this option. -U - the authentication schemes to use for HTTP proxy authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM You must specify security package (-u) and authentication level (-a) in order to use this option. -r - if multiple iterations are specified, this option will make rpcping display current execution statistics periodically instead after the last call. The report interval is given in seconds. Default is 15. -v - tells rpcping how verbose to make the output. Default value is 1. 2 and 3 provide more output from rpcping. Example: Find out if your Exchange server that you connect through RPC/HTTP is accessible: rpcping -t ncacn_http -s exchange_server -o RpcProxy=front_end_proxy -P "username,domain,*" -H Basic -u NTLM -a connect -F 3 When prompted for the password, enter it. exchange_server is the name of your exchange server, front_end_proxy is the name of your proxy, username and domain are your user name and domain as you would enter them in the Outlook prompt. The other parameters will ask rpcping to ping your Exchange server in exactly the same way as Outlook will connect to it for the typical profile. -p - Prompt for credentials if authentication fails.
0x272578.11011Out of memory
0x272678.11011Cannot allocate %1!d! bytes
0x272878.11011Invalid switch: %1!s!
0x272978.11011Invalid option %1!c!, missing required parameter
0x272a78.11011RPCPing v6.0. Copyright (C) Microsoft Corporation, 2002-2006
0x272b78.11011%1!s!
0x272c78.11011%1!s!
0x272d8.11011If you specify auth identity, you must specify authentication level and security package
0x272e8.11011If you specify identity tracking, you must specify authentication level and security package
0x272f8.11011If you specify impersonation type, you must specify authentication level and security package
0x27308.11011If you specify a SID, you must specify authentication level and security package
0x27318.11011To prompt for credentials, you must specify authentication level and security package
0x27328.11011Cannot parse security package id
0x27338.11011Cannot parse authentication level
0x27348.11011Cannot parse flags string
0x27358.11011Cannot parse auth schemes array
0x27368.11011Cannot parse identity tracking mode
0x27378.11011Cannot parse impersonation type
0x277478.11011Error %1!d! : %2!s! returned in the WinHttpQueryAuthSchemes. possibably anonymous requests or requests on unsecure channel are not allowed
0x277578.11011Error %1!d! : %2!s! returned in WinHttpSetOption
0x277678.11011Error %1!d! : %2!s! returned in WinhttpSetOption (3)
0x277778.11011Error %1!d! : %2!s! returned in WinHttpSetOption
0x277878.11011Status %1!d! returned in the RpcCertGeneratePrincipalName
0x277978.11011Error %1!d! : %2!s! returned in CredIsMarshaledCredential
0x277a78.11011Error %1!d! : %2!s! returned in CredUnMarshalCredential
0x277b78.11011Error %1!d! : %2!s! returned in CertOpenSystemStore
0x277c78.11011Error %1!d! : %2!s! returned in CertFindCertificateInStore
0x277d78.11011Error %1!d! : %2!s! returned in CryptAcquireContext
0x277e78.11011Error %1!d! : %2!s! returned in CryptSetProvParam
0x277f78.11011Error %1!d! : %2!s! returned in WinHttpSetOption (1)
0x278078.11011Error %1!d! : %2!s! returned in WinHttpSetOption (cert)
0x278178.11011Error %1!d! : %2!s! returned in MultiByteToWideChar
0x278278.11011Error %1!d! : %2!s! returned in RtlStringCbPrintf
0x278378.11011Error %1!d! : %2!s! returned in WinHttpSetCredentials
0x278478.11011Error %1!d! : %2!s! returned in WinHttpSendRequest
0x278578.11011Error %1!d! : %2!s! returned in WinHttpReceivedResponse
0x278678.11011Error %1!d! : %2!s! returned in WinHttpQueryHeadersFailed
0x278778.11011Error %1!d! : %2!s! returned in WinHttpSetCredentials for RPC Proxy
0x278878.11011Error %1!d! : %2!s! returned in WinHttpSetOption - 4
0x278978.11011Error %1!d! : %2!s! returned in WinHttpSetCredentials for Http Proxy
0x278a78.11011Error %1!d! : %2!s! returned in WinHttpQueryHeaders - 2
0x278b78.11011Error %1!d! : %2!s! returned in RtlStringCchCopy
0x278c78.11011Error %1!d! : %2!s! returned in WinHttpOpen
0x278d78.11011Error %1!d! : %2!s! returned in WinHttpConnect
0x278e78.11011Error %1!d! : %2!s! returned in WinHttpOpenRequest
0x278f78.11011Error %1!d! : %2!s! returned in GetModuleHandle
0x279078.11011Error %1!d! : %2!s! returned in GetProcessAddress
0x279178.11011%1!s! failed - %2!d! (%3!08x!)
0x279278.11011Error %1!d! : %2!s! returned in CertGetCertificateContextProperty
0x279378.11011Error %1!d! : %2!s! returned in WinHttpSendRequest - probably server is not configured to accept smart cards
0x27948.11011Error retrieving user input
0x27d978.11011Use Server Preffered Auth Scheme: %1!d!
0x27da78.11011Use Proxy Preffered Auth Scheme: %1!d!
0x27db78.11011Client failed to authenticate to RPC proxy
0x27dc78.11011To use BASIC authentication scheme for RPC Proxy, you must specify the user/domain/password (-P)
0x27dd78.11011To use BASIC authentication scheme for HTTP Proxy, you must specify the user/domain/password (-A)
0x27de78.11011Setting autologon policy to low
0x27df78.11011To use implicit logon credentials with NTLM, you must use SSL with server certificate subject or disable lanman hash
0x27e078.11011Setting autologon policy to high
0x27e178.11011Authentication scheme %1!d! is not supported. Currently only NTLM and BASIC are supported
0x27e278.11011Cannot convert server certificate subject to Unicode
0x27e378.11011The server certificate subject from the RPC proxy (%1!s!, %2!s!) does not match the one (%3!s!) specified
0x27e478.11011CredIsMarshaledCredential failed with NULL certCredentialInfo
0x27e578.11011CredIsMarshaledCredential failed with wrong CredType: %1!d!
0x27e678.11011CryptAcquireContextW failed with NULL cspProvider
0x27e778.11011Smart card auth has no implicit credentials
0x27e878.11011You must specify at least one authentication scheme if you specify the RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME
0x27e978.11011WinHttpSetCredentials for target server called
0x27ea78.11011Sending ping to server
0x27eb78.11011Server requires a certificate and client did not specify one. Exiting ...
0x27ec78.11011Client certificate is required by the server
0x27ed78.11011Smart card specified but not accepted by server (ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED returned). Exiting ...
0x27ee78.11011No smart card specified. Exiting ...
0x27ef78.11011Response from server received: %1!d!
0x27f078.11011Smart card used and error 401 returned from server - probably server is not configured to accept smart cards
0x27f178.11011Client is not authorized to ping RPC proxy
0x27f278.11011Access denied pinging HTTP proxy
0x27f378.11011First WinHttpQueryHeaders should not have succeeded
0x27f478.11011You mush specify Rpc Proxy
0x27f578.11011Error when checking IE settings %1!d!
0x27f678.11011Error %1!d! : %2!s! port # is too long
0x27f778.11011The IE settings are ambiguous. We don't know whether we should directly access RPC proxy or use HTTP proxy. You can use -R to clarify it
0x27f878.11011Either an interface or an endpoint can be given, but not both
0x27f978.11011Cannot find protocol sequence: %1!s!. Exiting...
0x27fa78.11011SChannel requires a certificate to be supplied
0x27fb78.11011Trying to resolve interface %1!X!-%2!X!-%3!X!-%4!X!%5!X!%6!X!%7!X!%8!X!%9!X!%10!X!%11!X!, Version: %12!d!.0
0x27fc78.11011Wrong access type %1!u!
0x27fd78.11011RPCPinging proxy server %1!s! with Echo Request Packet
0x27fe78.11011Pinging successfully completed in %1!d! ms
0x27ff78.11011Ping failed
0x280078.11011Exception %1!lu! (0x%2!08lX!)
0x280178.11011Couldn't get EEInfo: %1!d!
0x280278.11011Number of records is: %1!d!
0x280378.11011Couldn't finish enumeration: %1!d!
0x280478.11011ComputerName is %1!s!
0x280578.11011ProcessID is %1!d!
0x280678.11011System Time is: %1!d!/%2!d!/%3!d! %4!d!:%5!d!:%6!d!:%7!d!
0x280778.11011Generating component is %1!d!
0x280878.11011Status is 0x%1!X!, %2!d!
0x280978.11011Detection location is %1!d!
0x280a78.11011Flags is %1!d!
0x280b78.11011NumberOfParameters is %1!d!
0x280c78.11011Ansi string: %1!S!
0x280d78.11011Unicode string: %1!s!
0x280e78.11011Long val: 0x%1!x!
0x280f78.11011Short val: %1!d!
0x281078.11011Pointer val: 0x%1!x!
0x281178.11011Truncated
0x281278.11011Invalid type: %1!d!
0x281378.11011If you specify auth identity in the form , a domain must be specified: %1!s!
0x281478.11011If you specify auth identity in the form , a password must be specified: %1!s!,%2!s!
0x281578.11011Enter password for %1!s!:
0x281678.11011Cannot parse bitflags: %1!s!
0x281778.11011You must specify authentication level, security package and ncacn_http protocol sequence if you want to use RPC/HTTP front end security (%1!s!)
0x281878.11011You must specify the binding option if you want to Ping the RPC proxy. (-E)
0x281978.11011Invalid BindingOption (%1!s!). You must specify the RpcProxy
0x281a78.11011Cannot retrieve computer name %1!d! : %2!s!
0x281b78.11011Cannot retrieve smart card credentials %1!d! : %2!s!
0x281c78.11011Cannot parse interface UUID: %1!s!
0x281d78.11011If you specify authentication level other than 1, you must specify a security provider
0x281e78.11011If you specify a security package, you must specify authentication level other than none
0x281f78.11011Cannot parse SID: %1!s!
0x282078.11011You must specify one or more proxy authentication schemes if you want to authenticate to the HTTP Proxy
0x282178.11011You must use SSL if you want to verify the server certificate subject
0x282278.11011You must use SSL if you want to retrieve the server certificate subject
0x282378.11011You can retrieve the server subject certificate only if you do Proxy Echo only
0x282478.11011If you use a smart card for proxy auth, you cannot specify explicit proxy credentials
0x282578.11011If you use certificate for authentication, you must use SSL
0x282678.11011If you use a certificate, you must either use SCHANNEL as the auth package or use FE security and specify exactly one auth scheme (cert)
0x282778.11011HTTP Proxy authentication cannot be done with a smart card
0x282878.11011You need to specify the HTTP proxy only when -E is enabled
0x282978.11011Since you have specified the RPC/HTTP proxy echo only option (-E), the endpoint/interface you have specified will be ignored as no calls will reach the RPC/HTTP server
0x282a78.11011%1!s! [Y/N]:
0x282b78.11011%1!s! : %2!s!
0x282c78.11011Server Certificate Subject: (%1!s!;%2!s!)
0x282d78.11011Completed %1!d! calls in %2!d! ms %3!d! T/S or %4!3d!.%5!03d! ms/T
0x282e78.11011Maximum of seven -n switchs, extra ignored
0x282f78.11011You must specify one or more authentication schemes if you want to authenticate to the RPC/HTTP Proxy
0x283078.11011
0x283178.11011Time %1!s!: %2!d!.%3!03d!
0x283278.11011Couldn't run RPC Network Diagnostics: %1!d!
0x283378.11011Error %1!d! : %2!s! returned in CertSetCertificateContextProperty
0x283478.11011If you use a smart card for rpc auth, you cannot specify explicit credentials
0x283578.11011If you specify the certificate authentication scheme then you must use a smart card
0x283678.11011Binary val: Length %1!d! %2!X! %3!X! %4!X! %5!X!
0x283778.11011RPCPing set Activity ID: {%1!s!}
0x28388.11011Using basic authentication without SSL can expose your credentials. Do you want to continue? [%1!s!/%2!s!]
0x28398.11011Y
0x283a8.11011y
0x283b8.11011N
0x283c8.11011n
0x283d1011Error %1!d! : %2!s! returned in ConvertStringSecurityDescriptorToSecurityDescriptor
0x283e1011Cannot parse EffectiveOnly: %1!s!
0x283f1011EffectiveOnly must be either 0 or 1.
0x27117Usage: rpcping [-t ] [-s ] [-e |-f [,MajorVer]] [-O ] [-u ] [-a ] [-N ] [-I ] [-C ] [-T ] [-M ] [-S ] [-P ] [-F ] [-H ] [-o ] [-B ] [-b] [-E] [-q] [-c] [-A ] [-U ] [-r ] [-v ] [-d]
0x271478.1-S - the expected SID of the server. For more information see the Sid field in the RPC_SECURITY_QOS structure in the MSDN. Using this option requires Windows .NET Server 2003 or higher. This field can be used only when authentication level and security package are selected. -P - specifies the identity to authenticate with to the RPC/HTTP proxy. Has the same format as for the -I option. Also, you must specify security package (-u), authentication level (-a), and authentication schemes (-H) in order to use this option. -F - the flags to pass for RPC/HTTP front end authentication. The flags may be specified as numbers or names The currently recognized flags are: Use SSL - 1 or ssl or use_ssl Use first auth scheme - 2 or first or use_first See the Flags field in RPC_HTTP_TRANSPORT_CREDENTIALS for more information. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -H - the authentication schemes to use for RPC/HTTP front end authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM Certificate - 65536 or Cert Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -B - the server certificate subject. For more information, see the ServerCertificateSubject field in the RPC_HTTP_TRANSPORT_CREDENTIALS structure in the MSDN. You must use SSL for this option to work. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -b - retrieves the server certificate subject from the certificate sent by the server and prints it to a screen or a log file. Valid only when the Proxy Echo only option (-E) and the use SSL options are specified. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -R - specifies the HTTP proxy. if it's 'none', we will not use HTTP proxy but directly attempt the RPC proxy. the value 'default' means to use the IE settings in your client machine. any other value will be treated as the explicit HTTP proxy. if you don't specify this flag, the default value is assumed, that is, the IE settings are checked. this flag is valid only when the -E (Echo Only) flag is enabled.
0x27157-E - restricts the ping to the RPC/HTTP proxy only. The ping does not reach the server. Useful when trying to establish whether the RPC/HTTP proxy is reachable. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. To specify an HTTP proxy, use the -R flag. If an HTTP proxy is specified in the -o flag, this option will be ignored. -q - quiet mode. Does not issue any prompts except for passwords. Assumes 'Y' response to all queries. Use this option with care. -c - use smart card certificate. RPCPing will prompt user to choose smart card. -A - specifies the identity to authenticate with to the HTTP proxy. Has the same format as for the -I option. Also, you must specify authentication schemes (-U), security package (-u) and authentication level (-a) in order to use this option. -U - the authentication schemes to use for HTTP proxy authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM You must specify security package (-u) and authentication level (-a) in order to use this option. -r - if multiple iterations are specified, this option will make rpcping display current execution statistics periodically instead after the last call. The report interval is given in seconds. Default is 15. -v - tells rpcping how verbose to make the output. Default value is 1. 2 and 3 provide more output from rpcping. -d - launch RPC network diagnostic UI Example: Find out if your Exchange server that you connect through RPC/HTTP is accessible: rpcping -t ncacn_http -s exchange_server -o RpcProxy=front_end_proxy -P "username,domain,*" -H Basic -u NTLM -a connect -F 3 When prompted for the password, enter it. exchange_server is the name of your exchange server, front_end_proxy is the name of your proxy, username and domain are your user name and domain as you would enter them in the Outlook prompt. The other parameters will ask rpcping to ping your Exchange server in exactly the same way as Outlook will connect to it for the typical profile. -p - Prompt for credentials if authentication fails.
162 entries