How to temporarily deactivate the kernel mode filter driver in Windows
- 814112 Files on network shares open slowly or read-only or you receive an error message
- Event ID 2022 errors messages that occur in the System log, for example:
When you are troubleshooting any one of these issues, frequently, you have to do more than just stop or disable the services that are associated with the software. Even if you disable the software component, the filter driver is still loaded when you restart the computer. You may be forced to remove a software component to find the cause of an issue. As an alternative to removing the software component, you can stop the relevant services and disable the corresponding filter drivers in the registry. For example, if you prevent antivirus software from scanning or filtering files on your computer, you must also disable the corresponding filter drivers.
To disable filter drivers, you must first identify third-party services and their corresponding filter drivers. After you do this, follow these steps.
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
Important An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled.
For additional information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:
For additional information about how to disable antivirus software, click the following article number to view the article in the Microsoft Knowledge Base:
Type registry settings:
To disable filter drivers, you must first identify third-party services and their corresponding filter drivers. After you do this, follow these steps.
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
Important An antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled.
For additional information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:
129972 Computer viruses: description, prevention, and recovery
- Stop all services that belong to the software package.
- Set the Startup type to "Disabled." To do this, follow these steps:
- Click Start, click Control Panel, double-click
Administrative Tools, and then double-click Services. - In the Details pane, right-click the service that you want to configure, and then click Properties.
- On the General tab, click Disabled in the Startup type box.
- Click Start, click Control Panel, double-click
- Set the Start registry key of the corresponding filter drivers to 0x4. A value of 0x4 will disable the filter driver.To do this, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756 How to back up and restore the registry in Windows- Start Registry Editor.
- Create a backup of the HKEY_LOCAL_MACHINE\System registry hive.
- Locate, and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Click the entry for the filter driver that you want to disable.
- Double-click the Start registry setting, and then set it to a value of 0x4.
Note This registry entry typically has a value of 0x3.
- Restart the computer.
For additional information about how to disable antivirus software, click the following article number to view the article in the Microsoft Knowledge Base:
240309 How to fully disable antivirus software from filtering files
Example of filter drivers
This section describes some of the typical filter driver names by product:Antivirus
- Inoculan: INO_FLPY and INO_FLTR
- Norton: SYMEVENT, NAVAP, NAVEN, and NAVEX
- McAfee (NAI): NaiFiltr and NaiFsRec
- Trend Micro: Tmfilter.sys and Vsapint.sys
Backup agent
- Backup Agent for Open Files: Ofant.sys
- Open Transaction Manager from Veritas BackupExec: Otman.sys (Otman4.sys or Otman5.sys)
Note Use caution if you disable these filter drivers by using the method that is described in this article. If you do this, you may receive a "stop 0x7b" error message.
The "stop 0x7b Inaccessible_Boot_Device" error message may occur if the following registry keys exist and contain references to the Otman5 driver when the Otman5.sys driver either does not exist on the hard disk or if the driver is set to disabled.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E967-E325 -11CE-BFC1-08002BE10318}\UpperFilters
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A -11D0-BEC7-08002BE2092F}\UpperFilters
If you experience the "stop 0x7b" error message you should back up these registry keys and delete the Otman5 reference.
Driver registry settings
The following table lists valid settings and their description for the driver's Start andType registry settings:
Value Name | Value Setting | Description of Value Setting |
Start | 0 = SERVICE_BOOT_START | Ntldr or Osloader preloads the driver so that it is in memory when the computer starts. These drivers are initialized just before the SERVICE_SYSTEM_START drivers. |
Start | 1 = SERVICE_SYSTEM_START | The driver loads and initializes after SERVICE_BOOT_START drivers have initialized. |
Start | 2 = SERVICE_AUTO_START | Service Control Manager (SCM) starts the driver or service. |
Start | 3 = SERVICE_DEMAND_START | SCM must start the driver or service on demand. |
Start | 4 = SERVICE_DISABLED | The driver or service does not load or initialize. |
Type | 1 = SERVICE_KERNEL_DRIVER | Device driver. |
Type | 2 = SERVICE_FILE_SYSTEM_DRIVER | Kernel-mode file system driver. |
Type | 8 = SERVICE_RECOGNIZER_DRIVER | File system recognizer driver. |
References
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
314743 How to enable verbose debug tracing in various drivers and subsystems
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products
Comments
Post a Comment