部分 PC 用户尝试在其 Windows 11/10 计算机上安装更多Steam 游戏时可能会遇到(Steam games)磁盘空间不足(Not enough disk space)的错误消息。如果您也受到此问题的影响,您可以尝试本文中提供的解决方案以迅速解决问题。
磁盘空间不足 – Steam 错误
如果您遇到此问题,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 重启电脑
- 运行磁盘清理
- 清除 Steam 下载缓存
- 运行 CHKDSK
- 更改安装路径
- 将游戏安装到外部驱动器
- 授予管理员对 Steam 的访问权限
- 调整大小或扩展分区
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]重新启动计算机
Steam的客户端更新非常频繁,有些更新配置了Steam客户端的核心。当第三方软件和Steam都在运行时,可能会发生冲突。在这种情况下,重新启动计算机(restarting the computer)可以解决磁盘空间不足 - Steam 错误(Not enough disk space – Steam error)。
2]运行磁盘清理
由于我们正在处理磁盘空间不足的问题,因此运行磁盘清理(run Disk Cleanup)并查看是否有帮助是很实用的。
阅读(Read):Steam 卡在分配磁盘空间上(Steam stuck on Allocating disk space)。
3]清除Steam下载缓存
(Disk Cleanup)Windows 10上的磁盘清理可能不包括Steam下载缓存,并且此文件夹可能存在过多的下载数据。在这种情况下,您可以手动清除Steam下载缓存。就是这样:
- 以管理员模式启动您的 Steam。
- 进入客户端后,点击 屏幕左上角的Steam 。
- 从下拉框中,单击设置(Settings)。
- 进入“设置”(Settings)后,导航到“ 下载(Downloads )”选项卡。
- 单击清除下载缓存(Clear Download Cache)选项。
- 在提示上单击“确定( OK)”以确认您的操作。等待(Wait)该过程完成。
- 完成后,保存更改并退出客户端。
如果问题仍然存在,请尝试下一个解决方案。
4]运行CHKDSK
如果硬盘驱动器有一些坏扇区,则可能会触发此错误。在这种情况下,请运行 CHKDSK(run CHKDSK)并查看它是否可以解决问题。
要运行 CHKDSK,请执行以下操作:
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入cmd,然后按CTRL + SHIFT + ENTER以在管理员/提升模式下打开命令提示符。(Command Prompt)
- 在命令提示符窗口中,键入以下命令并按 Enter。
chkdsk /x /f /r
您将收到以下消息:
CHKDSK cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N).
- 点击键盘上的Y键,然后重新启动计算机,让CHKDSK 检查并修复(CHKDSK check and fix)计算机硬盘上的错误。
CHKDSK完成后,检查问题是否已解决。
5]更改安装路径
要更改Windows 10 设备上Steam客户端的安装路径,请执行以下操作:
- 以管理员模式启动您的 Steam。
- 进入客户端后,点击 屏幕左上角的Steam 。
- 从下拉框中,单击设置(Settings)。
- 进入“设置”(Settings)后,导航到“ 下载(Downloads )”选项卡。
- 单击 Steam 库文件夹(Steam Library Folders)。
- 单击添加库文件夹(Add Library Folder)。系统将提示您选择驱动器。强烈建议选择与您最初安装程序的位置不同的一个。
- 选择驱动器后,创建一个新文件夹并命名。
- 单击 确定(OK) 并选择新目录。
- 接下来,前往Steam商店下载并安装游戏。
- 在出现的提示下,选择您刚刚创建的新文件夹/目录。游戏现在将下载。
- 下载后,尝试安装,看看问题是否解决。
6]将游戏安装到外部驱动器
另一个可行的解决方案是在便携式驱动器上下载和安装游戏。也可能是您的内部磁盘驱动器存储空间不足或有多个扇区,Steam 可能无法安装游戏。在这种情况下,您可以按照上述解决方案 5](Solution 5])中的说明创建一个文件夹并将其选为有效路径,然后前往Steam商店下载并在新位置/便携式驱动器上安装游戏。
7]授予管理员访问(Grant Administrator Access)Steam的权限
在Steam没有足够的管理员权限进行修改的情况下,您可能会遇到此错误,因为Steam无法确定硬盘驱动器上有多少可用空间。
要授予管理员访问Windows 10 设备上Steam客户端的权限,请执行以下操作:
- 在文件资源管理器(File Explorer)中,找到安装 Steam 的目录。
- 找到Steam.exe文件并将程序设置为以管理员身份运行。
- 保存更改并退出。
- 现在,找到名为 GameOverlayUI.exe的文件并将其设置为像上面一样以管理员身份运行。
- 保存更改并退出。
- 最后,为 Steam 文件夹分配完全控制权限(assign full control permissions to the Steam folder)。
完成后,查看问题是否已解决。如果没有,请尝试下一个解决方案。
8]调整或扩展分区
如果在这种情况下释放磁盘空间还不够,并且您不希望选择安装到外部驱动器但您的计算机上有多个驱动器设置,您可以尝试调整分区大小或扩展分区(resize or extend the partition)。
希望这可以帮助!
相关帖子(Related post):修复 Steam 应用配置丢失或不可用错误(Fix Steam App Configuration Missing or Not available error)。
Fix Not enough disk space - Steam error on Windows PC
Some PC users may encounter the error message Not enough disk space when they try to install more Steam games on their Windows 11/10 computer. If you are affected by this issue as well, you can try the solutions provided in this post to promptly resolve the issue.
Not enough disk space – Steam error
If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Restart computer
- Run Disk Cleanup
- Clear Steam Download cache
- Run CHKDSK
- Change the Path of Installation
- Install the game to an external drive
- Grant Administrator Access to Steam
- Resize or Extend Partition
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Restart computer
Steam’s client updates itself very frequently, and some updates configure the core of the Steam client. Conflicts can occur when the third-party software and Steam are both running. In this case, restarting the computer can resolve the Not enough disk space – Steam error.
2] Run Disk Cleanup
Since we are dealing with insufficient disk space, it’s practical to run Disk Cleanup and see if that helps.
Read: Steam stuck on Allocating disk space.
3] Clear Steam Download cache
Disk Cleanup on Windows 10 might not include Steam download cache and this folder could potentially have excessive download data present. In this case, you can manually clear the Steam download cache. Here’s how:
- Launch your Steam in admin mode.
- Once in the client, click on Steam at the top left corner of the screen.
- From the drop-down box, click on Settings.
- Once in the Settings, navigate to the Downloads tab.
- Click the Clear Download Cache option.
- Click OK on the prompt to confirm your action. Wait for the process to complete.
- When done, save changes and exit the client.
If the issue persists, try the next solution.
4] Run CHKDSK
If the hard drive has some bad sectors, this error could be triggered. In this case, run CHKDSK and see if it resolves the issue.
To run CHKDSK, do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin/elevated mode.
- In the command prompt window, type the command below and hit Enter.
chkdsk /x /f /r
You will receive the following message:
CHKDSK cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N).
- Tap Y key on the keyboard and then reboot your computer to let CHKDSK check and fix the errors on the computer hard drive.
After CHKDSK completes, check to see if the issue is resolved.
5] Change the Path of Installation
To change the path of installation for the Steam client on your Windows 10 device, do the following:
- Launch your Steam in admin mode.
- Once in the client, click on Steam at the top left corner of the screen.
- From the drop-down box, click on Settings.
- Once in the Settings, navigate to the Downloads tab.
- Click Steam Library Folders.
- Click Add Library Folder. You will be prompted to select a drive. It is highly recommended to select a different one from where you were initially installing the program.
- After selecting the drive, create a new folder and name it.
- Click OK and select the new directory.
- Next, go to the Steam store to download and install a game.
- At the prompt that appears, select the new folder/directory you just created. The games will now download.
- After the download, try the installation and see if the issue is resolved.
6] Install the game to an external drive
Another viable solution is to download and install games on a portable drive. It is also possible that your internal disk drive may have insufficient storage space or have several sectors and Steam might be unable to install the game. In this case, you can follow the instructions on Solution 5] above to create a folder and select it as a valid path, then head over to the Steam store and download and install the game on the new location/portable drive.
7] Grant Administrator Access to Steam
In the scenario whereby Steam does not have enough administrator access to make amendments, you may encounter this error because Steam cannot determine how much space is available on the hard drive.
To grant admin access to the Steam client on your Windows 10 device, do the following:
- In File Explorer, locate the directory where Steam is installed.
- Locate the Steam.exe file and set the program to run as administrator.
- Save changes and exit.
- Now, locate the file named GameOverlayUI.exe and set it to run as an administrator as above.
- Save changes and exit.
- Finally, assign full control permissions to the Steam folder.
Once done, see if the issue is resolved. If not, try the next solution.
8] Resize or Extend Partition
If freeing up disk space is not enough in this situation and you don’t want the option of installing to an external drive but you have multiple drive setup on your computer, you can try to resize or extend the partition.
Hope this helps!
Related post: Fix Steam App Configuration Missing or Not available error.