TransWikia.com

PsExec.exe- The network path was not found

Server Fault Asked by ANegi on December 21, 2021

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.

One Answer

Try to see if you can access the admin share on target machine.

Use the -u & -p options to pass-on the administrator login details but if you're on a domain and the target system is not, or the other way around, you'll have to provide the proper user parameters too (domainusername if target is on domain, or username if you're the one on the domain and target is not or if domain differ).

Answered by Overmind on December 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP