win 7 restore and f4 not working

Page 1 of 6 123 ... LastLast

  1. Posts : 24
    7
       #1

    win 7 restore and f4 not working


    Hi,

    I am trying to restore my computer but my F4 option is not working. I am using Samsung laptop. I took backup using samsung backup and restore tool. I realised the mistake I have done. I installed linux and deleted that partition directly(formated) from windows. I got grub error. Which I solved with windows CD ( bootable setup installation cd). But I dont have acess to original backup though I did not delete that partition. I have shared the screen shot. I tried getting information from this thread but could'nt find a solution. I dont want to do more mistakes and risk my OS backup. Please let know what needs to be done
    thanks
    Rocky
    Attached Thumbnails Attached Thumbnails win 7 restore and f4 not working-untitled.png  
      My Computer


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

    So you deleted linux partition. Grub was still thje boot manager in MBR and you repaired that by running "startup repair".
    All done exactly what I should advise you.

    But now the replaced the boot manager from MBR. Most likely not a problem at all. You don't need to restire to "factory settings" anayway. Or do you?

    Do you make backups... that's better and safer.
    Anyway open Elevated Command Prompt and do
    Code:
    bcdedit/enum all > c:\t.txt
    Now post c:\t.txt . You may delete that file afterwards.

    Code:
    diskpart
    select  disk  0
    list  part
    --What's the partition number of the 20GB partition? Assume it's number 7.
    select part  7
    detail part
    exit
    Post output.... I'm interesterd in its "type".
      My Computer


  3. Posts : 24
    7
    Thread Starter
       #3

    Thanks for your suggestions. I got the following output.


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

    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-002454733de7\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-002454733de7\Winre.wim,{7d6a7bbf-ade8-11df-a9e9-002454733de7}
    systemroot \windows
    nx OptIn
    winpe Yes

    Windows Boot Loader
    -------------------
    identifier {7d6a7bc2-ade8-11df-a9e9-002454733de7}

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


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

    {7d6a7bc2-ade8-11df-a9e9-002454733de7} has no properties at all. And referenced by noone

    and {7d6a7bc1-ade8-11df-a9e9-002454733de7} is the default boot entry. But that entry doens't exists!

    in elevated command prompt:
    Code:
    bcdedit/delete {7d6a7bc2-ade8-11df-a9e9-002454733de7}
    bcdedit/default  {current}
    resumeobject {7d6a7bc0-ade8-11df-a9e9-002454733de7}
    is incorrect and not found.
    in elevated command prompt:
    Code:
    bcdedit /set {bootmgr} resumeobject {7d6a7bbc-ade8-11df-a9e9-002454733de7}
    This won't fixed the main problem, but cleans remaining phantom bcd menu stuff.
      My Computer


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

    Post #2 (the diskpart stuff) as well
      My Computer


  6. Posts : 24
    7
    Thread Starter
       #6

    Done as you have instructed.

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

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

    C:\windows\system32>bcdedit/default {current}
    The operation completed successfully.

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

    C:\windows\system32>diskpart

    Microsoft DiskPart version 6.1.7601
    Copyright (C) 1999-2008 Microsoft Corporation.
    On computer: HANUMAN

    DISKPART> select disk 0

    Disk 0 is now the selected disk.

    DISKPART> list part

    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    Partition 1 Recovery 20 GB 1024 KB
    Partition 2 Primary 100 MB 20 GB
    Partition 3 Primary 75 GB 20 GB
    Partition 0 Extended 137 GB 95 GB
    Partition 4 Logical 127 GB 105 GB

    DISKPART> select part 1

    Partition 1 is now the selected partition.

    DISKPART> detail part

    Partition 1
    Type : 27
    Hidden: Yes
    Active: No
    Offset in Bytes: 1048576

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    * Volume 3 RECOVERY NTFS Partition 20 GB Healthy Hidden


    DISKPART> select disk 0

    Disk 0 is now the selected disk.

    DISKPART> list part

    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    Partition 1 Recovery 20 GB 1024 KB
    Partition 2 Primary 100 MB 20 GB
    Partition 3 Primary 75 GB 20 GB
    Partition 0 Extended 137 GB 95 GB
    Partition 4 Logical 127 GB 105 GB

    DISKPART> select part 1

    Partition 1 is now the selected partition.

    DISKPART> detail part

    Partition 1
    Type : 27
    Hidden: Yes
    Active: No
    Offset in Bytes: 1048576

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    * Volume 3 RECOVERY NTFS Partition 20 GB Healthy Hidden

    DISKPART>
      My Computer


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

    Code:
    diskpart
    select disk 0
    select part 1
    set  id=07  OVERRIDE
    assign  letter=P
    exit
    Works? You have a new drive P now? It's not hidden ntfs anymore but normal ntfs. You can explore the P disk!
    In elevated command prompt:
    Code:
    attrib/s  p:\*.wim
    attrib p:\boot\bcd
    Post output
      My Computer


  8. Posts : 24
    7
    Thread Starter
       #8

    DISKPART>

    DISKPART> select disk 0

    Disk 0 is now the selected disk.

    DISKPART> select part 1

    Partition 1 is now the selected partition.

    DISKPART> set id=07 OVERRIDE

    DiskPart successfully set the partition ID.

    DISKPART> assign letter=P

    DiskPart successfully assigned the drive letter or mount point.

    DISKPART> exit

    Leaving DiskPart...

    C:\windows\system32>


    C:\windows\system32>
    C:\windows\system32>
    C:\windows\system32>attrib/s p:\*.wim
    A P:\Restore\Files\Windows\system32\oobe\FirstUXRes.WIM
    A P:\sources\boot.wim

    C:\windows\system32>attrib p:\boot\bcd
    A P:\boot\bcd

    C:\windows\system32>
      My Computer


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

    Looks like P has WIM files (containers with files.... kind of zip file). You can also see WIM file as an DVD wehere you can boot from. p:\boot\bcd is the boot menu.

    Code:
    bcdedit/store  p:\boot\bcd
    Post output

    Do you want the recovery partition as an extra option to boot from in your current boot menu? Or do you want to know just a trick to start the recovery to factory settings? You most likely never will and have to use it!
      My Computer


  10. Posts : 24
    7
    Thread Starter
       #10

    I need it the way I brought my laptop new. Well I know my F4 is not working now. I need to activate it. And also my recovery drive just in case I need to restore to factory setting. Here is the output.

    C:\windows\system32>bcdedit/store p:\boot\bcd

    Windows Boot Manager
    --------------------

    identifier {bootmgr}
    description Windows Boot Manager
    locale en-US
    inherit {globalsettings}
    default {default}
    displayorder {default}
    toolsdisplayorder {memdiag}
    timeout 30

    Windows Boot Loader
    -------------------
    identifier {default}
    device ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
    -000476eba25f}
    path \windows\system32\boot\winload.exe
    description Samsung Recovery Solution 4
    locale en-US
    inherit {bootloadersettings}
    osdevice ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
    -000476eba25f}
    systemroot \windows
    nx AlwaysOff
    pae ForceDisable
    detecthal Yes
    winpe Yes
    ems Yes

    C:\windows\system32>


    Thanks
    Rakesh
      My Computer


 
Page 1 of 6 123 ... 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 02:10.
Find Us