Windows 2012 R2, volsnap messages in the event log

I get the following messages in the event log at about 1:30 AM:

Warning volsnap 24 There was insufficient disk space on volume D: to grow the shadow copy storage for shadow copies of D:.  As a result of this failure all shadow copies of volume D: are at risk of being deleted.

Error volsnap 35 The shadow copies of volume D: were aborted because the shadow copy storage failed to grow.

The only thing I have running at that time is a bat procedure. The procedure does some xcopy commands, then a SQL restore. Everything runs against the C drive but the messages talk about the D drive. Also, the file sizes are a few mega bytes and the D disk has 138 GB of free space. I don't think this is a space problem. I'm not sure the bat procedure is causing the messages.

The shadow copies function shows disabled for the C and D drives. I don't want it on unless I need  to. The chkdsk command shows that both the C and D drives' file allocation size (cluster size) is 4K.

The xcopy commands and the SQL restore seemed to work OK. Is there something I need  to change to make these messages go away?

Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You need to run this:
vssadmin resize shadowstorage /for=D: /on=D: /maxsize=unbounded

Got it from here:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MikeBroderickAuthor Commented:
I changed it by using the GUI on windows explorer in the properties, shadow copies section.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.