While trying to run a batch file present on a remote machine.
.\PsExec.exe \\<IP> -u <username> -p <pass> sample_bat.bat
I am encountering below error
Couldn't access : The network path was not found. Make sure that the default admin$ share is enabled on .
Note- I've enabled AutoShareServer also in regedit.
I've searched all forums but not able to find a working solution.