I have a project that uses PSEXEC, but the command tells me it can't find network path to target PC. I tried using NET VIEW command and was surprised to see that none of my PCs are listed, only Router and WHS. I have no networking problems so I'm stumped as to why NET VIEW is not behaving.
Anybody have thoughts as to why NET VIEW command will not list my network PCs.
In order to see other Windows 7 (along with Vista and the soon Windows 8), you must have enabled the "Turn on network discovery" option. If, however, are have an Active Directory with DNS, then this is not required as DNS would take over name resolution. The screen shot below if from Windows 8 CP, but Windows 7 is similar.
I seem to have solved by adding LocalAccountTokenFilterPolicy to registry. Now on to getting PSEXEC to work. I'm afraid it may be very difficult to figure out.
I use PSEXEC all of the time and have never had to do any registry hacks. Are these workgroup based computes are domain members? Do you have admit rights? Are you sure your firewalls are not the issue? Check these fundamental items first before messing with registry values. What you are trying to do is very possible and is done every day.
I have a small home network (workgroup)
I have an administrator account on all computers
I have temporarily turned off firewalls on both machines with no improvement
I have disconnected both computers from Homegroup feature
I have hacked two registry keys AutoShareWks =1 and LocalAccountTokenFilterPolicy =1 on the target computer. The hacks have stopped the "can not find path" and "ensure admin$ is enabled" error messages
The desired process (c:\windows\notepad.exe) does not run on the target computer
Psexec seems to run somewhat but does not return to the command prompt, acting like it has hung up.