none
Windows image restore (Error code 0x80070057; "the parameter is incorrect")

    Question

  • Hi! :)

    I have a Samsung PM800 256GB SSD. I made an image backup two nights ago with Windows 7 Ultimate 64-bit. Then yesterday I had some issues with partition alignment which somehow botched the Windows Repair/Recovery Environment found in "Repair Your Computer" when you hit F8 on boot. Windows, however, was fine after a startup repair and the partition was aligned perfectly. :)

    However, I couldn't get the Recovery Environment back so I did a fresh install of Windows Professional 64-bit onto my system. The recovery partition was there (and on a side note, it was aligned correctly, too). I am now trying to restore the image I made a few days ago. However, I realize I cannot conduct this restore (of the image) if I
    access the recovery environment through the hard drive (tells me it can't restore because the environment is on the hard drive which is to be restored) or a disc (I cannot eject a disc in the recovery environemnt due to lacking drivers for the touch-sensitive eject key). So I put the Recovery Environment on a flash drive which seems to work fine, though I cannot be certain that this is working perfectly.

    Nonetheless, I insert the disc with my backup (50GB Blu-ray DL) and the jump drive. Boot into the recovery environment via flash drive (my motherboard supports USB booting) and attempt to restore the image. It tells me it will have to format the drive, etc. However, as soon as I click the final "yes" prompt and it starts to restore, it immediately spits an error at me:

    Error: The parameter is incorrect
    Code: 0x80070057


    I have google'd this for hours, no luck: so few people have this problem and if so it is in MAKING the backup, not restoring it.

    The disc is fine: I've cleaned in numerous times. If you can't figure out the solution, can someone PLEASE tell me how to get this image onto my hard drive somehow? It is a *.vhd file about 18GB in size, but it includes a handful of other cryptically-titled files. :/

    Thanks,

    ~Ibrahim~

    Some possible useful bits of information:
    I made an image of my 7 Ultimate 64-bit drive, but only had a 7 Pro disc handy. I have my Ultimate 64-bit key, but don't have the disc currently. So I'm trying to restore an image of 7 Ultimate 64-bit onto my 7 Pro 64-bit installation: issue?

    There were no errors when making the image.

    Idea: wipe the drive clean (how?) and then use the image restore tool on my jump drive? I would do this RIGHT now, but I don't know how to format the hard drive without concurrently installing Windows. I have GParted (which I initially used to align the partition) on a disc: just use that? I want to be SURE that this is a good solution, though: if I formatted it, tried the restore and it failed, it would be a PITA to have to reinstall 7 again. :(
    Thursday, January 28, 2010 5:18 PM

Answers

  • Guys. I fixed it. It's doing the image restore now.

    I called MS and they told me that you can't do an image restore unless ALL the drives are exactly as they were. Meaning when I was using my jump drive to initiate the recovery (because I can't eject the recovery disk to put in the image disk), it was counting that as a drive. So no go on using a jump drive to initiate the Windows Recovery Environment. That was what was the "the parameter is incorrect; 0x80070057" error.

    I figured out a workaround that I should have seen INSTANTLY. All this time, it's been there. When you're selecting an image, Microsoft realized some people might have their images on external drives which require special drivers. You just go there and wala, you see a Browse icon. Go in there, right-click the optical drive, eject, put in the one with the image.

    It's restoring now.

    OH YEAH!

    And, btw, if you were wondering, 3 is the limit of times you can clean install from an upgrade disk on 7. I had to call and get that working,too.

    ~Ibrahim~
    Saturday, January 30, 2010 3:30 AM

All replies

  • Bump.

    New information:

    -Used diskpart to "clean" hard drive. Attempted restore again: 0x80070057.
    -Used Vista Recovery Environment to attempt a restore as this person had:
    http://www.overclock.net/windows/620851-full-windows-7-image-restore.html
    He had the exact same issue I did, but he was able to fix it using the Vista Recovery Environment. Is he correct in stating that the Windows 7 Restore Image tool only will restore if it is the "same OS, same installation"? I would hope not!


    Thanks.
    Thursday, January 28, 2010 10:45 PM
  • Bump, I was able to force an install using some wbadmin commands.

    However, now I'm at a blinking cursor, black screen, no boot. Startup Repair (finally!) recognizes my old install and doesn't detect any problems. I've tried bootsect, bcdedit, diskpart, etc. Nothing.

    I'm so close. Anyone have ANY IDEA of how to fix this? I can access all my old files through command prompt, but I just can't get the darned thing to boot! :(

    Thanks in advance.

    ~Ibrahim~
    Friday, January 29, 2010 4:07 AM
  • Guys. I fixed it. It's doing the image restore now.

    I called MS and they told me that you can't do an image restore unless ALL the drives are exactly as they were. Meaning when I was using my jump drive to initiate the recovery (because I can't eject the recovery disk to put in the image disk), it was counting that as a drive. So no go on using a jump drive to initiate the Windows Recovery Environment. That was what was the "the parameter is incorrect; 0x80070057" error.

    I figured out a workaround that I should have seen INSTANTLY. All this time, it's been there. When you're selecting an image, Microsoft realized some people might have their images on external drives which require special drivers. You just go there and wala, you see a Browse icon. Go in there, right-click the optical drive, eject, put in the one with the image.

    It's restoring now.

    OH YEAH!

    And, btw, if you were wondering, 3 is the limit of times you can clean install from an upgrade disk on 7. I had to call and get that working,too.

    ~Ibrahim~
    Saturday, January 30, 2010 3:30 AM
  • Right on, Ibrahim. I had the same issue and error message except I loaded Windows 7 from USB stick. Your message and it was a great help. My fix: I went through all the steps in the image restore until the final confirmation buttom is to be pressed and removed the USB stick right at that point. Result: the system is restoring now.
    • Proposed as answer by Jason H. _ Thursday, March 17, 2011 10:46 PM
    Tuesday, February 16, 2010 5:44 AM
  • While this wasn't exactly what helped me, it was the final clue in my figure out wtf was the cause of my error "the parameter is incorrect; 0x80070057".

    My situation was this:

    - Created my Win7 64bit sys image to an external HDD connected via USB. 
    - Booted W7 Repair off a USB drive, created by making an iso of the cd and following these instructions
    - No issues up til the last step before recovery when the dreaded error would pop up immediately.
    - I recreated the backup image with a multitude of variation to no avail.
    - Finally, partly out of sheer frustration, I pulled the usb flash drive out after it had booted the recovery instance but before attempting to begin restoration.
    - Magically, this time when I hit "next" to start, the parameter was now correct and the image restored normally.

    That's it... just needed to remove the recovery boot flash drive prior to starting.  Argh.
    • Proposed as answer by matt_shoe Saturday, April 05, 2014 1:26 AM
    • Unproposed as answer by matt_shoe Saturday, April 05, 2014 1:33 AM
    Saturday, February 20, 2010 1:54 AM
  • I had a very similar situation to M.Rock.  I was attempting to upgrade the hard drive of my Lenovo X200 - which does not have a CD/DVD drive.  My idea was to create a System Image on my local network (samba), swap the drive on the X200, then restore the image to the X200.  To this end, I created a recovery disc using the old machine, then copied the files on said disc to a bootable usb stick. The X200 booted fine from the stick, but the recovery process hanged with the error:

    Error: The parameter is incorrect
    Code: 0x80070057


    I admit, I was embarrassed to discover that my parameter was incorrect.  Nonetheless, I took to teh internets looking for a cause to this incredibly general error message.

    My fix turned out to be identical to M.Rock's: I pulled the usb stick out immediately before the confirming the restore and it seems to be working.

    Why is it so difficult to upgrade the hard drive?  This is the second system where Windows 7 Backup and Restore has not functioned in a sane manner (I have another outstanding issue on Microsoft Answers from the old system). This is really easy to do on *nix systems (the bullet-proof tank upon which I find myself typing this increasingly rant-y message) so I can't imagine it is a technical issue.  This feels like somebody's idea of copy protection, except that it (almost) foiled a paying customer from performing a really basic system upgrade.
    Sunday, March 07, 2010 7:27 AM
  • Great advise!   I have an x41t that keeps losing its 7 image or corrupting data on the SSD any time i test usb bootable devices...

    I actually carry the h/d with the backups when travelling incase it corrupts data or just doesnt boot(as it JUST did).

    This time I had it (backup) in an internal drive bay on an x4 base, as opposed to usb enclosure, and used a usb key as opposed to a dvd in the x4 base.

    So, I go to restore from the backup i just made 2 days ago before leaving work, and.....

    Error: The parameter is incorrect
    Code: 0x80070057
     
     

    I was perplexed!  You ABSOLUTLEY made my day with this, as i didnt want to have a dead laptop on the first day of a class.

    its sitting at the screensaver right now.  Thank you.

     

    (for the record, with the standard h/d in it, it works fine w xp - thinkin ssd)

    Monday, August 16, 2010 2:16 AM
  • Thanks for the fix... I don't understand why I should have had this problem in the first place!

    Just pull out the drive before confirming and you should be fine :)

    Wednesday, December 01, 2010 7:29 PM
  • Ibrahim,

    Could you give me a detailed step by step guide for how you resolved your problem (or if anyone else can)? I am running vista and trying to restore from an external hard drive and upon restoring I continually get the error 0x80070057. I have the old drive in currently and a new one with vista preinstalled on it from Dell. I noticed you mentioned something about using DVDs...if I backed up my old drive on DVDs instead of the external hard drive would that solve my problem?

    Thanks

    Monday, January 10, 2011 4:45 PM
  • HI,

    I've just had the same problem.  Basically Windows Vista/7 treats USB drives as internal disk drives and therfore when you try to recover your image the disks Windows sees in the image don't match the physical disks on your computer (why it lets you do an image to a disk and then complains about it i'll never know?). 

    As your image is on a external drive you can try putting it on DVD however I don't think it'll work, the best option is to create a share on another windows computer, create a folder in it called 'WindowsImageBackup' YES that's all one word, then copy the whole backup folder off the external drive to the share.  You should be able to boot to the recovery disk/pen drive and then click advanced and select connect to the network....the rest should be straight forward.

    Job Done!

    Friday, January 28, 2011 2:36 PM
  • This does not just apply to restoring.  I have the same error when I was trying to create my restore iso.  The answers above make me think, just maybe.  Remove my pendrives from the machine and tried again and bingo!

     

    thanks guys

     

       Norman

    Thursday, April 28, 2011 12:59 PM
  • The backup software DOES NOT WORK!!!  Microsoft DOES NOT CARE!!!!!

    Obviously Vista and Windows 7 can't support backup.  They have failed and ripped me off twice snd I have spent weeks of time dealing with the consequences.  Search the Internet and you'll find soo many people on all types of computers with fresh clean installation that have this problem.

    Vista's backup failed and NEVER worked.  MS support tried to work with me and after 3 months of every level of tech support could not fix the problem, they told me the answer was to wait for Windows 7 for the fix.  My Vista system had many major meltdowns. Having no backup or repair disk I was not able to recover and every few months I needed to spend a day rebuilding the operating system.

    I resisted paying $100 for an upgrade to fix a problem that should have worked in Vista. Desperation must be Microsoft's marketing plan. I broke down and bought Windows 7 Pro, installed all the updates and ran the backup "Create a system Image".  It backed up to a Blu-Ray disk. at the end Windows asked if I wanted to create a "System Repair Disk"?   I selected to create one on a DVD in the Blu-Ray burner.  It FAILED giving me the error number I will remember as long as I live, 0x80070057.  I tried this again on the DVD burn and the same error occurred. 

    Has anyone used a backup software that has restored Windows 7 or Vista from a major corruption?  I tried Acronis and it backed up but would not restore Vista.  I've considered Retrospect, has anyone used it?

    Thanks Nick Brown nickb201 AT gmail DOT com


    Monday, May 09, 2011 3:07 AM
  • I just want to thank you so much!!!  I was having your issue with Windows Server 2008 R2.  My server all of a sudden crashed, due to software, so because I do an automatic full system backup at 1:00 AM every day, I thought I could restore it.  I went through the exact process you described because Windows Server 2008 R2 is basically Windows 7 "gone server."  I didn't remove my recovery flash-drive before re-imaging, so I got the error.  As you said, there isn't anything else on the web about this.  I understand that you could have called Microsoft, fixed your problem, and been done, but instead, you posted you findings with the world so that others can have their problem fixed.  Because of your consideration, my server is re-imaging right now as I type and my entire network should be "saved" in about and hour.  Thank you so much!!!
    Monday, January 23, 2012 4:14 AM
  • Your suggestion was what did it for me; I kept getting the message UNTIL I removed the USB just before giving the final confirmation.

    For those who might want to know how to create an Emergency Repair Disk on a thumb (USB) drive, watch this video:

    http://www.youtube.com/watch?v=nHk6BNtwy5w

    Saturday, May 26, 2012 7:24 PM
  • Actually The answer (in My case) was (http://technet.microsoft.com/en-us/library/cc757491%28v=ws.10%29.aspx) to change the drive letter. For some reason it was assigning the Drive I wanted to restore to the letter J and the drive to restore from: the letter C. I changed the drive letters with DISKPART and it restored like magic. Now my client is back up and running!
    Thursday, June 14, 2012 4:34 AM
  • One thing that also works is that you can unplug the USB drive before you get to the drive selection part.  Once you've booted, and after you begin the restore the USB drive isn't going to be used for anything else.  

    Works 100% of the time for me.

    first I back up my machine and elect to create a recovery disk

    then I rip the recovery disk into an ISO 

    I use "iso to usb" to create a bootable usb key from that ISO

    set up the computer so that bios 0 drive is my new C drive, and my image drive is bios drive 1, however I need to do that.

    sometimes you also have to run diskpart and 'clear' the target drive... even after removing partitions there are sometimes reasons why that needs to happen
    you do this by running diskpart, selecting the drive (make sure it's the right one) and entering the clear command.  Not something you want to do in error

    boot from the USB key

    select restore from system image

    when you have system image selected and target drive selected, remove the usb key, give it a moment to settle and hit the next button

    if you do not remove the usb key, you will get an error about 'invalid parameter'


    Tuesday, July 24, 2012 1:49 AM
  • Thanks Ibrahim.jadoon!

    Pulled the USB Stick out and the restore is now working.  Awesome!


    Cameron

    Thursday, October 11, 2012 2:19 PM
  • Thank you all so very much. My Dad gave me his two-year-old 60G OCZ Agility 2 when he upgraded to a 90G. Of course, a month later, it flat out died--unrecognized by BIOS.

    Having had miserable luck with SSDs in the past, I create a system image every week. I thought it would be easy to put in an old 80G SATA HDD and restore my three-day-old system image (using my Windows 7 USB stick).

    System image failed. Parameter is incorrect 0x80070057.

    Fortunately, Google is my friend, and I found this post. As soon as I pulled out the USB stick and hit Enter, it restored my image.

    Thank you!

    Thursday, December 06, 2012 2:41 AM
  • In my case I was recovering a laptop and booting off a USB Key (with the recovery DVD on it, via www.pendrivelinux.com) and the backup on an external USB hard disk.

    The Laptop Hard Disk (an SSD) had been securely wiped and was being completely restored.

    On boot, the USB Hard Disk was being seen as the C: drive, and thus trying to restore to restore the Image to the C: drive was failing (obvious in hindsight).

    The solution that worked for me as follows;

    1. With only the USB Key inserted, boot the laptop from the USB Key
    2. Let the restore program boot up and get to the point where it looks for a image to restore
    3. Then plug in the USB Hard disk
    4. Select latest backup system image.
    5. Start recovery

    Works fine for me after about 30 minutes of googling for answers!

    Saturday, November 02, 2013 4:40 PM
  • this works!

    before selecting the restore image pull out your memory stick. everything will still work.

    select the image and then you can restore without error!

    thnx for this article,

    Leon

    Thursday, November 21, 2013 10:03 AM
  • hello. i have tried these on my laptop. i pulled out the usb stick and put the hard drive in so it was coming from the same drive letter. still no luck. it will go through the process but will give me the same error. i dont know what to do since during the restore process it reformatted my hard drive. so i dont have any way of getting the factory partition back on my computer other than restoring the image i have backed up. so now i dont have a working computer... if anyone can help me please. i need it. 

    backed image up onto external hard drive
    booted from usb drive with windows 8.1 recovery drive on it
    tried removing usb stick before doing restore, no luck


    • Edited by Caleb Pang Tuesday, December 03, 2013 9:34 PM
    Tuesday, December 03, 2013 9:33 PM
  • My computer was set up like this

    DVD drive (Q)

    Boot SSD (C)

    Backup Harddrive (D) (had the backup system image)

    When the boot drive died, I replaced it with a new SSD and ran a copy of the Windows System Repair from a bootable USB stick. Running the System Image Recovery always failed with either the above error or a more generic failure message that the drives were wrong or not avialable.

    Nothing worked. That trick with pulling out the USB at the final step did not work. I Tried changing drive letters with diskpart. Nope.

    What did work was running the Windows 7 System Repair from the DVD (boot from the Windows System Repair DVD).

    I am building new Windows 7 computers with no optical drives and I wonder if that is a mistake. Let me add my voice to those that are asking"why is Microsoft so careless?" We are recovering your base OS with your built-in tools. Why!?

    Friday, December 06, 2013 5:56 PM