Windows 存储空间(Windows Storage Space)是Windows 10中的一项功能,可让您在驱动器发生故障时备份文件。但是,如果您收到消息“错误(0x00000057):存储空间参数不正确(Error (0x00000057): The parameter is incorrect with storage space)”的问题,那么在这篇文章中,我们将分享一个解决方案。该错误出现在Windows 11/10中,是一个已知错误,已被Microsoft 团队(Microsoft Team)确认为错误。
无法创建新的存储空间(Storage Space),错误(Error)(0x00000057),参数不正确
当用户尝试在现有池中创建新存储空间或创建新池以便保留额外副本时,会发生此错误。完整的错误信息如下:
The graphical interface for managing Storage Spaces in Windows fails when creating a storage pool with another error “Can’t prepare drives – the parameter is incorrect”.
Reddit论坛也报告(reported)了同样的错误。用户分享了他的经验,他注意到一些文件的内容已损坏。它发生在升级Windows之后。使用CDKDSK工具时,它报告了更多问题,并显示了一条消息。
(Attribute)文件 5E711 中类型代码为 80 的属性列表条目已损坏
文件记录段 67C08 是孤立的。
有一些解决方法可能听起来不太好,但这是目前的解决方案。
存储空间问题 – 如何恢复损坏的文件?
在开始之前,请记住先创建一个系统还原点,以便在事情未按预期进行时始终可以还原。
1]从旧备份恢复
最好的方法是从一周前或升级到Windows 10功能更新之前的一天前恢复。它将确保文件之间没有不一致。始终确保运行CHKDSK工具以检查是否存在任何不一致。
还建议暂时将奇偶校验驱动器锁定为只读模式。如果您将图像恢复到奇偶校验驱动器,则在您进行更改时可能会不断引入更多损坏。
2]运行CHKDSK工具
CHKDSK 工具检查卷的文件系统和文件系统元数据是否存在逻辑和物理错误。所以一旦你运行它,文件系统会再次变得一致,但你必须手动检查检查后的数据是否不正确。
如何使用PowerShell创建新的(PowerShell)存储空间(Storage Space)
Windows PowerShell 提供可以创建新存储空间的(Storage Space)cmdlet(cmdlets)。所以在界面固定之前,可以按照这个方法。作为警告,您应该清楚地了解您在此处执行的操作并正确执行命令。由于我们不会删除任何内容,因此现有的存储空间是安全的。这是使用命令所需的三件事。
- 存储池名称
- 用于创建池的磁盘
- 存储子系统或存储空间
这是您可以在PowerShell(PowerShell)上执行的脚本。第一行使用 **Get- PhysicalDisk ** cmdlet 获取尚未在(具体)存储池中的所有PhysicalDisk对象,并将对象数组分配给 $ (PhysicalDisk)PhysicalDisks变量。第二行使用 $ PhysicalDisks变量创建一个新的存储池,以指定要从WindowsStorage子系统中包含的磁盘。
$PhysicalDisks = (Get-PhysicalDisk -CanPool $True)
New-StoragePool -FriendlyName CompanyData -StorageSubsystemFriendlyName "Windows Storage*" -PhysicalDisks $PhysicalDisks
您必须以管理员权限和管理员帐户启动PowerShell才能执行命令。(PowerShell with Admin )
因此,在您继续面临问题并且Microsoft推出修复程序之前,请使用此命令创建一个新池。另外,请确保将备份保持为只读。
我希望您能够解决此错误 0x00000057。
Cannot create new Storage Space, 0x00000057, Parameter is incorrect
Windows Storage Space is a feature in Windows 10 which allows you to take a backup of files in case of a drive failure. However, if you are getting an issue with the message “Error (0x00000057): The parameter is incorrect with storage space“, then in this post, we will share a solution for this. The error appeared in Windows 11/10 and is a known bug that has been acknowledged as a bug by the Microsoft Team.
Cannot create new Storage Space, Error (0x00000057), The parameter is incorrect
The error occurs when a user tries to create a new storage space into an existing pool or when creating a new pool so they can retain the extra copies. The complete error message goes as:
The graphical interface for managing Storage Spaces in Windows fails when creating a storage pool with another error “Can’t prepare drives – the parameter is incorrect”.
The same error was reported in the Reddit forum as well. The user shared his experience, where he noticed the contents of some of the files went corrupt. It happened after upgrading Windows. When the CDKDSK tool was used, it reported more problems with a resulting message saying.
Attribute list entry with type code 80 in file 5E711 is corrupt
File record segment 67C08 is an orphan.
There are a couple of workarounds which may not sound very nice, but that’s the solution for now.
Storage Spaces problem – How to Restore corrupt files?
Before you begin, remember to create a system restore point first, so that you can always revert should things not go as expected.
1] Restore from an older backup
The best method is to restore from a week old back or a day earlier before you upgraded to the Windows 10 feature update. It will make sure there is no inconsistency among the files. Always make sure to run the CHKDSK tool to check for any inconsistency.
It is also recommended to lock the parity drive to read-only mode for now. If you’re restoring your images to your parity drive, that’ll probably keep introducing more corruption as you make changes.
2] Run CHKDSK tool
CHKDSK tool checks the file system and file system metadata of a volume for logical and physical errors. So once you run it, the file system will become consistent again, but you will have to manually check if the data after the check is incorrect or not.
How to create new Storage Space using PowerShell
Windows PowerShell offers cmdlets that can create new Storage Space. So until the interface is fixed, you can follow this method. As a warning, you should have a clear understanding of what you are doing here and execute the commands correctly. Since we will not delete anything, the existing storage space is safe. These are the three things you need to use the commands.
- Storage pool name
- Disks to use to create the pool
- Storage subsystem or Storage Spaces
Here is the script you can execute on PowerShell. The first line uses the **Get-PhysicalDisk** cmdlet to get all PhysicalDisk objects than are not yet in a (concrete) storage pool and assigns the array of objects to the $PhysicalDisks variable. The second line creates a new storage pool using the $PhysicalDisks variable to specify the disks to include from the WindowsStorage subsystem.
$PhysicalDisks = (Get-PhysicalDisk -CanPool $True)
New-StoragePool -FriendlyName CompanyData -StorageSubsystemFriendlyName "Windows Storage*" -PhysicalDisks $PhysicalDisks
You will have to launch PowerShell with Admin permission and an admin account to execute the commands.
So until you keep facing the issue and Microsoft rolls out a fix, use this command to create a new pool. Also, make sure to keep the backup as read-only.
I hope you were able to resolve this error 0x00000057.