得益于DirectX API的图形功能,Microsoft Windows已将自己确立为最适合游戏的操作系统。但是,当这个关键组件在您的计算机上无法正常运行时,您应该怎么做?
DirectX必须在早期版本的(DirectX)Windows中单独安装,因为它通常与游戏一起打包。然而,这些天来,这个过程应该是自动的,这使得找到一种手动完成它的方法有点棘手。为了帮助您,以下是在您的Windows PC上重新安装DirectX的所有方法。(DirectX)
何时需要在计算机上重新安装(Computer)DirectX?
默认情况下,Windows 11/10 已经包含最新版本的DirectX 12。通常,这意味着您的 PC 在任何新驱动程序上都保持最新状态,从而为您的硬件提供最佳图形性能。
但有时可能会遇到故障。也许您的Windows 更新已暂停(Windows updates are paused)。可能DirectX安装已损坏。不管是什么原因,如果您的计算机上有任何图形问题(例如在运行视频游戏时),那么首先要尝试的是重新安装DirectX。
方法(Method)#1:下载DirectX 安装程序(DirectX Installer)
尽管DirectX会自动安装和更新,但仍然存在独立的安装程序。它可用于在您的计算机上手动添加过时的DirectX模块,而无需删除现有的DirectX安装。
- 要获取DirectX 最终用户运行时 Web 安装程序,(DirectX End-User Runtime Web Installer, )请访问Microsoft 的官方网站(Microsoft’s official website)。安装程序很小,因为下载了安装过程中所需的文件。
- 运行此设置并接受许可协议。确保您仍然连接到互联网,因为现在将检索需要安装的任何模块。
- 根据已安装的DirectX版本,它可能需要几秒钟到一个小时之间的任何时间。如果您的 PC 没有丢失任何DirectX组件,安装程序将退出而不进行任何更改。
使用官方Windows安装程序是在您的系统上重新安装DirectX的推荐方法。一旦运行时安装程序(Runtime Installer)完成了它的工作,您就不应该面临任何与DirectX相关的问题。
方法(Method)#2:检查Windows 更新(Windows Updates)
由于DirectX默认包含在Windows 11/10中,因此您无需寻找独立的安装程序。只需保持更新(staying updated)就足以确保您的系统运行最新版本的DirectX 12,因为Windows更新包含DirectX软件包。
- 要检查Windows 更新(Windows Updates),请前往开始(Start)菜单并打开设置(Settings)。
- 在出现的窗口中,选择更新和安全。(Update & Security.)
- 此类设置中的第一个选项卡是Windows 更新(Windows Update)。使用检查更新(Check for updates)按钮刷新Windows。如果有任何更新挂起,Windows现在将检测并安装它们。
一旦您获得了最新的Windows 更新(Updates),您就无需再担心重新安装DirectX。操作系统将自动配置DirectX模块,为您提供硬件可以支持的最新版本。
方法(Method)#3:禁用第三方应用程序(Apps)和服务(Services)
如果前两种方法不起作用,则问题可能出在其他地方。第三方应用程序或服务很少会干扰(Very)DirectX。即使您的计算机上安装了正确的版本,这种干扰也会导致DirectX问题。(DirectX)
- 要禁用启动(Startup) 服务(Services),请打开任务管理器(Task Manager)。您可以使用Ctrl + Alt + Del 键盘快捷键或右键单击任务栏(Taskbar)并从菜单中选择任务管理器。(Task Manager)
- 如果这是您第一次打开任务管理器(Task Manager),您将只能看到正在运行的应用程序,而不是任何服务或进程。要获得完整视图,请选择更多详细信息。(More details.)
- 任务管理器(Task Manager)现在将显示您 PC 上的每个正在运行的任务,包括系统进程或后台任务。切换到启动(Startup)选项卡。
- 在启动(Startup)选项卡中是启动 PC 时默认运行的所有服务的列表。这些应用程序不仅会降低您的计算机速度,而且通常会导致与其他更关键的应用程序发生冲突。选择所有不必要的服务并选择禁用(Disable)按钮。
- 启动(Startup)服务并不是在您的计算机上运行的唯一占用资源的应用程序。有很多服务没有出现在该列表中,但无论如何都会在后台运行。要禁用此类任务,请通过从“开始(Start)”菜单中搜索来打开“系统配置”。(System Configuration)
- MSConfig 系统实用程序(MSConfig system utility)可让您在计算机上配置启动选项,并且比任务管理器(Task Manager)更详细。注意此屏幕上的正常启动选项;(Normal startup)完成诊断后,您需要启用它以使事情恢复正常。现在,选择“服务(Services)”选项卡继续。
- 此处列出了您 PC 上运行的所有后台服务。这也包括系统进程,因此启用隐藏所有 Microsoft 服务(Hide all Microsoft services )复选框以将其删除。现在您可以使用禁用所有(Disable all)按钮来关闭所有这些额外的进程。
请注意,此步骤不是永久性的。此列表中的许多服务虽然不是必不可少的,但仍然有些有用,需要为您的计算机的最佳性能工作。这仅允许我们检查是否有任何第三方应用程序可能会干扰您的DirectX安装。
您现在需要做的就是重新启动 PC 并查看DirectX是否正常工作。如果是,那么上一个列表中的一项服务就是罪魁祸首。我们建议您一一启用它们以找到有问题的应用程序,然后您可以将其卸载或禁用。
完成后,请记住返回系统配置(System Configuration)应用程序并选择正常启动(Normal startup)以将其设置回默认值。
方法(Method)#4:在命令提示符下运行(Command Prompt)系统文件检查器(System File Checker)
如果您正确安装了DirectX,更新了您的计算机,甚至检查了任何冲突的服务,那么剩下的唯一可能就是数据损坏。损坏的驱动程序和系统文件通常会引发奇怪的错误并且很难诊断。
- 要查找并修复计算机上任何损坏的系统文件,请以管理员身份打开命令提示符。(Command Prompt)只需在搜索框中键入(Search)cmd即可找到该应用程序。
- 我们将使用一个名为System File Checker的(System File Checker)命令提示实用(command prompt utility)程序。顾名思义,它检查所有系统文件是否有任何数据损坏,修复受影响的文件。输入命令sfc /scannow以运行该工具。
- 系统文件检查器(System File Checker)现在将扫描您的Windows安装并验证每个文件的完整性。扫描完成后,您的所有系统文件都已检查并修复。
在Windows 11/10重新安装 DirectX(Reinstall DirectX)的最佳方法是什么?
由于DirectX是(DirectX)Windows 11/10的一个组成部分,您通常不必担心自己安装它。相反,Windows 更新会自动修补DirectX问题,让您可以自由地玩游戏和运行其他图形应用程序。
但是,如果您的计算机显示DirectX问题,手动重新安装它不是一个坏主意。为此,您可以使用 Microsoft 的独立安装程序,或者只是确保您的Windows 更新(Updates)不会停止。
当安装DirectX不是问题时,您应该检查冲突的应用程序和系统损坏。修复这些问题可确保DirectX在您的(DirectX)Windows计算机上顺利运行。
How To Reinstall DirectX on Windows 11/10
Thanks to the grаphical capabilities of the DirectX API, Microsoft Windows has established itself as the best operating system for gaming. But what should you do when this crucial component is not functioning properly on your computer?
DirectX had to be installed separately in earlier versions of Windows since it was often packaged along with games. These days, however, the process is supposed to be automatic, which makes finding a way to do it manually a bit tricky. To help you out, here are all the methods to reinstall DirectX on your Windows PC.
When Do You Need To Reinstall DirectX on Your Computer?
By default, Windows 11/10 already includes the latest version of DirectX 12. Usually, this means that your PC remains up to date on any new drivers, giving you the best graphical performance on your hardware.
But it is sometimes possible to run into glitches. Maybe your Windows updates are paused. Perhaps the DirectX installation has gotten corrupted. Whatever the reason, if there are any graphical issues on your computer (such as in running video games), then the first thing to try is to reinstall DirectX.
Method #1: Download the DirectX Installer
While DirectX is installed and updated automatically, a standalone installer still exists. It can be used to manually add outdated DirectX modules on your computer without removing your existing DirectX installation.
- To get the DirectX End-User Runtime Web Installer, head to Microsoft’s official website. The installer is tiny, as the files required during installation are downloaded.
- Run this setup and accept the license agreement. Make sure you are still connected to the internet, as any modules that need to be installed will be retrieved now.
- Depending on the version of DirectX already installed, it can take anything between a few seconds to an hour. If your PC is not missing any DirectX components, the setup will exit without making any changes.
Using the official Windows installer is the recommended method for reinstalling DirectX on your system. You shouldn’t face any DirectX-related issues once the Runtime Installer has done its thing.
Method #2: Check for Windows Updates
As DirectX is included in Windows 11/10 by default, you don’t need to look for a standalone installer. Just staying updated is enough to ensure that your system is running the latest version of DirectX 12, as Windows updates include DirectX packages.
- To check for Windows Updates, head to the Start menu and open Settings.
- In the window that appears, select Update & Security.
- The very first tab in this category of settings is the Windows Update. Use the Check for updates button to refresh Windows. If any updates are pending, Windows will now detect and install them.
Once you are up-to-date with your Windows Updates, you don’t need to worry about reinstalling DirectX anymore. The operating system will automatically configure the DirectX modules to give you the latest possible version that your hardware can support.
Method #3: Disable Third-Party Apps and Services
In case the first two methods don’t work, it’s likely the problem lies elsewhere. Very rarely, a third-party application or service interferes with DirectX. This interference can cause DirectX issues even with the correct version installed on your computer.
- To disable Startup Services, open the Task Manager. You can either use the Ctrl + Alt + Del keyboard shortcut or right-click on the Taskbar and select Task Manager from the menu.
- If this is your first time opening Task Manager, you will only be able to see running applications rather than any services or processes. To get the full view, select More details.
- Task Manager will now display every running task on your PC, including system processes or background tasks. Switch to the Startup tab.
- In the Startup tab is the list of all services run by default upon booting up your PC. Not only do these apps slow down your computer, but they can often cause conflicts with other more critical applications. Select all unnecessary services and select the Disable button.
- Startup services aren’t the only resource-hogging applications running on your computer. There are plenty of services that do not show up in that list but keep running in the background anyway. To disable such tasks, open System Configuration by searching for it from the Start menu.
- The MSConfig system utility lets you configure the startup option on your computer and is much more detailed than the Task Manager. Note the Normal startup option on this screen; once you are done with diagnostics, you need to enable this to return things to normal. For now, select the Services tab to continue.
- All the background services running on your PC are listed here. This includes system processes as well, so enable the Hide all Microsoft services checkbox to remove them. Now you can use the Disable all button to shut down all these extra processes.
Note that this step is not permanent. Many of the services on this list, while not essential, are still somewhat useful and need to be working for the best performance of your computer. This only allows us to check if any third-party application might be interfering with your DirectX installation.
All you now need to do is to restart your PC and see if DirectX is functioning. If it is, then one of the services from the previous list is the culprit. We recommend enabling them one by one to find the offending application, after which you can uninstall or disable it.
Once done, remember to go back to the System Configuration app and select Normal startup to set things back to the default.
Method #4: Run System File Checker in Command Prompt
If you’ve installed DirectX correctly, updated your computer, and even checked for any conflicting services, the only possibility remaining is data corruption. Corrupted drivers and system files can often throw weird errors and can be hard to diagnose.
- To find and fix any corrupted system files on your computer, open Command Prompt as an administrator. Just type cmd in the Search box to find the application.
- We will be using a command prompt utility called System File Checker. As the name suggests, it checks all system files for any data corruption, fixing the affected files. Enter the command sfc /scannow to run the tool.
- System File Checker will now scan your Windows installation and verify the integrity of each file. Once the scan is complete, all your system files have been checked and repaired.
What Is the Best Way To Reinstall DirectX on Windows 11/10?
Since DirectX is an integral component of Windows 11/10, you usually don’t have to worry about installing it yourself. Instead, windows updates will patch DirectX issues automatically, leaving you free to play games and run other graphical applications.
But in case your computer shows issues with the DirectX, it wouldn’t be a bad idea to reinstall it manually. You can use Microsoft’s standalone installer for this purpose or just ensure that your Windows Updates are not being stalled.
When installing DirectX is not the issue, you should check for conflicting applications and system corruption. Fixing these things ensures that DirectX will run smoothly on your Windows computer.