I am running the following t-sql code while performing a refresh to TEST. The problem is the DBCC Shrinkfiles are done, but VC still thinks the task is running. I am currently running 8.2.3 VC. I purposely broke up the shrink with checkpoints to keep it from dragging for too long.
Thank you!
DBCC SHRINKFILE (N'Bairds_Build' , 128000)
CHECKPOINT
DBCC SHRINKFILE (N'Bairds_Build' , 123000)
CHECKPOINT
DBCC SHRINKFILE (N'Bairds_Build' , 118000)
CHECKPOINT
DBCC SHRINKFILE (N'Bairds_Build' , 115000)
CHECKPOINT
DBCC SHRINKFILE (N'Bairds_Build' , 113000)
CHECKPOINT
DBCC SHRINKFILE (N'Bairds_Build' , 110000)
CHECKPOINT