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: Defragmenting using "cmd" in SAFE MODE.

20 Jan 2010   #1
Ozirus

Windows 7 Home Premium 64-bit
 
 
Defragmenting using "cmd" in SAFE MODE.

I found that performance was best with "Vista Home Premium" when I defragmented in SAFE MODE, using the command promt method.

ie. "defrag c:, defrag c: -b, defrag c: -w",

also in Vista, "defrag c: -a" would analyze

Now that I have Windows 7 Home Premium 64-bit, I cannot seem to achieve this in Windows 7.

They have changed it slightly, (ie. "defrag c: /a" to analyze). Does anyone know how to defragment, in SAFE MODE, using the command promt window?


My System SpecsSystem Spec
.
20 Jan 2010   #2
nate42nd

Windows 7 Professional x64
 
 

I think if you use "defrag.exe -?" it will give you a list of commands.

Maybe they have changed something. I don't have my 7 machine now, but try it out.
My System SpecsSystem Spec
20 Jan 2010   #3
Ozirus

Windows 7 Home Premium 64-bit
 
 

I does give a list of different "defrag" commands, but none of them work.
My System SpecsSystem Spec
.

20 Jan 2010   #4
nate42nd

Windows 7 Professional x64
 
 

Are you running as admin? You probably need to.

Here is a tutorial also....if you have not seen it or don't know about it. For Vista but should work.

Disk Defragmenter from Command Prompt - Vista Forums
My System SpecsSystem Spec
20 Jan 2010   #5
computersplus

Windows 7 Ultimate 32 bit
 
 

the best thing to do is get a good defrag program like PerfectDisk that allows your locked system files to be defragged during reboot, what I do is run a normal defrag then a boot time defrag and another defrag afterward this does not have to be this way all the time but once you first install it that's the best way to start after that let in do it's scheduled defrags
My System SpecsSystem Spec
20 Jan 2010   #6
CarlTR6

Windows 7 Ultimate 32 bit
 
 

It worked for me. I opened the command prompt "Run as administrator" and used the command "defrag C: /a /u"
My System SpecsSystem Spec
20 Jan 2010   #7
Ozirus

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by CarlTR6 View Post
It worked for me. I opened the command prompt "Run as administrator" and used the command "defrag C: /a /u"
Does it work in Safe Mode, for you?

It works for me in Normal Mode, but not Safe Mode.
My System SpecsSystem Spec
21 Jan 2010   #8
CarlTR6

Windows 7 Ultimate 32 bit
 
 

No, it didn't work for me either in the safe mode.

However, I just read an article by Fred Langa on using the safe mode for defrag. He stated there was some advantage in doing this with XP;;but he can find no advantage in doing so with Win 7 or Vista.
My System SpecsSystem Spec
21 Jan 2010   #9
pbcopter

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64, Windows 10 Pro x64
 
 

Personally, I just let Windows 7 defrag run scheduled in the background and it keeps my disks defragmented and I don't have to do anything.
My System SpecsSystem Spec
Reply

 Defragmenting using "cmd" in SAFE MODE.




Thread Tools




Similar help and support threads
Thread Forum
"A disk read error occurred" and Safe Mode Issues
So yesterday, my computer was in sleep mode, working fine. I was vacuuming my room and I blew a circuit, no biggie, happens all the time, so I turn off the vacuum and lights, went down to the fuse box, and flipped the switch back. I haven't tried to use my computer until I finished vacuuming. Once...
General Discussion
programs are slow and say "not responding" but works fine in safe mode
my computer randomly went blank like its going into sleep mode before the battery runs out but it didn't go into sleep mode at all it just stayed blank so i "illegally powered off" and turned it back on after that it became incredibly slow it works fine for the first 30 seconds then stops and...
General Discussion
Reboot loop during "Preparing to configure Windows" - Can't safe mode
Hello, I have a Dell XPS M1530 laptop, completely stock with Windows 7 Ultimate x64 installed. Windows has recently installed some updates and when it rebooted it showed the "Preparing to configure Windows - Do not turn off your computer" Same as this but after about 10-20 seconds it...
BSOD Help and Support
Internet faster in Safe Mode, slower in "normal mode"
As title says, my internet in safe mode with network activity is 10x times faster than in normal mode, i've removed a lot of services but the problem insists. Logfile of Trend Micro HijackThis v2.0.5 Platform: Windows 7 SP1 (WinNT 6.00.3505) MSIE: Internet Explorer v8.00 (8.00.7601.17514) ...
Network & Sharing
Computer does not load at "Starting Windows", no safe mode or restore
I have recently been having this problem with my Compaq Presario Cq56 laptop. It used to be working fine for years and this problem suddenly came up a few weeks ago. Whenever I turn on my computer it would seem to load but then when it frayed the starting windows screen nothing else happens. The...
General Discussion
BSOD "Bad Pool Header" and "Page In Nonpage Area" Runs in Safe Mode
Hi, I am having a problem with my newer computer, I just got this rig a few months ago and never had a problem until last Thursday. It Blue Screened on me while I was installing ARC GIS 10.1. From then on it randomly crashes. (I have previously installed ARC GIS 10 and never had a problem.) I...
BSOD Help and Support


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 08:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App