win 7 restore and f4 not working

Page 3 of 6 FirstFirst 12345 ... LastLast

  1. Posts : 24
    7
    Thread Starter
       #21

    C:\windows\system32>
    C:\windows\system32>bcdedit /create /device
    The entry {7d6a7bc4-ade8-11df-a9e9-002454733de7} was successfully created.

    C:\windows\system32>Bcdedit /create /d "Restore to Factory" /application osloade
    r
    The entry {7d6a7bc5-ade8-11df-a9e9-002454733de7} was successfully created.

    C:\windows\system32>
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #22

    To complete the ramdisk stuff:
    Code:
    bcdedit/create {ramdiskoptions} /d "RamdiskOptions"
    bcdedit/set {ramdiskoptions} ramdisksdidevice partition=p:
    bcdedit/set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
    To complete the new boot entry:
    Code:
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} device ramdisk=[p:]\sources\boot.wim,{ramdiskoptions}
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} path \windows\system32\boot\winload.exe
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} locale en-US
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} inherit {bootloadersettings}
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} osdevice ramdisk=[p:]\sources\boot.wim,{ramdiskoptions}
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} systemroot \windows
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} nx AlwaysOff
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} pae ForceDisable
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} detecthal Yes
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} winpe Yes
    bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} ems Yes
    Last edited by Kaktussoft; 01 Dec 2014 at 16:34.
      My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #23

    after #22 (of course post all errors!)

    Code:
    bcdedit /displayorder {7d6a7bc5-ade8-11df-a9e9-002454733de7} /addlast
    bcdedit/timeout 5
    (boot menu will show menu options for 5 seconds. Afterwards it start the default one.... win7)
    bcdedit/enum all

    post output.
    Last edited by Kaktussoft; 01 Dec 2014 at 16:45.
      My Computer


  4. Posts : 24
    7
    Thread Starter
       #24

    Do you want me to go for all the commands one after the other and give you the all the errors at once , or should I send you errors once command at a time?

    Below is the first error I got

    C:\windows\system32>
    C:\windows\system32>bcdedit/set {7d6a7bc4-ade8-11df-a9e9-002454733de7} ramdisksd
    idevice p:
    The device is not valid as specified.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.

    C:\windows\system32>
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #25

    Code:
    bcdedit/delete {7d6a7bc4-ade8-11df-a9e9-002454733de7}
    Afterwards do #22 (I changed it) again and proceed. No errors should occur! So if error.... stop and post.
      My Computer


  6. Posts : 24
    7
    Thread Starter
       #26

    Are these expected outputs. should I proceed with #22

    C:\windows\system32>
    C:\windows\system32>bcdedit/delete {7d6a7bc4-ade8-11df-a9e9-002454733de7} /f
    The operation completed successfully.

    C:\windows\system32>bcdedit/set {ramdiskoptions} ramdisksdidevice p:
    An error occurred while attempting to reference the specified entry.
    The system cannot find the file specified.

    C:\windows\system32>bcdedit/set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
    An error occurred while attempting to reference the specified entry.
    The system cannot find the file specified.

    C:\windows\system32>
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #27

    Not expected at all. I only expect "completed succesfully". #22 changed again!
      My Computer


  8. Posts : 24
    7
    Thread Starter
       #28

    Step 2 in #22 failed.

    C:\windows\system32>bcdedit/create {ramdiskoptions} /d "RamdiskOptions"
    The entry {ramdiskoptions} was successfully created.

    C:\windows\system32>bcdedit/set {ramdiskoptions} ramdisksdidevice p:
    The device is not valid as specified.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.

    C:\windows\system32>
      My Computer


  9. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #29

    Do line 2 again (I changed it)
      My Computer


  10. Posts : 24
    7
    Thread Starter
       #30

    Problem in #22 part 2

    C:\windows\system32>
    C:\windows\system32>
    C:\windows\system32>
    C:\windows\system32>bcdedit/set {ramdiskoptions} ramdisksdidevice partition=p:
    The operation completed successfully.

    C:\windows\system32>bcdedit/set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
    The operation completed successfully.

    C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} device ra
    mdisk=p:\sources\boot.wim,{ramdiskoptions}
    The device is not valid as specified.
    Run "bcdedit /?" for command line assistance.
    The parameter is incorrect.

    C:\windows\system32>
      My Computer


 
Page 3 of 6 FirstFirst 12345 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 04:19.
Find Us