Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Shutdown while scheduled defrag running

17 Apr 2015   #1
Computer0304

Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
 
 
Shutdown while scheduled defrag running

What would happen if you normally (not forcefully) shutdown when scheduled defrag is running? Is it okay since it knows it is shutting down? Also, how come processes such as the one for Windows Update after boot up after an update and background defrag process stay even after they are done doing their work? (Am I just looking at task manager too much...?)


My System SpecsSystem Spec
.
17 Apr 2015   #2
richc46

Microsoft Community Contributor Award Recipient

Windows 10, Home Clean Install
 
 

There would be no problem with the defrag, if it was a normal shutdown. You would have a partially defragged hard drive and I would defrag again.
My System SpecsSystem Spec
17 Apr 2015   #3
Computer0304

Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
 
 

Ok, also, how about my last question? Thanks.
My System SpecsSystem Spec
.

17 Apr 2015   #4
LMiller7

Windows 7 Pro 64 bit
 
 

Quote:
Also, how come processes such as the one for Windows Update after boot up after an update and background defrag process stay even after they are done doing their work?
How do you know that they really are done their work? The details of this are largely undocumented so there is really no way to know for sure.
My System SpecsSystem Spec
17 Apr 2015   #5
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Quote   Quote: Originally Posted by Computer0304 View Post
What would happen if you normally (not forcefully) shutdown when scheduled defrag is running? Is it okay since it knows it is shutting down?
The default built in scheduled defrag task only runs when the PC is idle, and stops if the PC becomes not idle.
So if you move the mouse to click Shutdown, the defrag will stop, and restart later when the PC becomes idle again.

Shutdown while scheduled defrag running-scheddefrag_01.png


My System SpecsSystem Spec
17 Apr 2015   #6
Computer0304

Windows 7 Professional 32-bit/Windows 8 64-bit/Win7 Pro64-bit
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
Quote:
Also, how come processes such as the one for Windows Update after boot up after an update and background defrag process stay even after they are done doing their work?
How do you know that they really are done their work? The details of this are largely undocumented so there is really no way to know for sure.
Well on Task Manager, the amount of RAM they use stays same and it stops writing to disk.
My System SpecsSystem Spec
Reply

 Shutdown while scheduled defrag running




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Scheduled task remains running, when run manually
I have several tasks defined in the Task Scheduler. They're all working fine. They are written in the REXX language (about the only language I'm proficient in). Yesterday, I made a small change to one of the scripts and ran it manually, from the Task Scheduler (to ensure that it ran correctly in...
General Discussion
Scheduled Task not running
Scheduled Task not running when "run whether user is logged on or not" option is selected? Is this an issue/bug in windows 7?
General Discussion
MSE Scheduled Scan Not Running
I have seen various similar threads on here and elsewhere, but seem unable to find a solution to this issue. Myself and colleagues all run Microsoft Security Essentials, the free version. We have issues with the scheduled scan actually runnings. My settings are: *** Run a scheduled...
System Security
Scheduled shutdown?
I like to have my desktop computer running late into the night so that I can stream videos off of it to my laptop; however, I don't especially want it on 24/7. I was wondering if there is a way to schedule a shutdown time for Windows on my desktop, say for example 4:00am. At the moment I just...
Performance & Maintenance
Scheduled Defrag Disabled for SSD, but what about 2nd HD?
Hello Win7 forums. I have my OS installed on a Kingston 64gb SSD, and have disabled scheduled defrags in my Administrative Tools. I have a second mechanical drive installed for storage and non-vital applications, and can't seem to defrag this drive. I select Disk Defrag for that drive but...
Hardware & Devices
scheduled Disk defrag does not run
Dear forum members, my scheduled Disk defrag does not run in Win7 home 64 bit. I have made sure that all appropriate areas are ticked. Also in Services.msc the defragmenter is set to automatic and I have started the service. No Go. I have tried setting daily 5pm no go, 6pm and watched, no go. I...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App