Hi,

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

Here is my syntax:

paexec -accepteula \remotecomputer -h -u "*" -p "**" hostname

Here is the output that I am getting:

Failed to connect to \remotecomputeripADMIN$. You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747 [Err=0x180, 384] Failed to copy [C:Program FilesVirima Discovery Applicationtoolspswin_paexec.exe] to [\remotecomputeripADMIN$PAExec-19532-hostname.exe] -- going to try to continue anyway. You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747 [Err=0x180, 384] Starting PAExec service on remotecomputerip... Failed to connect to \remotecomputeripIPC$. You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747 [Err=0x180, 384] Failed to connect to Service Control Manager on remotecomputerip. The RPC server is unavailable. [Err=0x6BA, 1722]

PAExec returning exit code -6

This question is marked "community wiki".

asked 17 Aug '20, 09:56

Mifi's gravatar image

Mifi
334
accept rate: 0%


HI Mifi,

The Error is letting you know that the SMB1 protocol needed to access the remote computer is not available. Did you follow the link in the error message to review what could be done to allow this to happen? Here are a few links with good information.

https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/smbv1-not-installed-by-default-in-windows

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

Hope these help!

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray checkmark to the left of the answer.

link

answered 18 Aug '20, 15:15

Quinn's gravatar image

Quinn ♦♦
14.4k3925
accept rate: 35%

Hi Quinn,

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

This worked!!

Thanks Mifi

link

answered 20 Aug '20, 11:55

Mifi's gravatar image

Mifi
334
accept rate: 0%

Glad to hear that you found a solution.

(20 Aug '20, 14:54) Quinn ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×60
×14
×14

Asked: 17 Aug '20, 09:56

Seen: 8,609 times

Last updated: 20 Aug '20, 14:54