Execute a program from a network shared folder

Viewed 0

Hi,

Since Windows 10 (at least 1809), I'm unable to execute a program from a network shared folder (NAS Synology or Windows Shared folder) on a non domain computer. The share access is authorized for everyone without password (guest). I can access it when I'm on the remote client via explorer without problem.

Test with a remote client in workgroup :

  • This command "paexec.exe \remote-client -u administrator -p password -i -d \serverIPshareprogram.exe" start the program but there is no interactive GUI

  • The same command with -s don't start the program and i've got an error code 9 (file not found on NAS share / access denied on Windows share) from paexec

Test with a remote client in domain : - Everything works fine, program starts and I can see its GUI

Is there a way to make it works correctly on a workgroup computer ?

Thanks for your time.

3 Answers

Hi tatanas,

I'm not sure it why it fails. Try running it with -rlo, this will create a log file where you might find some hints to the reason why it stopped.

https://www.poweradmin.com/paexec/

Also, somethin you will want to check is the Antivirus application running on the remote server. It maybe stopping PAExec. You should be able to whitelist PAExec.

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.

AV is disabled. No problem with Windows 7.

Here is the log :

User: 'administrateur', LocalSystem: true, Interactive: true, Session: -1

Not using redirected IO: DontWait=1, Interactive=1

Got Local System handle

Using SessionID 6 (interactive session)

PAExec starting process ["\\172.20.143.85\applications\mindview4.exe"] as Local System

Failed to start "\\172.20.143.85\applications\mindview4.exe". Le fichier spécifié est introuvable. [Err=0x2, 2]

PAExec service stopping

Looks like the file can't be found. Maybe this is a permissions issue.

Like I said, it's working on Windows 7. It seems Windows 10 blocks PaExec routine when the programm is on a network shared folder. Even if the share is completly open. As soon as the Windows Client joined a domain, it works.

Related