PaExec returning The network path was not found. with exit code -6

Viewed 0

Hi,

I am trying to get the output from running a cmd on a remote computer.

Here is my syntax:

paexec -accepteula remoteIP -h -u "*" -p "*" hostname

Here is the output that I am getting:

Connecting to RemoteIP... Failed to connect to \RemoteIPADMIN$. The network path was not found. [Err=0x35, 53] Failed to copy [C:Program FilesVirima Discovery Applicationtoolspswin_paexec.exe] to [\RemoteIPADMIN$PAExec-12148-XYZ01.exe] -- going to try to continue anyway. The network path was not found. [Err=0x35, 53] Starting PAExec service on RemoteIP... Failed to connect to \RemoteIPIPC$. The network path was not found. [Err=0x35, 53] Failed to connect to Service Control Manager on RemoteIP. The RPC server is unavailable. [Err=0x6BA, 1722]

PAExec returning exit code -6

Please need an assistance.

Thanks Mifi.

3 Answers

Hi,

Quinn

By following below link I enabled the smb1 protocol.

https://www.prajwaldesai.com/cant-connect-to-file-share-obsolete-smb1-protocol/

After enabling smb1 protocol on my machine, I ran the below set of cmd from my machine and got the output with exit code 0.

paexec -accepteula RemoteIP1 -h -u "" -p "" hostname

But on running the same set of cmd on different remote machine from my machine throwing error with exit code -6

paexec -accepteula RemoteIP2 -h -u "" -p "" hostname

Connecting to RemoteIP... Failed to connect to RemoteIPADMIN$. The network path was not found. [Err=0x35, 53] Failed to copy [C:Program FilesVirima Discovery Applicationtoolspswin_paexec.exe] to [RemoteIPADMIN$PAExec-12148-XYZ01.exe] -- going to try to continue anyway. The network path was not found. [Err=0x35, 53] Starting PAExec service on RemoteIP... Failed to connect to RemoteIPIPC$. The network path was not found. [Err=0x35, 53] Failed to connect to Service Control Manager on RemoteIP. The RPC server is unavailable. [Err=0x6BA, 1722]

PAExec returning exit code -6

Thanks Mifi.

Hi Mifi,

As the error is stating that it can't find the network path, have you checked to make sure that it is correct? Have you check to make sure that you are using good conditionals?

You may also want to check to make sure the the RPC service is running on the remote machine and that you can access it from the network.

Thanks Quinn

Related