Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Questions and Answers / Windows 10 1803 can’t run EXE files from a network shared folders

May 16, 2018 Questions and Answers

Windows 10 1803 can’t run EXE files from a network shared folders

After upgrading to Windows 10 1803 (April Update), users began to complain that they can’t run executable files that are located in network shared folders on the Windows file server and NAS storage.

The problem manifests itself in different ways. Some network applications simply do not start from network folders (The application was unable to start correctly (0xc00000ba), 0xC0000005: Access violation reading location 0x0000000000000000), while others start fine, but all the functionality associated with network connections with other servers is not available. In particular, doesn’t working the connection to the remote MS SQL Server via both ODBC and ADO SQL connection, the client also can’t connect to the Oracle database either.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified).

The problem occurs when you try to run EXE files from shared folders using the UNC path (\\file-server\share\app1.exe) or when you run executables from network folders mapped to a local drive letter (using NET USE).

However, in Windows 10 1709 and Windows Server 2016, the same programs run from network folders correctly. To run these programs on Windows 10 1803, you will have to copy the executable files to a local disk. If you rollback the Windows 10 1803 update on your computer, the problem also disappears.

It seems that Windows 10 1803 blocks network access to programs running from shared network folders and the programs themselves are crash when they trying to open a network socket. The problem is somewhat similar to the problem of disabling insecure guest logons in Windows 10 1709, but this solution did not help.

One of the users found the following workaround: if you select in the exe file properties, that this program should be run in compatibility mode for Windows 8, the network programs start working!

windows 10 1803 run executables from network folder in compatibility mode for Windows 8

However, as a permanent solution to use it incorrectly. I would like to find the cause of the problem.

During troubleshooting the problem, it was found that in all cases devices supporting only SMBv1 file access protocol were used to provide shared folders service. At the same time, on the Windows 10 workstations a separate client feature was enabled to access network folders using SMBv1 (SMB 1.0/CIFS Client).

enable SMB 1.0/CIFS Client windows 10 1803

If you move the executable files to the shared folder on Windows Server 2012 R2 / 2016, on which SMB1 is disabled, the executable files run correctly!

It can be concluded that Windows 10 update 1803 for security reasons does not allow you to open network connections in programs running from shared folders that are accessible only using the SMBv1 protocol. As network folders, you need to use devices that support SMBv2 or SMBv3.

Note. Recall that when the client and server interact using the SMB protocol, the maximum version of the protocol is selected for communication, which is simultaneously supported by the client and the server (see the article SMB versions in Windows). You can determine the version of SMB with which your client connects to the file server using the Get-SmbConnection cmdlet.

Get-SmbConnection check used SMB version

Check if SMBv2 or SMBv3 is enabled on your server with the command:

Get-SmbServerConfiguration | Select EnableSMB2Protocol

EnableSMB2Protocol

If SMBv2 is disabled, you can enable it:

Set-SmbServerConfiguration -EnableSMB2Protocol $true

In our case, the used NAS storage device also supports file sharing only using the SMBv1 protocol, so it can’t be used to run programs on workstations updated to Windows 10 1803.

If you are still using Windows Server 2003 as a file server, you should understand that only SMBv1 is supported in this version. Accordingly, you can’t use this OS as a file server when accessing it from Windows 10 1803 and higher.

Also, if you use Linux Samba as a file server, to disable SMB1 you need in the configuration file smb.conf to add the line min protocol = SMB2 in the [global] section and restart Samba.

20 comments
1
Facebook Twitter Google + Pinterest
previous post
Sending Emails from Excel using VBA Macro and Outlook
next post
Can’t Remove Extra Languages after Windows 10 1803 April Update

Related Reading

Configuring Software RAID on Linux Using MDADM

January 11, 2021

Install and Configure OpenVPN Server on Linux CentOS/RHEL

December 31, 2020

Compress, Defrag and Optimize MariaDB/MySQL Database

November 3, 2020

Configuring High Performance NGINX and PHP-FPM Web Server

October 23, 2020

Install and Configure PostgreSQL on CentOS/RHEL

October 19, 2020

20 comments

MKGeek May 16, 2018 - 7:21 am

Thanks for the info! But the problem with running applications from network folders is actually related to updating the engine of the built-in antivirus Windows Defender in Windows 10 1803. If you disable Windows Defender and install an alternative antivirus, the problem with executing executable files from the shared folders disappears. So, if you have a file server with Windows Server 2003 / Windows XP / or an outdated NAS device left on the network, disabling Windows Defender can help you.

Reply
Alan Gresham May 17, 2018 - 9:18 am

My experience is not consistent with the problem being Windows Defender MKGEEK. I get different results when the network location is my NAS (problem evident), compared to a file share on my Windows File servers (problem not evident). And disabling Defender didn’t help at all.

So for me, the problem seems very much consistent with the article.

Reply
Bartosz May 17, 2018 - 5:08 pm

I also had the same problem with running exe files from the NAS. But at me instead of Windows Defender in my Windows 10 1803 the antivirus Symantec is installed.
The problem was solved by removing Symantec and installing instead a free AVG

Reply
Diego May 31, 2018 - 6:37 pm

The problem is not with Windows Defender. I have Nod32 Smart AV with Firewall enabled(so Windows defender DISABLED) and the problem persist. It´s like ALAN GRESHAM said.

Diego.

Reply
Steve Glascoe May 17, 2018 - 5:13 pm

It’s a problem with Defender and other Antivirus programs. I uninstalled our Symantec Endpoint Protection Small Business Edition, then enabled the Windows Firewall and install Avast antivirus and the program would load as before. So, I think it’s a Microsoft problem along with SOME of the other Antivirus programs.

Reply
tech May 18, 2018 - 7:40 am

So the question is what Avast and AVG modified in the registry to make it work again?

Reply
wolfkin May 23, 2018 - 4:18 pm

As an additional bit of information on this. I have this issue – but, only on my stations joined in a WorkGroup. The ones using a Domain login can launch and run apps without Databese connection errors.

With the Workgroup apps, I use a specific Username/Pwd to connect to the database. I can open a UDL file and connect successfully to the database. Running the App on the local station works as advertised.

I will be attempting the Avast solution.

Reply
Windows 10 1803 can’t run EXE files from a network shared folders | Chilkat Tech Notes May 23, 2018 - 10:17 pm

[…] The answer is found here. […]

Reply
CompTech May 30, 2018 - 8:42 am

Any new news from MS about a better fix for this rather than a bad workaround?

Reply
Alan Gresham May 30, 2018 - 10:29 am

They broadcast for years that SMBv1 support was going to be dropped – if your network storage doesn’t support (or the case of a NAS device have a firmware upgrade that will support) SMBv2 or SMBv3 then that device has reached the end of it’s useful life for use within a Windows environment. They aren’t going to reverse this…

Reply
COMPTECH May 31, 2018 - 2:25 am

Yes we already know regarding that SMBv1 support since it was announced! The question is why it will work when you install like AVG and Avast?

Reply
Alan Gresham May 31, 2018 - 3:03 am

Because they aren’t doing as good a job of protecting you against the risks of letting executables hosted on an SMBv1 disk do whatever they like. Or am I missing something?

Reply
COMPTECH June 1, 2018 - 1:14 pm

There must be something change in windows registry or what ever settings, because in windows 1709 it still works, It seems windows 10 1803 is blocking programs that opening a network socket. But anyway as what I saw on MS forum it seems MS is already inform about it and most of the people there are waiting for the subsequent update from MS.

Alan Gresham June 4, 2018 - 1:06 am

This blog entry from an MSFT is why I don’t think that it’s an accident that we are seeing this behaviour, and why I don’t expect to see a fix from Microsoft.

https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/

Reply
COMPTECH June 14, 2018 - 7:01 am

A user on MS forum has discovered how AVG fixes the issue. Apparently it’s related to a File System Filter Driver which is part of AVG antivirus applications and when i search about that file the description is “AVG Virtualization Driver”.
But even more encouraging is that Microsoft has now acknowledged that a fix is currently in the works.
https://support.microsoft.com/en-nz/help/4284835/windows-10-update-kb4284835

Reply
Alan Gresham June 14, 2018 - 7:19 am

Many thanks for the info, great work!

Reply
a1 June 27, 2018 - 9:57 am

This appears to be fixed in KB4284848 released today.
Addresses an issue where some users may receive an error when accessing files or running programs from a shared folder using the SMBv1 protocol. The error is “An invalid argument was supplied”.

Reply
COMPTECH July 5, 2018 - 7:03 am

Yes, this KB4284848 is the real deal… Case Solve….:-)

Reply
KPG July 5, 2018 - 4:47 pm

Confirmed KB4284848 on win 10 home 1803 allows exe’s to access internet resources when run from a mapped drive using SMB 1.5.

Reply
Võ Mạnh Hùng võ July 1, 2020 - 2:44 pm

It work. I change regedit “EnableLUA” key to “0” in \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System . My system is windows 10 ver 1709.

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • Preparing Windows for Adobe Flash End of Life on December 31, 2020

    January 22, 2021
  • Checking User Logon History in Active Directory Domain with PowerShell

    January 22, 2021
  • How to Disable/Remove Thumbs.db File on Network Folders in Windows?

    January 21, 2021
  • MS SQL Server 2019 Installation Guide: Basic Settings and Recommendations

    January 19, 2021
  • USB Device Passthrough (Redirect) to Hyper-V Virtual Machine

    January 15, 2021
  • Windows 10: No Internet Connection After Connecting to VPN Server

    January 13, 2021
  • Updating the PowerShell Version on Windows

    December 24, 2020
  • How to Enable and Configure User Disk Quotas in Windows?

    December 23, 2020
  • Restoring Deleted Active Directory Objects/Users

    December 21, 2020
  • Fix: Search Feature in Outlook is Not Working

    December 18, 2020

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Windows Defender Threat Service has stopped. Restart it now
  • Fix: RDP Authentication Error Has Occurred – The Function Requested Is Not Supported
  • Slow RemoteAPP Experience, Mouse and Menu Lags after Windows 10 1803 April Update
  • Can’t Remove Extra Languages after Windows 10 1803 April Update
  • Edge Browser and Store Stopped Working after Windows 10 1809 Update
  • “The update is not applicable to your computer”: Windows Update Error
  • SSL Error: This Site Can’t Provide a Secure Connection in Chrome, Opera & Chromium
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top