Win 2008 defragmentation schedule
Firstly, go and read this article:
http://www.enterprisestorageforum.com/sans/features/article.php/3844426
It discusses the merits of defragmenting SAN based disks. With the heavy usage of SANs within the VM sphere, it makes it particularly relevant.
OK, done reading? I’ll continue…
After deploying a new VM yesterday, from one of our Windows 2008 R2 64bit templates, I noticed the new Task Scheduler. I was having a bit of a poke around and noticed that by default there was a scheduled task to defrag all its “local” disks at 1am Wednesday every week. Now this task is disabled, but be careful about enabling this in your gold template.
Besides your personally thoughts on the need to defrag SAN disks, imagine all your VMs running on a SAN decide to defrag all their disks at the same time. Yikes! Hopefully Microsoft put in randomization on the day and time during the night these things are set, when the OS first installs or during sysprep. However it doesn’t appear so.
5 Responses to Win 2008 defragmentation schedule
Leave a Reply Cancel reply
Forbes Guthrie
Recent Posts
- Small update to the Reference Card
- Minor update to the vSphere 5 Reference Card
- vSphere 5 vReference Card released
- Cisco UCS boot from iSCSI SAN – ESXi design consideration
- vSphere 5 vReference card – Storage section
- Does 2008 R2 Failover Clustering require a change to the Notify Switches policy?
- vSphere 5 vReference card – Host section
- vSphere 5 vReference card – Install section
- Auto Deploy design concern
- vSphere 5 vReference card – vCenter section
Recent Comments
- honglus on How to PXE boot from your trunked vmnic0
- Sunmeet on Understanding ESXi – stateless, diskless, feckless
- Forbes Guthrie on vSphere 5 Card
- Forbes Guthrie on vSphere 5 Card
- Jakk on vSphere 5 Card
- Purushothama S on vSphere 5 notes
- Bjorn on vSphere 5 Card
- Chris on Minor update to the vSphere 5 Reference Card
- Michael Webster on Auto Deploy design concern
- Ankur Maheshwari on vSphere 5 notes
Twitter
- As much as I've become an NFS supporter over the years, VMFS5 & ATS is really making me like iSCSI & its better multipathing. : 2 weeks ago
- @__wintertale__ Hi Iona (& Lesley). Welcome to the twitterverse from a cloudy and wet Vancouver. How's the coffee? : 3 weeks ago
- RT @jtroyer: ... Kaua'i http://t.co/s4Ovo4jD << Staying in same resort next month. Pls, no destroying it with wild parties ;) : 3 weeks ago
- RT @dobaer: @forbesguthrie How was the run in your shiny new shoes? << Nice, the trails around Vancouver are stunning. : 3 weeks ago
- @h0bbel I'm a Salomon addict, but I'm scared to get these ones muddy :) : 3 weeks ago
- Just took my pwutty new #salomon trail shoes for an hour's run in Pacific Spirit Park. http://t.co/7dAQDXgl : 3 weeks ago
- RT @alim__k: @forbesguthrie @keith_aasen look at you guys, figuring this out over social media ;-) < that's where I do all my best designs : 3 weeks ago
- @keith_aasen Great, just what I was after. And presumably one per controller to prevent performance degradation on failover (after refill) : 3 weeks ago
- @keith_aasen You're the VDI sizing TR author :) You're my Guru! : 3 weeks ago
- NetApp gurus: VDI on 3170 - where's FlashCache watershed for 2x 512GB to 4. When is it 2TB not 1TB? Don't say "it depends" /cc @keith_aasen : 3 weeks ago






You never want to defrag a VM that has a snapshot.
What you don’t like it when your snapshot merge take 4-6 hours?
The defrag task has been there since early builds of Vista and was originally set to run at Sunday 4am, but they moved it to Wednesday 1am based on feedback during the beta. Its continued to be present in every Windows release since then, but disabled by default for server O/S’s.
As for someone enabling it across all their VMs, well let’s hope their SAN isn’t busy at 1am Wednesday’s – because it’s about to be brought to its knees! And then the storage admins are going to come looking for those pesky VMware admins…
i have done a clean install of win2008 standard sp1 and win2008 standard 64bit sp2. both have this task enabled by default.
Social comments and analytics for this post…
This post was mentioned on Twitter by h0bbel: RT @PlanetV12n: Win 2008 defragmentation schedule (vReference) http://bit.ly/1zkUpa...