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