在设置了本地磁盘的显示为平铺之后还是无法显示磁盘的容量,并且右击磁盘的属性显示“此项目的属性未知”


这是因为注册表的损坏造成的,注册表HKEY_CLASSES_ROOT\Drive分支因为卸载某软件造成了相关的影响,导致功能无法正常运行
解决方法:使用注册表相关的修复工具进行修复,工具的链接及下
https://pan.baidu.com/s/1mGtjD0WrOvU70IHIWOxhjw?pwd=ytj1
或者自己建立一个后缀为.reg的文件,进行注册表的恢复,源码及下:
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Drive]@="Drive""ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.PercentFull;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.Volume.FileSystem;~System.Computer.DecoratedFreeSpace""ContentViewModeLayoutPatternForBrowse"="delta""EditFlags"=hex:d2,01,00,00"InfoTip"="prop:System.FreeSpace;System.Capacity""PreviewDetails"="prop:*System.PercentFull;System.FreeSpace;System.Capacity;System.Volume.FileSystem;*System.Volume.BitLockerProtection""PreviewTitle"="prop:System.ItemNameDisplay;System.ItemTypeText""TileInfo"="prop:*System.PercentFull;System.Computer.DecoratedFreeSpace;System.Volume.FileSystem"[HKEY_CLASSES_ROOT\Drive\Commands][HKEY_CLASSES_ROOT\Drive\Commands\Shell][HKEY_CLASSES_ROOT\Drive\Commands\Shell\Windows.EnhancedStorage.Lock]@="Enhanced Storage Lock Command""CommandStateSync"="""ExplorerCommandHandler"="{CC55EE92-FE67-43C9-95E7-E646918A4A04}"[HKEY_CLASSES_ROOT\Drive\Commands\Shell\Windows.EnhancedStorage.Unlock]@="Enhanced Storage Unlock Command""CommandStateSync"="""ExplorerCommandHandler"="{CC55EE92-FE67-43C9-95E7-E646918A4A04}"[HKEY_CLASSES_ROOT\Drive\DefaultIcon]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,38,00,00,00[HKEY_CLASSES_ROOT\Drive\shell]@="none"[HKEY_CLASSES_ROOT\Drive\shell\change-passphrase]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,37,\00,31,00,00,00"AppliesTo"="(System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#On OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Encrypting OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Suspended) AND System.Volume.BitLockerCanChangePassphraseByProxy:=System.StructuredQueryType.Boolean#True""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\change-passphrase\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,62,00,64,00,\65,00,63,00,68,00,61,00,6e,00,67,00,65,00,70,00,69,00,6e,00,2e,00,65,00,78,\00,65,00,20,00,2d,00,70,00,77,00,20,00,25,00,31,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\change-pin]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,37,\00,30,00,00,00"AppliesTo"="(System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#On OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Encrypting OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Suspended) AND System.Volume.BitLockerCanChangePin:=System.StructuredQueryType.Boolean#True""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\change-pin\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,62,00,64,00,\65,00,63,00,68,00,61,00,6e,00,67,00,65,00,70,00,69,00,6e,00,2e,00,65,00,78,\00,65,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\cmd]@="@shell32.dll,-8506""Extended"="""HideBasedOnVelocityId"=dword:00639bc8"NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]@="cmd.exe /s /k pushd \"%V\""[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,32,\00,30,00,00,00"AppliesTo"="(System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Off OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#OnPreProvisioned) AND System.Volume.BitLockerRequiresAdmin:=System.StructuredQueryType.Boolean#False""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,42,00,69,00,\74,00,4c,00,6f,00,63,00,6b,00,65,00,72,00,57,00,69,00,7a,00,61,00,72,00,64,\00,2e,00,65,00,78,00,65,00,20,00,25,00,31,00,20,00,54,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde-elev]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,32,\00,30,00,00,00"AppliesTo"="(System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Off OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#OnPreProvisioned) AND System.Volume.BitLockerRequiresAdmin:=System.StructuredQueryType.Boolean#True""HasLUAShield"="""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde-elev\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,42,00,69,00,\74,00,4c,00,6f,00,63,00,6b,00,65,00,72,00,57,00,69,00,7a,00,61,00,72,00,64,\00,45,00,6c,00,65,00,76,00,2e,00,65,00,78,00,65,00,20,00,25,00,31,00,20,00,\54,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\find]"LegacyDisable"="""SuppressionPolicy"=dword:00000080[HKEY_CLASSES_ROOT\Drive\shell\find\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\65,00,00,00"DelegateExecute"="{a015411a-f97d-4ef3-8425-8a38d022aebc}"[HKEY_CLASSES_ROOT\Drive\shell\manage-bde]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,34,\00,39,00,00,00"AppliesTo"="System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#On OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Encrypting OR System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Suspended""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\manage-bde\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6f,00,\6e,00,74,00,72,00,6f,00,6c,00,2e,00,65,00,78,00,65,00,20,00,2f,00,6e,00,61,\00,6d,00,65,00,20,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\2e,00,42,00,69,00,74,00,4c,00,6f,00,63,00,6b,00,65,00,72,00,44,00,72,00,69,\00,76,00,65,00,45,00,6e,00,63,00,72,00,79,00,70,00,74,00,69,00,6f,00,6e,00,\20,00,2f,00,70,00,61,00,67,00,65,00,20,00,3f,00,49,00,6e,00,69,00,74,00,69,\00,61,00,6c,00,56,00,6f,00,6c,00,75,00,6d,00,65,00,3d,00,3d,00,25,00,31,00,\00,00[HKEY_CLASSES_ROOT\Drive\shell\Powershell]@="@shell32.dll,-8508""Extended"="""NoWorkingDirectory"="""ShowBasedOnVelocityId"=dword:00639bc8[HKEY_CLASSES_ROOT\Drive\shell\Powershell\command]@="powershell.exe -noexit -command Set-Location -literalPath '%V'"[HKEY_CLASSES_ROOT\Drive\shell\resume-bde]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,32,\00,31,00,00,00"AppliesTo"="System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Suspended AND System.Volume.BitLockerRequiresAdmin:=System.StructuredQueryType.Boolean#False""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\resume-bde\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,42,00,69,00,\74,00,4c,00,6f,00,63,00,6b,00,65,00,72,00,57,00,69,00,7a,00,61,00,72,00,64,\00,2e,00,65,00,78,00,65,00,20,00,25,00,31,00,20,00,56,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\resume-bde-elev]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,\76,00,65,00,77,00,69,00,7a,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,39,00,32,\00,31,00,00,00"AppliesTo"="System.Volume.BitLockerProtection:=System.Volume.BitLockerProtection#Suspended AND System.Volume.BitLockerRequiresAdmin:=System.StructuredQueryType.Boolean#True""HasLUAShield"="""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\resume-bde-elev\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,42,00,69,00,\74,00,4c,00,6f,00,63,00,6b,00,65,00,72,00,57,00,69,00,7a,00,61,00,72,00,64,\00,45,00,6c,00,65,00,76,00,2e,00,65,00,78,00,65,00,20,00,25,00,31,00,20,00,\56,00,00,00[HKEY_CLASSES_ROOT\Drive\shell\runas]@="获取超级管理员权限""Icon"="C:\\Windows\\System32\\imageres.dll,-78""NoWorkingDirectory"=""[HKEY_CLASSES_ROOT\Drive\shell\runas\command]@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t""IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"[HKEY_CLASSES_ROOT\Drive\shell\unlock-bde]@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,62,00,\64,00,65,00,75,00,6e,00,6c,00,6f,00,63,00,6b,00,2e,00,65,00,78,00,65,00,2c,\00,2d,00,31,00,30,00,30,00,00,00"AppliesTo"="System.Volume.BitLockerProtection:=6""DefaultAppliesTo"="""MultiSelectModel"="Single"[HKEY_CLASSES_ROOT\Drive\shell\unlock-bde\command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,62,00,64,00,\65,00,75,00,6e,00,6c,00,6f,00,63,00,6b,00,2e,00,65,00,78,00,65,00,20,00,25,\00,31,00,00,00[HKEY_CLASSES_ROOT\Drive\shellex][HKEY_CLASSES_ROOT\Drive\shellex\-ContextMenuHandlers][HKEY_CLASSES_ROOT\Drive\shellex\-ContextMenuHandlers\EPP]@="{09A47860-11B0-4DA5-AFA5-26D86198A780}"[HKEY_CLASSES_ROOT\Drive\shellex\-ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}][HKEY_CLASSES_ROOT\Drive\shellex\-ContextMenuHandlers\{D6791A63-E7E2-4fee-BF52-5DED8E86E9B8}]"{D6791A63-E7E2-4fee-BF52-5DED8E86E9B8}"="Portable Devices Menu"[HKEY_CLASSES_ROOT\Drive\shellex\-ContextMenuHandlers\{fbeb8a05-beee-4442-804e-409d6c4515e9}]@=""[HKEY_CLASSES_ROOT\Drive\shellex\-PropertySheetHandlers][HKEY_CLASSES_ROOT\Drive\shellex\-PropertySheetHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}][HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers][HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\EnhancedStorageShell]@="{2854F705-3548-414C-A113-93E27C808C85}"[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing]@="{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6}"[HKEY_CLASSES_ROOT\Drive\shellex\DragDropHandlers][HKEY_CLASSES_ROOT\Drive\shellex\DragDropHandlers\WinRAR]@="{B41DB860-64E4-11D2-9906-E49FADC173CA}"[HKEY_CLASSES_ROOT\Drive\shellex\DragDropHandlers\WinRAR32]@="{B41DB860-8EE4-11D2-9906-E49FADC173CA}"[HKEY_CLASSES_ROOT\Drive\shellex\FolderExtensions][HKEY_CLASSES_ROOT\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}]"DriveMask"=dword:00000020[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers]@="{5F5295E0-429F-1069-A2E2-08002B30309D}"[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\Sharing]@="{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6}"[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{1f2e5c40-9550-11ce-99d2-00aa006e086c}][HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{4a7ded0a-ad25-11d0-98a8-0800361b1103}][HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{55B3A0BD-4D28-42fe-8CFB-FA3EDFF969B8}][HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{5F5295E0-429F-1069-A2E2-08002B30309D}][HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{7988B573-EC89-11cf-9C00-00AA00A14F56}]@=""[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{ECCDF543-45CC-11CE-B9BF-0080C87CDBA6}][HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{ef43ecfe-2ab9-4632-bf21-58909dd177f0}]@=""[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{fbeb8a05-beee-4442-804e-409d6c4515e9}]@=""[HKEY_CLASSES_ROOT\Drive\tabsets]"location"=dword:00000703"selection"=dword:00000703
然后点击文件进行运行,功能就会恢复正常了,磁盘的属性也可以正常点击了,容量也会正常显示了。

