Windows计算机上的网络摄像头容易出现各种错误,其中之一是网络摄像头关闭然后重新打开。由于网络摄像头的使用如此广泛,并且是大多数人桌面设置不可或缺的一部分,因此能够处理此错误非常重要。此错误可能是由计算机上的恶意软件入侵或损坏或过时的系统驱动程序引起的。今天,我们将讨论如何修复 Windows 11/10 中网络摄像头关闭和打开的(webcam turning off and on)问题。
网络摄像头(Webcam)不断关闭(Turning Off)并再次打开
在实施本文将讨论的任何变通方法之前,用户可以采取某些措施,例如确保相机直接连接到计算机,并检查它是否未设置为默认的“视频输入” ' 流媒体活动的选项。
- 检查(Check)Windows 、驱动(Drivers)程序(Windows)和BIOS更新
- 禁用相机USB 端口的(USB Port)省电功能(Power Saving)
- 重置/重新安装相机应用程序
- 禁用对相机的访问
- 在注册表编辑器中进行更改
1]检查(Check)Windows 、驱动(Drivers)程序(Windows)和BIOS更新
这是相当初级的。由于不兼容,Windows和BIOS等过时的基本实用程序可能会产生此类问题。如果您遇到这种情况,更新Windows 操作系统(Windows OS)、驱动程序(Drivers)和BIOS可以帮助您解决问题。
访问您的系统(System)设置和内部更新和安全(Security),检查是否有任何待处理的更新。您还应该确保了解所有可选更新的速度。安装所有更新后检查问题是否已解决。
相关(Related):网络摄像头不断冻结或崩溃(Webcam keeps freezing or crashing)。
2]禁用相机USB端口的(USB Port)省电功能(Power Saving)
如果您已将网络摄像头配置为在不活动期间关闭,则此类问题可能会持续存在。禁用相机的省电模式可以帮助您解决此问题。
使用 Windows +“X”组合键打开快速访问(Quick Access)菜单,然后从提供的选项列表中选择设备管理器(Device Manager)。
找到通用串行总线控制器(Locate Universal Serial Bus Controllers)( USB ) 并在展开它后,右键单击连接相机的USB端口。您可以通过依次禁用每个端口来检查/验证该端口是什么。
打开其属性并转到电源管理(Power Management)选项卡。
在这里,取消选中“允许计算机关闭此设备以节省电源(Allow the computer to turn off this device to save power)(Allow the computer to turn off this device to save power)”设置并保存这些设置。
应用上述更改后,重新启动 PC 并检查问题是否已解决。
相关(Related):笔记本电脑摄像头或网络摄像头不工作(Laptop Camera or Webcam is not working)。
3]重置/重新安装相机应用程序
视窗 11
要在Windows 11(Windows 11)中重置相机(Camera)应用,请打开Settings > Apps > Apps和功能 >定位相机(Locate Camera)应用> Advanced Options > Press REpair或重置(Reset)。
视窗 10
要将应用程序重置为其默认配置,我们将使用应用程序设置。在任务栏的搜索窗格中搜索它们。
在此处向下滚动(Scroll)一点,然后单击“重置(Reset)”按钮。
使用 Windows PowerShell
如果这不适合您,您也可以尝试重新安装相机(Camera)应用程序。由于无法像其他应用程序一样卸载相机应用程序,因此您必须使用Windows PowerShell来执行此操作。请按照以下步骤卸载相机(Camera)应用程序:
在任务栏(Taskbar)的搜索窗格中搜索Windows PowerShell(Windows PowerShell) ,然后选择以管理员身份(Administrator)运行(Run)。
粘贴并执行以下代码行以删除相机应用程序。
Get-AppxPackage Microsoft.WindowsCamera | Remove-AppxPackage
成功卸载相机应用程序后,您可以重新启动 PC 并访问Microsoft Store以将其下载回来。
4]禁用对相机的访问
如果由于其他系统进程正在使用相机应用程序而导致此错误,您可以做的是禁用对相机的访问。为此,您必须按照以下步骤操作:
视窗 11
在Windows 11中,您将在此处看到设置 -Settings > Privacy和安全 >定位相机(Locate Camera)。
视窗 10
按Windows + ‘ I”组合键打开Windows 10设置,然后在此处选择隐私选项。
在隐私设置左侧窗格的副标题应用权限下,选择(App)相机(Camera)。
在此设备的相机访问权限(Camera Access)下,单击更改(Change)并关闭随后的“相机(Camera)访问此设备”设置。
关闭允许(Allow)应用访问您的相机下的设置。这也将禁用允许桌面应用程序(Allow Desktop Apps)访问您的相机下的选项。
您现在可以重新启动您的 PC 并尝试操作您的网络摄像头以检查它是否正常工作。
5]在注册表编辑器中进行(Registry Editor)更改(Make)
如果在完成上述所有修复后问题仍然存在,您可以尝试在某些注册表编辑器中进行编辑。在进行任何更改之前,建议您备份现有注册表。
打开运行(Run)命令并输入“Regedit”或在搜索窗格中输入“注册表编辑器”并以管理员(Administrator)身份运行它。也给UAC访问权限。
导航到下面规定的路径
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform
在左侧的Directory中,右键单击Platform,然后从New选项创建一个新的 32 位DWORD值。
将此键重命名为EnableFrameServerMode并将其位值设置为0。
该过程尚未完成(对于 64 位系统),因为您必须在以下路径上重复上述过程,之后您可以退出注册表编辑器(Registry Editor)并重新启动 PC 以查看错误是否已修复。
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\Platform
您也可以尝试重新安装相机驱动程序(reinstalling the Camera driver)或扫描可能(scan for applications that may be conflicting)与相机功能冲突的应用程序,但我们相信上述解决方案之一会为您解决问题。
我希望我能够消除您对网络摄像头在关闭和打开之间闪烁的错误以及如何补救的疑虑。
Fix Webcam keeps turning off and on again on Windows 11/10
The webсam on a Windowѕ computer is prone tо all kinds of errors, one of them being the webcam turning off and then on аgain. Since webcams are uѕed so extensively and are an integral part of most people’s desktop setuр, it is important to be able to deal with this error. This error сan be caused by а malware invаsion on your computer or corrupt or dated system drivers. Today, we will be discussing how you cаn fix the webcam turning off and on issue in Windows 11/10.
Webcam keeps Turning Off and On again
There are certain measures that a user can take before implementing any of the workarounds that will be discussed in this article, like making sure that the camera is directly connected to the computer, and check if it is not set up as the default ‘video in’ option for streaming activities.
- Check for Windows, Drivers & BIOS updates
- Disable Power Saving for the Camera’s USB Port
- Reset/Reinstall the Camera app
- Disable access to the Camera
- Make changes in the Registry Editor
1] Check for Windows, Drivers & BIOS updates
This is pretty elementary. Outdated essential utilities like Windows and BIOS can create such issues because of incompatibility. If that is the case with you, updating Windows OS, Drivers, and BIOS can help you rectify the issue.
Visit your System settings and inside Updates and Security, check if there are any pending updates. You should also make sure that you are up to speed on all the optional updates. Check if the issue has been resolved after having installed all the updates.
Related: Webcam keeps freezing or crashing.
2] Disable Power Saving for the Camera’s USB Port
Such an issue may persist if you have configured your webcam to shut down during inactivity. Disabling the power-saving mode for your camera can help you solve this problem.
Open the Quick Access menu using the Windows + ‘X’ key combination and from the list of options offered, select Device Manager.
Locate Universal Serial Bus Controllers (USB) and upon expanding it, right-click on the USB port to which your camera is attached. You can check/verify what that port is by disabling each one of them in turns.
Open up its Properties and head over to the Power Management tab.
Here, uncheck the ‘Allow the computer to turn off this device to save power’ setting and save these settings.
After applying the aforementioned change, reboot your PC and check if the issue has been solved.
Related: Laptop Camera or Webcam is not working.
3] Reset/Reinstall the Camera app
Windows 11
To reset Camera app in Windows 11, open Settings > Apps > Apps and features > Locate Camera app > Advanced Options > Press REpair or Reset.
Windows 10
To reset the app to its default configurations, we’ll be making use of the app settings. Search for them in the taskbar’s search pane.
Scroll down a bit here, and click on the Reset button.
Using Windows PowerShell
If this doesn’t work out for you, you can try reinstalling the Camera app too. Since the camera app cannot be uninstalled like other apps, you will have to make use of Windows PowerShell to do so. Follow the steps below to uninstall the Camera app:
Search for the Windows PowerShell in the search pane on the Taskbar and select Run as Administrator.
Paste and execute the following line of code to remove the camera app.
Get-AppxPackage Microsoft.WindowsCamera | Remove-AppxPackage
Once the camera app has been successfully uninstalled, you can reboot your PC and visit the Microsoft Store to download it back.
4] Disable access to the Camera
If this error is caused because the camera app is being used by some other system process, what you can do is disable access to your camera. To do so, you have to follow the steps below:
Windows 11
In Windows 11 you will see the settings here – Settings > Privacy and security > Locate Camera.
Windows 10
Open your Windows 10 Settings by pressing the Windows + ‘I’ key combination and select the privacy option here.
Under the sub-head App permission on the left pane of the privacy settings, select Camera.
Under the Camera Access for this device, click on Change and toggle off the subsequent ‘Camera access to this device’ setting.
Switch off the setting under Allow apps to access your camera. This will also disable the option under Allow Desktop Apps to Access Your Camera.
You can now reboot your PC and try operating your webcam to check if it is working properly.
5] Make changes in the Registry Editor
If the issue persists after having gone through all the fixes that have been mentioned above, you can try making edits in some registry editor. Before you make any changes, it is recommended for you back up your existing registry.
Open the Run command and type ‘Regedit’ or type the words ‘Registry Editor’ in the search pane and run it as Administrator. Give UAC access thereon too.
Navigate to the path prescribed below
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\Platform
From the Directory on the left, right-click on Platform, and from the New option create a new 32-bit DWORD value.
Rename this key as EnableFrameServerMode and set its bit value to 0.
The process isn’t done (for 64-bit systems), as you have to repeat the above process on the following path, after which you can exit the Registry Editor and reboot your PC to see if the error has been fixed.
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\Platform
You can also try reinstalling the Camera driver or scan for applications that may be conflicting with the camera’s functioning, though we believe one of the above-mentioned solutions will do the trick for you.
I hope that I was able to clear your doubts about the error of the webcam flickering between off and on again and how it can be remedied.