Can Windows Defrag while Laptop is Closed?

8

0

Can I run a Defrag and close the laptop lid? Or will my computer not defrag when it is in sleep mode? If not, can I turn of the monitor of my laptop when it's not in sleep mode, like, 0 brightness?

user5828

Posted 2009-08-18T15:18:30.497

Reputation:

2Wow! Who's the crabby-patty with the down vote? Seems like a good honest question to me. – Jeffrey – 2009-08-18T15:24:01.703

Answers

11

The computer won't defrag in sleep mode.

You can set your computer to not go to sleep mode when closing the lid, but I wouldn't recommend that for your use. In fact, I'm not really fond about letting a laptop work when closed, for heat issues, on the monitor.

You can set in the Power Options, in Control Panel, the fact that your monitor will turn off after a few minutes. It will answer to your "0 brightness" wish.

alt text

Gnoupi

Posted 2009-08-18T15:18:30.497

Reputation: 7 909

@WillEddins -10 There are no freehand circles here. – gcampbell – 2016-06-11T16:34:08.547

2+1 because the best answers always have screenshots. – Will Eddins – 2009-08-18T16:13:24.130

I would also be careful about having the laptop not sleep / do work while the lid is closed, as it is more likely that you would pick the laptop up and move it while the HDD is in motion and potentially do some damage. – Sam – 2009-08-19T13:47:13.913

Even worse, you can put it to your backpack while being on, thinking it's sleeping... (yes, did that) – Gnoupi – 2009-08-19T14:17:17.047

1@Gnoupi - I do that all the time (laptop working while closed in a backpack, while being carried around from home to work, and back). Never had any problems. – Rook – 2009-08-19T14:28:56.170

@Idigas : I have a gaming laptop, even 5 minutes with closing air access would be enough to trigger the auto-poweroff, due to temperature. But even if not that extreme, I had a Latitude D800 which was cutting when completely closed in a bag for a quarter of hour. Bottom line, it can work, but it's far from recommended. – Gnoupi – 2009-08-19T15:20:27.203

6

The computer will not defrag when it is in sleep mode or hibernation.

You should be able to adjust your power settings, though, for it not to sleep when the lid is closed.

Jeffrey

Posted 2009-08-18T15:18:30.497

Reputation: 2 600

1

It cannot defrag while in either sleep, or standby mode. It can however do anything with its lid closed, since you can tell it to stay "awake" while the id is closed.

Rook

Posted 2009-08-18T15:18:30.497

Reputation: 21 622

1

If you're using XP (not sure if it's changed in Vista) you can set up a scheduled task at a time when it is asleep. To have a scheduled task wake the computer you have to choose "Advanced Settings" and check a "Wake Computer" box. I use my netbook as my alarm by scheduling ForWhomTheBellTolls.mp3 to run in the mornings, very convenient. Be sure to harden your OS before using Scheduled Tasks (install all Service Packs and Security Updates).

Then you can get this utility 'http://www.gammadyne.com/cmdline.htm#sleep' and schedule it to put it back to sleep after it's done (when idle).

knups

Posted 2009-08-18T15:18:30.497

Reputation: 53

1

As long as the computer isn't set to sleep or hibernate when it's closed then it will do whatever you want.

rookieb

Posted 2009-08-18T15:18:30.497

Reputation: 11

1

The best option for you would be to simply automate defrag. Get Diskeeper09 or any other good defragmentation software and set it to defrag in background mode. It gets the job done even as you use your PC. There is no need to defrag manually or schedule tasks.

Hanri

Posted 2009-08-18T15:18:30.497

Reputation: