Created
April 25, 2016 02:58
-
-
Save yyamasak/cc1ea8a168603c5bbe68646ef71a83f0 to your computer and use it in GitHub Desktop.
Reset disk space usage to 10% if the max usage is automatically extended to 100%
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chcp 437 | |
vssadmin list ShadowStorage /On=C:|findstr /c:"Maximum Shadow Copy Storage space: UNBOUNDED (100%)" | |
IF ERRORLEVEL 0 (vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=10%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment