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.
This question is marked "community wiki".
asked 26 Aug '20, 06:39 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 answered 27 Aug '20, 15:42 Quinn ♦♦ |
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. answered 27 Aug '20, 09:29 Mifi |
Hi Mifi You have asked this same question before. Here is a link to that question and the answer you accepted. http://support.poweradmin.com/osqa/questions/3329/paexec-returning-exit-code-6 Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer. answered 26 Aug '20, 14:28 Quinn ♦♦ |