Deleted WindowsApps folder and now I cant boot!

Page 4 of 6 FirstFirst ... 23456 LastLast

  1. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #31

    If possible use a camera or smartphone camera to take pictures and post images of the commands and results into the thread.
    If there is a srttrail.txt then post it into the thread.
      My Computer


  2. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #32

    Sure, I'll do it.
      My Computer


  3. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #33

    Are you familiar with regback?
      My Computer


  4. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #34

    Not sure, you mean the folder? If that's what you mean, that's gonna be my next shot.
      My Computer


  5. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #35

    1) Start with the startup repair
    If a srttrail.txt is created then post it into the thead
    2) Then perform system restore with the oldest point and repeat as necessary to the most recent restore point.
    If system restore fails or if there are no restore points then advance to command prompt
    3) In windows RE the drive letters can be different than when using file explorer or disk management
    4) type bcdedit /enum to find the boot partition
    5) and run bcdedit | find "osdevice" to confirm
    6) With command prompt run chkdsk /r U:
    change the letter U to the partition drive from steps 4 and 5
    This chkdsk command typically displays ETA when ran in windows RE
    7) See if you can fix the operating system: sfc /scannow /offbootdir=U:\ /offwindir=U:\windows
    Change the letters U to the partition seen in steps 4 and 5
    This may take significant time.
    8) See if you can fix the boot:
    a) bootrec /fixmbr
    b) bootrec /fixboot
    c) bootrec /scanos
    d) bootrec /rebuildbcd


    This is the regback method:

    Code:
    For each step you must see sizeable file sizes for this to work.
    If you see zeros the method will fail.
    The command: dir 
    will be used each step to make sure you are in the proper location and check the size of the files
    10) type: C:
    11) dir
    12) type: D:
    13) dir
    Choose the C: or the D: drive to proceed. It should be the windows drive and not the USB drive.
    14) type: bcdedit | find "osdevice"
    This should display the location of the partition and in most cases is the location of the affected drive.
    For this post I will use C: however you should pick the drive letter that you found that has the windows files on your computer.
    The proper drive will display: perflogs, program files, program files (x86), users, windows, etc
    15) type or copy and paste: cd \windows\system32\config
    It should display: C:\windows\system32\config>
    16) type: dir
    It should display: bbi, bcd-template, components, default, drivers, elam, sam, security, software, system, vsmidk, journal, regback, systemprofile txr, etc.
    All of the file sizes should be sizeable. If it displays zeros then abort.
    Make a new directory and name it backup or something similar.
    17) type: MD backup
    Copy all of the files into this new directory.
    18) type or copy and paste: copy *.* backup
    It should now display: bbi, bcd-template, components, default, drivers, elam, sam, security, software, system, vsmidk indicating the files were copied.
    Change the directory to regback
    19) type: cd regback
    It should now display: c:\windows\system32\config\regback>
    20)type: dir
    It should display: default, sam, security, software, system etc
    All of these files must be sizeable. If it displays zeros then abort.
    21) type or copy and paste: copy *.* ..
    It should now display: 
    DEFAULT
    Overwrite ..\default? (yes/no/all):
    22) type: a
    It should now display: sam, security, software, system and that the files were copied.
    23) type: exit
    24) click turn off your PC
    Remove the USB flash drive if you had changed your boot order. Otherwise you can leave it and power on your computer.



    Before running all of the above commands it would be useful to know about the drive and the partitions.
    Run these commands:

    diskpart
    list disk
    list volume
    select disk 0
    detail disk
    list partition
    select partition 1
    detail partition
    select partition 2
    detail partition
    select partition 3
    detail partition
    select partition 4
    detail partition
    (if there are any more partitions on disk 0 then continue in the same fashion)
    select disk 1
    detail disk
    list partition
    select partition 1
    detail partition
    select partition 2
    detail partition
    select partition 3
    detail partition
    select partition 4
    detail partition
    exit
      My Computer


  6. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #36

    Thanks, I'll try all that (my OS drive is D: in Windows RE, and I already tried some of that, but will do again in that order).

    Thanks again.
      My Computer


  7. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #37

    Your welcome.

    Catch up with you later.

    In case the above does not work there are other options.
      My Computer


  8. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #38

    zbook said:
    1) Start with the startup repair
    If a srttrail.txt is created then post it into the thead
    Deleted WindowsApps folder and now I cant boot!-photo_2018-08-17_17-16-13.jpg

    Sorry for the quality. Apparently there's a EFI folder in D (my C) but I can't access it from CMD.
    2) Then perform system restore with the oldest point and repeat as necessary to the most recent restore point.
    Only two, both fails with 0x80070003. Also I have "Undo" restore point, which also fails.
    6) With command prompt run chkdsk /r U:
    Does not find anything wrong.
    7) See if you can fix the operating system: sfc /scannow /offbootdir=U:\ /offwindir=U:\windows
    Does not find anything wrong, and that's weird because I use a custom theme...

    Unfortunately for me, regback has 0 size files. But I can access other PC with the same OS and updates, maybe I can grab something specific from there?

    I have attached a log of LogonUI failure. Sorry for the spanish.

    If only LogonUI would start.... I get a black screen but I managed to open manifying glass hehe.

    Thanks in advance.
    Deleted WindowsApps folder and now I cant boot! Attached Files
      My Computer


  9. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #39

    Is there a more detailed way to check the failure of system restore?
      My Computer


  10. Posts : 191
    Windows 10 Pro 20H2 x64
    Thread Starter
       #40

    OK, managed to change magnify by cmd and run in on the black screen. Created a new user, and tried to run windows media tool but it gave error. Run control userpasswords2 to make the new user enter directly on boot. Now after the logo I get the spining circles. At least is something new...
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:31.
Find Us




Windows 10 Forums