Windows Container Name Virtualization (wcnfs) Service Defaults in Windows 10

Virtualizes file system names for processes running within Windows Containers.

Default Settings

Startup type:
Windows 10 Home 1507N/A
Windows 10 Pro 1507N/A
Windows 10 Education 1507N/A
Windows 10 Enterprise 1507N/A
Windows 10 Home 1511N/A
Windows 10 Pro 1511N/A
Windows 10 Education 1511N/A
Windows 10 Enterprise 1511N/A
Windows 10 Home 1607Automatic
Windows 10 Pro 1607Automatic
Windows 10 Education 1607Automatic
Windows 10 Enterprise 1607Automatic
Windows 10 Home 1703Manual
Windows 10 Pro 1703Manual
Windows 10 Education 1703Manual
Windows 10 Enterprise 1703Manual
Display name:Windows Container Name Virtualization
Service name:wcnfs
Service type:filesys
Error control:normal
Group:FSFilter Top
Path:%SystemRoot%\system32\drivers\wcnfs.sys
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wcnfs

Default Behavior

Windows Container Name Virtualization is a file system driver. It is starting automatically when the operating system starts in Windows 10 Home 1607, Windows 10 Pro 1607, Windows 10 Education 1607, Windows 10 Enterprise 1607. This service is starting only if the user, an application or another service starts it in Windows 10 Home 1703, Windows 10 Pro 1703, Windows 10 Education 1703, Windows 10 Enterprise 1703. If Windows Container Name Virtualization fails to start, the failure details are being recorded into Event Log. Then Windows 10 will start up and notify the user that the wcnfs service has failed to start due to the error.

Dependencies

Windows Container Name Virtualization cannot be started under any conditions, if the FltMgr service is disabled.

Restore Default Startup Configuration for Windows Container Name Virtualization

Before you begin doing this, make sure that all the services on which Windows Container Name Virtualization depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Depending on the version of your operating system, copy the commands below, paste them into the command window and press ENTER.

For Windows 10 1607 Home, Windows 10 1607 Pro, Windows 10 1607 Education, Windows 10 1607 Enterprise:
sc config wcnfs start= auto
sc start wcnfs

For Windows 10 1703 Home, Windows 10 1703 Pro, Windows 10 1703 Education, Windows 10 1703 Enterprise:
sc config wcnfs start= demand

3. Close the command window and restart the computer.

The wcnfs service is using the wcnfs.sys file that is located in the %WinDir%\system32\drivers folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 10 installation media.