Windows 使用者:如何控制硬碟系統還原佔用的空間?

來源:互聯網
上載者:User
文章目錄
  • 1) 查一下用掉多少空間:
  • 2) 查一下resize參數,用最後一條例句該為你認為合適的大小:
  • 3)我改為還原空間上限5G
  • 申明:普通使用者慎用,請查閱相關指令說明瞭解實際功能用途

Vista (包括其他Windows版本),硬碟的系統復原還原功能可能用掉了非常多的空間。如果你硬碟空間不夠了,你可以查一下。

在我家的一個機子150G的C盤上,就用了36G。如果仔細查,可以用TreeSize Professional軟體(強烈推薦這款軟體)發現“System Volume Information”目錄用了36G,且不能開啟看。

但是大家可以用Windows 的vssadmin命令列來控制或釋放:

1) 查一下用掉多少空間:

C:/>vssadmin list shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Shadow Copy Storage association

For volume: (C:)//?/Volume{96bdb307-7b54-11dc-b7c8-806e6f6e6963}/

Shadow Copy Storage volume: (C:)//?/Volume{96bdb307-7b54-11dc-b7c8-806e6f6e69

63}/

Used Shadow Copy Storage space: 36.946 GB

Allocated Shadow Copy Storage space: 38.404 GB

Maximum Shadow Copy Storage space: 33.695 GB

2) 查一下resize參數,用最後一條例句該為你認為合適的大小:

C:/>vssadmin resize shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Error: A required option is missing.

Resize ShadowStorage /For=ForVolumeSpec /On=OnVolumeSpec [/MaxSize=MaxSizeSpec]

- Resizes the maximum size for a shadow copy storage association between

ForVolumeSpec and OnVolumeSpec. Resizing the storage association may

cause shadow copies to disappear. If MaxSizeSpec is not

specified, there no limit to the amount of space it may use. As certain

shadow copies are deleted, the shadow copy storage space will then

shrink. MaxSizeSpec must be 300MB or greater and accepts the following

suffixes: KB, MB, GB, TB, PB and EB. Also, B, K, M, G, T, P, and E are

acceptable suffixes. If a suffix is not supplied, MaxSizeSpec is in

bytes.

Example Usage: vssadmin Resize ShadowStorage /For=C: /On=D: /MaxSize=900MB

3)我改為還原空間上限5G

C:/>vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=5120MB

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Successfully resized the shadow copy storage association

C:/Downloads>vssadmin list shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Shadow Copy Storage association

For volume: (C:)//?/Volume{96bdb307-7b54-11dc-b7c8-806e6f6e6963}/

Shadow Copy Storage volume: (C:)//?/Volume{96bdb307-7b54-11dc-b7c8-806e6f6e69

63}/

Used Shadow Copy Storage space: 0 B

Allocated Shadow Copy Storage space: 0 B

Maximum Shadow Copy Storage space: 5 GB

申明:普通使用者慎用,請查閱相關指令說明瞭解實際功能用途

我的主網頁:http://vincentyang.cn/blogs/vincentyang/archive/2009/10/09/windows.aspx

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.