{"id":248,"date":"2009-12-18T16:51:11","date_gmt":"2009-12-18T16:51:11","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=248"},"modified":"2010-01-21T16:06:54","modified_gmt":"2010-01-21T16:06:54","slug":"task-scheduler-disk-defragmenter","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2009\/12\/task-scheduler-disk-defragmenter\/","title":{"rendered":"Task Scheduler Disk Defragmenter"},"content":{"rendered":"<ol>\n<li>Open Control Panel<\/li>\n<li>Double-click Scheduled Tasks<\/li>\n<li>Double-click Add Scheduled Task<\/li>\n<li>On the Scheduled Task Wizard dialog, click Next<\/li>\n<li>Click Browse<\/li>\n<li>In the Select Program to Schedule dialog, navigate to the windows\\system32 folder<\/li>\n<li>Select defrag.exe<\/li>\n<li>Click Open<\/li>\n<li>In the Scheduled Task Wizard dialog, type a name for the scheduled task (Disk Defragmenter, for instance)<\/li>\n<li>Under Perform this task, select how often you wish Disk Defragmenter to run<\/li>\n<li>Click Next<\/li>\n<li>Set the time at which you wish the Disk Defragmenter scheduled task<br \/>\nto run.  This should be a time when your computer is on, but not in<br \/>\nheavy use.<\/li>\n<li>Select the frequency at which you want the Disk Defragmenter<br \/>\nscheduled task to run (Every Day, Weekdays, or Every  days, where<br \/>\nis the number of days between scheduled runs)<\/li>\n<li>Click Next<\/li>\n<li>Enter a user name under which the Disk Defragmenter scheduled task<br \/>\nwill run.  Note: This user must be an administrator on the local<br \/>\nmachine.<\/li>\n<li>Enter the password for the user you entered in the previous step<\/li>\n<li>Confirm the password for the user<\/li>\n<li>Click Next<\/li>\n<li>Check Open advanced properties for this task when I click Finish<\/li>\n<li>Click Finish<\/li>\n<li>In the Run text box, you should see the full path and command for<br \/>\ndefrag.exe.  By default, this path is C:\\WINDOWS\\SYSTEM32\\defrag.exe<\/li>\n<li>Append the drive letter for the drive you wish to defragment to the<br \/>\ncommand in the Run text box.  In a default installation, your Run<br \/>\ncommand will look like this:<br \/>\nC:\\WINDOWS\\SYSTEM32\\defrag.exe C:<\/li>\n<li>Click OK<\/li>\n<li>In the Set Account Information dialog, enter and confirm the<br \/>\npassword for the user listed in Run as<\/li>\n<li>Click OK<\/li>\n<\/ol>\n<p><em>Source: http:\/\/support.microsoft.com\/kb\/555098<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Control Panel Double-click Scheduled Tasks Double-click Add Scheduled Task On the Scheduled Task Wizard dialog, click Next Click Browse In the Select Program to Schedule dialog, navigate to the windows\\system32 folder Select defrag.exe Click Open In the Scheduled Task Wizard dialog, type a name for the scheduled task (Disk Defragmenter, for instance) Under Perform [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13,18,23,20,16],"tags":[],"class_list":["post-248","post","type-post","status-publish","format-standard","hentry","category-guide","category-windows-server-2003","category-windows-server-2008","category-windows-vista","category-windows-xp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-40","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":0,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}