win 7 restore and f4 not working

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 My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
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:

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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:

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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 My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
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 My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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 My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
Not expected at all. I only expect "completed succesfully". #22 changed again!
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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 My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
Do line 2 again (I changed it)
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
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 My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
sorry changed it again. Continue with same line
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Perfect. Do I have to do anything else or is it solved completely.

C:\windows\system32>
C:\windows\system32>
C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} device ra
mdisk=[p:]\sources\boot.wim,{ramdiskoptions}
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} path \win
dows\system32\boot\winload.exe
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} locale en
-US
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} inherit {
bootloadersettings}
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} osdevice
ramdisk=[p:]\sources\boot.wim,{ramdiskoptions}
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} systemroo
t \windows
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} nx Always
Off
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} pae Force
Disable
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} detecthal
Yes
The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} winpe Yes

The operation completed successfully.

C:\windows\system32>bcdedit/set {7d6a7bc5-ade8-11df-a9e9-002454733de7} ems Yes
The operation completed successfully.

C:\windows\system32>
 

My Computer My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
Do #23 as well. Then I will check it. Afterwards you can test the new boot menu entry by doing a reboot. Of course only do a real "factory reset" if in real trouble!
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
(boot menu will show menu options for 5 seconds. Afterwards it start the default one.... win7)
bcdedit/enum all
I did not understand this part?
Should I run ---- bcdedit/enum all ?


Output of #23

C:\windows\system32>
C:\windows\system32>bcdedit /displayorder {7d6a7bc5-ade8-11df-a9e9-002454733de7}
/addlast
The operation completed successfully.

C:\windows\system32>bcdedit/timeout 5
The operation completed successfully.

C:\windows\system32>
 

My Computer My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
We did make a new ramdisk entry pointing to driver on P:
We did make a new winpe entry that's using that ramdisk. It is kind of a copy that's in p:\boot\bcd default entry.
New boot entry is in bootmenu on boot.

Bootmenu is in the 100MB "system reserved" partition.

Even if C is totally corrupted you can boot to restore to factory settings. But not if.... harddrive is faulty because of hardware failure.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
(boot menu will show menu options for 5 seconds. Afterwards it start the default one.... win7)
bcdedit/enum all
I did not understand this part?
Should I run ---- bcdedit/enum all ?


Output of #23

C:\windows\system32>
C:\windows\system32>bcdedit /displayorder {7d6a7bc5-ade8-11df-a9e9-002454733de7}
/addlast
The operation completed successfully.

C:\windows\system32>bcdedit/timeout 5
The operation completed successfully.

C:\windows\system32>


Do: bcdedit/enum all
and post the final results
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Ok . So are done solving this boot issue. Can I restart my system once and check. How do I make my recovery drive hidden so that I dont delete it accidentally?

C:\windows\system32>bcdedit/enum all

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume2
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {7d6a7bbc-ade8-11df-a9e9-002454733de7}
displayorder {current}
{7d6a7bc5-ade8-11df-a9e9-002454733de7}
toolsdisplayorder {memdiag}
timeout 5

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {7d6a7bbe-ade8-11df-a9e9-002454733de7}
recoveryenabled Yes
osdevice partition=C:
systemroot \windows
resumeobject {7d6a7bbc-ade8-11df-a9e9-002454733de7}
nx OptIn
numproc 2

Windows Boot Loader
-------------------
identifier {7d6a7bbe-ade8-11df-a9e9-002454733de7}
device ramdisk=[C:]\Recovery\7d6a7bbe-ade8-11df-a9e9-002454733d
e7\Winre.wim,{7d6a7bbf-ade8-11df-a9e9-002454733de7}
path \windows\system32\winload.exe
description Windows Recovery Environment
inherit {bootloadersettings}
osdevice ramdisk=[C:]\Recovery\7d6a7bbe-ade8-11df-a9e9-002454733d
e7\Winre.wim,{7d6a7bbf-ade8-11df-a9e9-002454733de7}
systemroot \windows
nx OptIn
winpe Yes

Windows Boot Loader
-------------------
identifier {7d6a7bc5-ade8-11df-a9e9-002454733de7}
device ramdisk=[P:]\sources\boot.wim,{ramdiskoptions}
path \windows\system32\boot\winload.exe
description Restore to Factory
locale en-US
inherit {bootloadersettings}
osdevice ramdisk=[P:]\sources\boot.wim,{ramdiskoptions}
systemroot \windows
nx AlwaysOff
pae ForceDisable
detecthal Yes
winpe Yes
ems Yes

Resume from Hibernate
---------------------
identifier {7d6a7bbc-ade8-11df-a9e9-002454733de7}
device partition=C:
path \windows\system32\winresume.exe
description Windows Resume Application
locale en-US
inherit {resumeloadersettings}
filedevice partition=C:
filepath \hiberfil.sys
pae Yes
debugoptionenabled No

Windows Memory Tester
---------------------
identifier {memdiag}
device partition=\Device\HarddiskVolume2
path \boot\memtest.exe
description Windows Memory Diagnostic
locale en-US
inherit {globalsettings}
badmemoryaccess Yes

EMS Settings
------------
identifier {emssettings}
bootems Yes

Debugger Settings
-----------------
identifier {dbgsettings}
debugtype Serial
debugport 1
baudrate 115200

RAM Defects
-----------
identifier {badmemory}

Global Settings
---------------
identifier {globalsettings}
inherit {dbgsettings}
{emssettings}
{badmemory}

Boot Loader Settings
--------------------
identifier {bootloadersettings}
inherit {globalsettings}
{hypervisorsettings}

Hypervisor Settings
-------------------
identifier {hypervisorsettings}
hypervisordebugtype Serial
hypervisordebugport 1
hypervisorbaudrate 115200

Resume Loader Settings
----------------------
identifier {resumeloadersettings}
inherit {globalsettings}

Device options
--------------
identifier {7d6a7bbf-ade8-11df-a9e9-002454733de7}
description Ramdisk Options
ramdisksdidevice partition=C:
ramdisksdipath \Recovery\7d6a7bbe-ade8-11df-a9e9-002454733de7\boot.sdi

Setup Ramdisk Options
---------------------
identifier {ramdiskoptions}
description RamdiskOptions
ramdisksdidevice partition=P:
ramdisksdipath \boot\boot.sdi

C:\windows\system32>
 

My Computer My Computer

At a glance

7atom1
Computer type
Laptop
Computer Manufacturer/Model Number
samsung
OS
7
CPU
atom
Memory
1
post: bcdedit/enum all

so I can check the final results
in the meantime check if it works
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Code:
diskpart
select vol  p
remove letter=p
set  id=27
detail part
exit

This is what you want?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Code:
diskpart
select vol  p
remove letter=p
set  id=27
detail part
exit

This is what you want?
bcdedit output (boot menu) seems to be fine. Does it work the way you want? Also works after "set id=27" ?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top