We help IT Professionals succeed at work.

Windows 10 Cannot Run Executable Located On A Network Share Accessed Via A UNC Path

650 Views
Last Modified: 2018-08-31
Hello Experts,

I’m running into a strange issue on Windows 10 to which I’m hoping you can help me find a solution.  We have a Windows 7 workstation (named WS7-1) that is actually acting as a server for a specialized application (I know this is bad practice, but it’s a politics thing).  The installation files for the specialized application are on a share on WS7-1 (share name is “Common”.  The share permissions on the share are authenticated users have full control.  The NTFS permissions on the share are authenticated users have full control.  If I access the installation files via UNC (\\WS7-1\Common\InstallFiles\Setup.exe) from my Windows 7 workstation, I can access and execute the setup program without issue.  If I access the installation files via UNC from my Windows 10 workstation, I get the following error:

Windows cannot access
\\WS7-1\Common\InstallFiles\Setup.exe

You do not have permissions to access \\WS7-1\Common\InstallFiles\Setup.exe.  Contact your network administrator to request access.


From the Windows 10 workstation, I can actually navigate to the install files without any issues.  I just cannot run the setup executable.

Any thoughts on what could be causing this issue?  I’ve read some articles stating it could be SMB related, so I’m going to start taking a look at some of those settings.

Thanks in advance,
Nick
Comment
Watch Question

JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Your Windows 7 machine may be using SMBv1 and that is gone. Windows 10 disabled SMBv1 a while back.

Try this Microsoft Article for removing SMBv1 on Windows 7
https://support.microsoft.com/en-ca/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and

Can you Ping Windows 7 (probably), share folders (maybe not)?
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
From the Windows 10 workstation, I can actually navigate to the install files without any issues.

That eliminates an SMBv1 issue in my book.  This feels like a permissions issue to me.  Specifically, windows makes a distinction between "read" and "read and execute"

Copy the installation files form the share to a local folder THEN try launching the executable (from the local location.)
DanOwner
CERTIFIED EXPERT

Commented:
I have had that problem allot I do the Cliff method, but I think one day there will be a situation where I will need to install from a network drive.   I would love to hear the answer for this one.  There must be a trusted setting in the registry somewhere.
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Does it work if you map the drive ?

If you right click on the setup.exe>>Properties>>> is there an option for unblock ??
DanOwner
CERTIFIED EXPERT

Commented:
not for me, and yes it was mapped, I even tried shutting off defender, firewall and uac
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Who's the author of this question ??
DanOwner
CERTIFIED EXPERT

Commented:
his name is Nick.  It's right below his question.

Author

Commented:
Hello All,

We copied the installation files to the local drive and were able to get the application installed with the local copy.  What the vendor is telling us is that updates to various elements of the application are pushed down to the server and the client is programmed to check for the updates on the server share using scripts that use the UNC.

I have not tested using a mapped drive.  

I did check for the unblock button, but it did not exist.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
See what happens with a mapped drive (NET USE T: \\server\folder)
Owner
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Never saw that issue in Windows 10 with good applications.
DanOwner
CERTIFIED EXPERT

Commented:
I see it all the time.  you may want to save that helper.  

Two "good" programs I can tell you right of the top of my head

Office Mate, what Eye Dr.'s use

http://www.eyefinity.com/practice-management/We-Moved

NovaBackup

http://novabackup.novastor.com/
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
I do not use those programs. Just commercial apps and no issues.
CERTIFIED EXPERT
Distinguished Expert 2018

Commented:
Getting off topic guys.

From what I can tell, the app was able to be installed.  And the app has some logic that can check a UNC path for updates.  So unless I'm missing something, the OPs need has been addressed and this is all just academic, which is probably a conversation better suited outside of an EE question.  Yes?
David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Don't know why click-once won't install
https://www.screencast.com/t/3ULPWtWHo

Author

Commented:
Thank you everyone.  I appreciate everyone's input.  I made the registry change in Dan's post and was able to run the executable from the share via UNC.
DanOwner
CERTIFIED EXPERT

Commented:
hurray!!!!   Thanks a ton, I fee like I should give a speech.  This is my first resolution!!!!  You have inspired me to keep on helping out.