Microsoft Laptop

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 7 October 2009

Windows 7 Boot Optimization Error

Posted on 18:17 by Unknown
I am not sure if you guys know you can manually invoke Windows 7 defragmentation Tool to do boot optimization by using the /b flag.

When you run defrag.exe, you get the following
Microsoft Disk Defragmenter
Copyright (c) 2007 Microsoft Corp.

The parameter is incorrect. (0x80070057)

Description:

Locates and consolidates fragmented files on local volumes to
improve system performance.

Syntax:

defrag | /C | /E [/H] [/M | [/U] [/V]]
defrag | /C | /E /A [/H] [/M | [/U] [/V]]
defrag | /C | /E /X [/H] [/M | [/U] [/V]]
defrag /T [/H] [/U] [/V]

Parameters:

Value Description

/A Perform analysis on the specified volumes.

/C Perform the operation on all volumes.

/E Perform the operation on all volumes except those specified.

/H Run the operation at normal priority (default is low).

/M Run the operation on each volume in parallel in the background.

/T Track an operation already in progress on the specified volume.

/U Print the progress of the operation on the screen.

/V Print verbose output containing the fragmentation statistics.

/X Perform free space consolidation on the specified volumes.

Examples:

defrag C: /U /V
defrag C: D: /M
defrag C:\mountpoint /A /U
defrag /C /H /V

Notice there is no /B flag but it is there.
However on a fresh Windows 7 installation when you try to do this with Administrative Permission in a Command Prompt Window.
C:\Windows\system32>defrag C: /B
You get some message saying it cannot be done like the following:
Microsoft Disk Defragmenter
Copyright (c) 2007 Microsoft Corp.

Invoking boot optimization on (C:)...

Analysis: 100% complete.

Some registry entries were missing from the boot optimization section of the reg
istry. (0x89000017)

How to resolve this?
The issue is the idle tasks Windows is scheduled to run hasn't run once yet hence it cannot initialize boot optimization.
So to resolve simply open a Command Prompt Windows with Administrative Permission again and run the following commands to invoke the idle task.
C:\Windows\system32>Rundll32.exe advapi32.dll,ProcessIdleTasks
After that the error message will be gone and you can run boot optimization manually.

Why doesn't this happen sometimes?
Because RunIdle task is scheduled to run eventually after sometime of idle usage
if you do boot defrag immmediately after installation,
RunIdle task hasn't got a chance to run at all so you have to invoke it manually
if you want to start the operation immediately.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in boot, fix, optimize, windows 7 | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Configuring Pure-FTPd with TLS on OpenWRT
    This is a simple guide to configuring Pure-FTPd on OpenWRT which is available on the TP-Link WR1043ND OpenWRT Image I compiled. Pure-FTPd i...
  • How to Mod your Laptop VGA BIOS
    Basically there are 2 locations where the VGA BIOS in laptops. Some OEMS embed the VGA BIOS in the EFI/BIOS in your laptops, other OEMs have...
  • List Of Modified BIOS Collection
    Here are the list of Modified BIOS Collection (mainly SLIC Mods), no warranty provided use at your own discretion! Acer Aspire 4520G BIOS Ac...
  • Delete Windows System Files
    If you play around with Windows System Files sometimes it is not possible to delte them off after you had your fun. The following commands w...
  • Free Windows Themes and TuneXP
    Besides LINUX and UNIX system i also happen to know some good Windows Tools that everyone should have in their PCs Note the following tools ...
  • Acer Phoenix BIOS Emergency Recovery
    This is for people who don't listen and interrupt the flashing BIOS for unknown reasons. This will work provided the BIOS BootBlock isn...
  • Internet Explorer Tweak
    Here is a registry tweak for Internet Explorer Similar to the Mozilla Firefox tweak this enable you to increase the number simultaneous ser...
  • How to obtain the DSDT from your laptop
    There are many ways to rip the DSDT out of the laptop BIOS. If there is a BIOS editor it is possible to rip out the .AML file. However below...
  • Fixed My Left Speaker
    Ok, I had issues with my left speaker on my laptop. It was dead. So if I were to order the exact replacement it would cost more than $100 fo...
  • Changing the Acer Arcade Shortcut
    While surfing the Windows Registry (You must be thinking that I am weird =P) yesterday I found something interesting It is actually possible...

Categories

  • 32bit
  • 64bit
  • acer
  • ahci
  • amd
  • apple
  • aspire 4530
  • aspire 4535G
  • aspire 4740
  • atheros
  • atom
  • BIOS
  • boot
  • cleanup
  • configure
  • device
  • disk
  • dismantle
  • download
  • driver
  • fan control
  • firefox
  • firewall
  • firmware
  • fix
  • flash
  • graphics
  • hwmonitor
  • internet
  • linux
  • macs
  • microsoft
  • modified
  • nvidia
  • optimize
  • overclock
  • performance
  • power savings
  • powermizer
  • proxy
  • ram
  • Realtek
  • review
  • secure
  • shortcut
  • speaker
  • synaptics
  • temperature
  • theme
  • timeline
  • tweak
  • undervolt
  • update
  • wallpaper
  • windows 7
  • windows vista
  • Windows Xp
  • winsat
  • wlan

Blog Archive

  • ►  2013 (10)
    • ►  November (2)
    • ►  October (3)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2012 (4)
    • ►  September (1)
    • ►  June (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2011 (21)
    • ►  September (1)
    • ►  July (4)
    • ►  June (3)
    • ►  May (3)
    • ►  April (3)
    • ►  March (4)
    • ►  February (2)
    • ►  January (1)
  • ►  2010 (36)
    • ►  December (3)
    • ►  November (2)
    • ►  October (4)
    • ►  September (1)
    • ►  August (5)
    • ►  July (1)
    • ►  June (5)
    • ►  May (3)
    • ►  April (3)
    • ►  March (6)
    • ►  February (1)
    • ►  January (2)
  • ▼  2009 (81)
    • ►  December (3)
    • ►  November (3)
    • ▼  October (9)
      • Acer Phoenix BIOS Emergency Recovery
      • Windows 7 ISO CD Creator
      • Delete Windows System Files
      • RAM SPD Burner
      • Issue For Aspire 4530 Owners on Windows 7
      • Western Digital 320GB BEKT vs 320GB BEVT
      • Windows 7 Boot Optimization Error
      • Acer Harddisk Failure
      • How To Choose What Laptop System To Get?
    • ►  September (5)
    • ►  August (1)
    • ►  July (5)
    • ►  June (8)
    • ►  May (15)
    • ►  April (10)
    • ►  March (13)
    • ►  February (8)
    • ►  January (1)
  • ►  2008 (8)
    • ►  November (5)
    • ►  July (3)
Powered by Blogger.

About Me

Unknown
View my complete profile