zoukankan      html  css  js  c++  java
  • 代码 80070005 Windows Uudate 遇到未知错误

    Windows Update 检查更新出现错误代码 80070005 。


    问题描述

    权限错误,更改了系统权限所致,由于这个问题通常是由于系统权限被篡改,或者系统文件损坏和丢失。


    可能原因

    请先尝试以下方式恢复默认权限。

      1. 从以下地址下载 subinacl.msi 。

        https://files.cnblogs.com/files/Release-R/subinacl.zip

      2. 双击桌面上的 subinacl.msi,点击下一步开始安装,请您自定义选择安装到 C:WindowsSystem32 下。

      3. 开始->程序->附件->打开记事本,复制粘贴以下斜体字,并另存为 reset.cmd 。

        @echo off


        Echo =========================

        Echo Processing Registry Permission. Please wait...

        Echo =========================

        subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

        subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

        subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f


        subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

        subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

        subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f


        Echo =========================

        Echo Processing Folder Permission. Please wait...

        Echo =========================

        subinacl /subdirectories %SystemDrive% /grant=administrators=f

        subinacl /subdirectories %SystemDrive% /grant=system=f


        Echo =========================

        Echo Finished.

        Echo =========================

        pause

        exit

      4. 右键点击reset.cmd 文件,选择以管理员身份运行。

      5. 可能会花上很长一段时间,请耐心等待,完成以后会自动关闭窗口,接着请重新启动计算机,重新尝试更新。

  • 相关阅读:
    LeetCode Subsets II
    LeetCode Rotate Image
    LeetCode Palidrome Number
    LeetCode Generate Parentheses
    LeetCode Maximum Subarray
    LeetCode Set Matrix Zeroes
    LeetCode Remove Nth Node From End of List
    Linux Loop设备 使用
    Linux 文件系统大小调整
    LeetCode N-Queens II
  • 原文地址:https://www.cnblogs.com/Release-R/p/14511560.html
Copyright © 2011-2022 走看看