更新4041691导致系统启动时报错:INACCESSIBLE BOOT DEVICE

简介:

转载

https://blogs.technet.microsoft.com/ramazancan/2017/10/16/cumulative-update-for-october-inaccessible-boot-device/


Cumulative Update for October-INACCESSIBLE BOOT DEVICE

quick fix how delta update can be removed via DISM

The issue arises if the delta and the full cumulative update for October (KB4041691 https://support.microsoft.com/en-us/help/4041691) was installed same time. Those was released last week and if you configured your internal WSUS to automatically approve you will see this issue -> https://support.microsoft.com/en-us/help/4049094/windows-devices-may-fail-to-boot-after-installing-october-10-version-o

After installing this update you probably broke your machine with stop code: INACCESSIBLE BOOT DEVICE

let's calm down  from my experience we could fix all instances with below procedure and do not attempt to run "automatic repair" in that case

Let's boot into 'Troubleshooting' and open our lovely good old command prompt

  

Microsoft Support advises to get rid of the SessionsPending reg key. Let's load the software registry hive:

reg load hklm\temp c:\windows\system32\config\software

【注意上面命令中的盘符C在实际应用中有可能不是C可以自己查找一下确认是哪个盘符】

Delete the SessionsPending registry key (if exists):

reg delete "HKLM\temp\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending" /v Exclusive

UPDATE: We saw few cases where above reg delete failed, in that case open regedit UI and delete the Exclusive key in sessionspending manually

Unload the software registry hive:

reg unload HKLM\temp

now lets pullout with DISM.exe the list of installed packages

dism /image:C:\ /get-packages

【注意上面命令中的盘符C在实际应用中有可能不是C可以自己查找一下确认是哪个盘符】

Checkout the ones which are state "Install Pending" as one of those was causing the issues (highly like the last entries in your list)

before we can remove them we need to create a temporary directory first to where we can move the updates to

MKDIR C:\temp\packages

Now let's (re)move the "pending" package(s) with the DISM command

dism /image:c:\ /remove-package /packagename:PACKAGEIDENTITYNAME /scratchdir:c:\temp\packages

be focused on the output of the command and if it completes successfully

Reboot your VM and it will reboot again and you can run Windows update afterwards as the faulty update was already corrected

Official Microsoft KB:
https://support.microsoft.com/en-us/help/4049094/windows-devices-may-fail-to-boot-after-installing-october-10-version-o

DISM Operating System Package Servicing Command-Line Options
https://msdn.microsoft.com/en-us/library/hh825265.aspx 












本文转自careluck51CTO博客,原文链接:http://blog.51cto.com/brave8898/1977509,如需转载请自行联系原作者




相关文章
|
8月前
|
存储 固态存储 Linux
E2000从eMMC或SD启动U-boot和系统
E2000从eMMC或SD启动U-boot和系统
374 0
E2000从eMMC或SD启动U-boot和系统
|
9月前
启动内核,能启动内核但是无法进入内核,始终卡在某一地方,比如 No soundcards found.
启动内核,能启动内核但是无法进入内核,始终卡在某一地方,比如 No soundcards found.
95 0
|
10月前
|
Linux 网络安全 KVM
[Linux] 磁盘挂载出错导致开机进入emergency mode
[Linux] 磁盘挂载出错导致开机进入emergency mode
313 0
|
Linux
如何在Linux下重置bios setting
如何在Linux下重置bios setting
497 0
|
Linux 存储
u-boot向linux内核传递启动参数(详细)
U-BOOT 在启动内核时,会向内核传递一些参数.BootLoader 可以通过两种方法传递参数给内核,一种是旧的参数结构方式(parameter_struct),主要是 2.6 之前的内核使用的方式。
1628 0
|
Linux
Linux umount设备时出现device is busy解决方法
在Linux中,有时使用umount命令去卸载LV或文件时,可能出现umount: xxx: device is busy的情况,如下案例所示 [root@DB-Server u06]# vgdisplay -v VolGroup03     Using volume group(s) on c...
4307 0