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

Virtualizes file system names for processes running within Windows Containers.

The Windows Container Name Virtualization service does not exist in:

Default Settings

Startup type:
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
Windows 10 Home 1709Manual
Windows 10 Pro 1709Manual
Windows 10 Education 1709Manual
Windows 10 Enterprise 1709Manual
Windows 10 Home 1803Manual
Windows 10 Pro 1803Manual
Windows 10 Education 1803Manual
Windows 10 Enterprise 1803Manual
Windows 10 Home 1809Manual
Windows 10 Pro 1809Manual
Windows 10 Education 1809Manual
Windows 10 Enterprise 1809Manual
Windows 10 Home 1903Manual
Windows 10 Pro 1903Manual
Windows 10 Education 1903Manual
Windows 10 Enterprise 1903Manual
Windows 10 Home 2004Manual
Windows 10 Pro 2004Manual
Windows 10 Education 2004Manual
Windows 10 Enterprise 2004Manual
Windows 10 Home 20H2Manual
Windows 10 Pro 20H2Manual
Windows 10 Education 20H2Manual
Windows 10 Enterprise 20H2Manual
Windows 10 Home 21H1Manual
Windows 10 Pro 21H1Manual
Windows 10 Education 21H1Manual
Windows 10 Enterprise 21H1Manual
Windows 10 Home 21H2Manual
Windows 10 Pro 21H2Manual
Windows 10 Education 21H2Manual
Windows 10 Enterprise 21H2Manual
Windows 10 Home 22H2Manual
Windows 10 Pro 22H2Manual
Windows 10 Education 22H2Manual
Windows 10 Enterprise 22H2Manual
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 all editions of Windows 10 1607. This service is starting only if the user, an application or another service starts it in all editions of Windows 10 1703, Windows 10 1709, Windows 10 1803, Windows 10 1809, Windows 10 1903, Windows 10 2004, Windows 10 20H2, Windows 10 21H1, Windows 10 21H2, Windows 10 22H2.

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 of 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, Windows 10 1709 Home, Windows 10 1709 Pro, Windows 10 1709 Education, Windows 10 1709 Enterprise, Windows 10 1803 Home, Windows 10 1803 Pro, Windows 10 1803 Education, Windows 10 1803 Enterprise, Windows 10 1809 Home, Windows 10 1809 Pro, Windows 10 1809 Education, Windows 10 1809 Enterprise, Windows 10 1903 Home, Windows 10 1903 Pro, Windows 10 1903 Education, Windows 10 1903 Enterprise, Windows 10 1909 Home, Windows 10 1909 Pro, Windows 10 1909 Education, Windows 10 1909 Enterprise, Windows 10 2004 Home, Windows 10 2004 Pro, Windows 10 2004 Education, Windows 10 2004 Enterprise, Windows 10 20H2 Home, Windows 10 20H2 Pro, Windows 10 20H2 Education, Windows 10 20H2 Enterprise, Windows 10 21H1 Home, Windows 10 21H1 Pro, Windows 10 21H1 Education, Windows 10 21H1 Enterprise, Windows 10 21H2 Home, Windows 10 21H2 Pro, Windows 10 21H2 Education, Windows 10 21H2 Enterprise, Windows 10 22H2 Home, Windows 10 22H2 Pro, Windows 10 22H2 Education, Windows 10 22H2 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 C:\Windows\system32\drivers directory. If the file is removed or corrupted, read this article to restore its original version from Windows 10 installation media.