5 Replies Latest reply on Jun 14, 2018 3:34 AM by Michael D

    Fails to scan certain Windows servers with REMQuery (0x00000040)

    Michael D



      Discovery Version: 11.3

      TKU: Feb 2018

      Proxy: Windows Active Directory Proxy on Windows Server 2016

      Language: REMQuery


      I get an error message from certain Windows servers when scanning.


      I can ping the servers from proxy.

      There is an ADMIN$ on the servers.

      The Windows Administrator says they can log in to the servers with the Discovery account.

      I can scan other servers with the same credentials.


      A strange thing is when I Test IP Access from Discovery it fails. The error message in Discovery is:


      Trying Windows Access

      Trying remote access via Windows AD Proxy <name>

      Remote Access Failed


      IP Access Test succeeds for another server.


      The error message in *.log at Proxy:


      3684: 2018-06-11 08:43:26,101: discovery.slave.worker.remquery_method: ERROR: test

      Traceback (most recent call last):

        File "discovery\slave\worker\remquery_method.pyo", line 466, in test

        File "discovery\slave\worker\remquery\connection.pyo", line 787, in __enter__

        File "discovery\slave\worker\remquery\connection.pyo", line 754, in _connect

        File "discovery\slave\worker\remquery\connection.pyo", line 662, in _remQueryRemote

        File "discovery\slave\worker\remquery\connection.pyo", line 274, in _connectToRemoteShare

      RemQueryException: The specified network name is no longer available. (0x00000040)

      3684: 2018-06-11 08:43:26,101: discovery.slave.worker.servants: INFO: x.x.x.x: test: Testing credentials failed using user <no username>. Credentials for <no username> are not valid


      6720: 2018-06-11 08:43:19,927: discovery.slave.worker.servants: INFO: x.x.x.x: getInfo entered using user <no username>.

      6720: 2018-06-11 08:43:19,959: discovery.slave.worker.servants: INFO: x.x.x.x: getInfo failed using user <no username>. All access methods exhausted


      What does RemQueryException: The specified network name is no longer available. (0x00000040) mean?


      Any suggestions on how do I troubleshoot this?


      With kind regards