BSOD after a Visual Studio install Reboot Error 21a

Page 3 of 3 FirstFirst 123

  1. Posts : 15
    Windows 10 Pro
    Thread Starter
       #21

    Will do. Just FYI, I've tried those couple of days ago reading your other posts, and one of those gave me Access Denied consistently. Will share which one.

    Will run these again in the morning, I'm done for the day/night!

    Thanks!
      My Computer


  2. Posts : 5,330
    Windows 11 Pro 64-bit
       #22

    If those commands wont work then execute below command:

    Code:
    ren  C:\Windows\SoftwareDistribution   SoftwareDistribution.bak
    Replace C: letter with Windows 10 installed assigned partition letter in your case i think it was G: letter.

    After executing the command restart your computer to see Windows 10 boots normally.
      My Computer


  3. Posts : 14,903
    Windows 10 Pro
       #23

    Unfortunately, due to recent changes I do not have the time to assist in the way I like to (properly), so I have requested others to look into this.

    Having seen FreeBooter post the BCD and MBR commands, I do want to say that the BCD and MBR commands are ineffective, because they are not involved in the problem. Saying this in case someone else wants to post it again.
      My Computers


  4. Posts : 5,169
    64bit Win 10 Pro ver 21H2
       #24

    axe0 said:
    It looks like alongside the Visual Studio installation process, Windows Update was simultaneously installing something and it has trouble installing the update.

    Code:
    Test Performed: 
    ---------------------------
    Name: Check for pending package install
    Result: Completed successfully. Error code =  0x4
    Time taken = 219 ms
    0x4 = system cannot open file.

    I'm not very familiar with this kind of issues, so I'll see what I can find to somehow revert the package. Right now I'm going home from school so I'll attend to this when I'm home.
    I think @axe0 is onto something here. But I believe you will need to identify which package was trying to load and remove it before reverting the package.

    Try the command:
    dism /image:<driveletter here> /get-packages

    This should result in a list of packages. See if you can spot one that might be relevant (share the results and we can try and speculate), then remove it:

    dism /image:<driveletter here> /remove-package /PackageName

    After this you should be able to revert the changes:

    dism /image:<driveletter here> /cleanup-image /revertpendingactions

    Hopefully, you can then reboot the system.
      My Computers


  5. Posts : 15
    Windows 10 Pro
    Thread Starter
       #25

    Thanks @philc43

    I ran the commands, but the problem I face is all the dism commands result in permission error to write to the disk. Even with a scratchdir option.
    I got busy with work, hence the delay. I will upload photos of the command and error later today.

    Thanks.
      My Computer


  6. Posts : 15
    Windows 10 Pro
    Thread Starter
       #26

    Hi

    Here are the screenshots of any DISM command that results in Access Denied writing to the scratch folder.

    https://photos.app.goo.gl/VXdyTNFP2FK2hbfv6

    Thanks

    - - - Updated - - -

    I know I had a typo in the dism command in revertpendingactions. I fixed that but the error still remains same - cannot access scratchdir
      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 00:08.
Find Us




Windows 10 Forums