这很奇怪。所有目录大小都正常,其他所有文件夹的大小都在 20GB 以内。差异在于我无法在底部屏幕截图中找到占用 150GB 空间的文件。
下面,我针对许多子目录发布了属性。第二张屏幕截图是驱动器的大小。比较已使用的空间,您会发现单个驱动器上的差异约为 150GB。
有人知道这是怎么回事吗?我正在查看 explorer.exe 中的所有隐藏文件和系统文件
更新
C:\Users\>vssadmin List Shadows
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.
Contents of shadow copy set ID: {4407d687-5021-4a57-a8bf-a94dd03428ce}
Contained 1 shadow copies at creation time: 3/22/2012 7:09:43 PM
Shadow Copy ID: {bf5b69c9-76cf-4218-b1ef-4c264ab3c468}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
Contents of shadow copy set ID: {e2d1cc68-4afd-41ec-9e52-ef9e3f390e71}
Contained 1 shadow copies at creation time: 4/28/2012 10:43:42 AM
Shadow Copy ID: {3864609a-7f14-4b22-9cff-b3e74b7b568e}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy6
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
Contents of shadow copy set ID: {da92436b-bd7f-4e61-ab19-db3f8adbf47a}
Contained 1 shadow copies at creation time: 5/23/2012 7:22:24 PM
Shadow Copy ID: {f66b0c06-a0db-4765-b3d7-55634eb1a131}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy9
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
Contents of shadow copy set ID: {2ea830c0-bf45-4c8f-9dbd-9a0060f70602}
Contained 1 shadow copies at creation time: 7/5/2012 6:07:36 PM
Shadow Copy ID: {1735116d-9166-4ce0-9dcb-ec57c61516ce}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy15
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
Contents of shadow copy set ID: {bcda7c37-ba89-426d-bf62-f7459e4051ea}
Contained 1 shadow copies at creation time: 8/14/2012 8:56:02 PM
Shadow Copy ID: {79ee42fc-7561-4eff-95d7-1750f18269f7}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy44
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
C:\Users\>vssadmin List Shadows > ShadowsSave.txt
更新 2:
删除 VSS 映像会导致剩余映像
C:\Users\ >vssadmin delete shadows /all
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.
Error: Snapshots were found, but they were outside of your allowed context. Try
removing them with the
backup application which created them.
C:\Users\ >vssadmin list shadows
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.
Contents of shadow copy set ID: {2ea830c0-bf45-4c8f-9dbd-9a0060f70602}
Contained 1 shadow copies at creation time: 7/5/2012 6:07:36 PM
Shadow Copy ID: {1735116d-9166-4ce0-9dcb-ec57c61516ce}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy15
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
Contents of shadow copy set ID: {bcda7c37-ba89-426d-bf62-f7459e4051ea}
Contained 1 shadow copies at creation time: 8/14/2012 8:56:02 PM
Shadow Copy ID: {79ee42fc-7561-4eff-95d7-1750f18269f7}
Original Volume: (C:)\\?\Volume{f02f2f87-87dd-11e0-bed5-806e6f6e6963}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy44
Originating Machine: TXEXPF01.exchangeHost.com
Service Machine: TXEXPF01.exchangeHost.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: ApplicationRollback
Attributes: Persistent, No auto release, Differential, Exposed locally,
Auto recovered
C:\Users\>vssadmin delete shadows /all
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2005 Microsoft Corp.
Error: Snapshots were found, but they were outside of your allowed context. Try
removing them with the
backup application which created them.
C:\Users\ >
答案1
可能是 VSS 快照。尝试停止并启动“卷影复制”服务。
如果这不起作用,那么您可以从命令提示符运行:
vssadmin 列出阴影
列出卷影副本然后运行:
vssadmin 删除阴影
删除列出的卷影副本。
System Volume Information 文件夹中的 GUID 是 VSS 快照的列表。您可以使用 vssadmin 工具列出和删除它们。
使用 VSS 感知备份应用程序(如 Windows Server Backup 或 BackupExec)执行任何备份时,VSS 都会使用 System Volume Information 文件夹
答案2
这是您无权查看的文件或文件夹。(或者需要通过 UAC 提示“获取权限”才能查看。)它们将显示为 0 大小,无论它们实际上有多大。
正如 joeqwerty 所建议的那样,VSS 快照是一个来源,系统卷信息的内容(默认情况下)、其他用户的配置文件位置(启用 UAC 时默认被阻止)和一些其他“杂项”位置也是如此,默认情况下...以及您的用户被其他管理帐户或服务拒绝读取的任何内容。
追踪它的最快方法是运行目录统计并查看驱动器使用情况的实际来源。(它使用命令行实用程序来查看磁盘使用情况,因此它不会遇到与 Explorer shell 相同的问题。只需记住以提升的权限运行它即可。)
由于我们已确定是 VSS 快照,您可以通过以下方式释放空间:1) 手动删除 中看到的 GUID System Volume Information
,或 2) 更改 VSS 可用的磁盘空间量。(我更喜欢 #2,因为它可以防止问题再次出现,而不像删除一堆 VSS 快照那样。)
管理工具->计算机管理->共享文件夹(右键单击)->所有任务->配置卷影副本...->选择卷->设置。
将限制更改为“适当”的值。此时,您还可以从 GUI 中删除单个卷影副本。
答案3
虽然 JowQuery 的答案在原则上是正确的,但在 2008 年及更新版本中应使用的正确命令"diskshadow"
是"delete shadows all"