如今越来越多的小伙伴都已经装上了win10系统,使用过程中难免也会碰到各种故障,例如有不少

具体步骤如下:

1、打开搜索,输入:powershell ,在windows powershell 上单击右键,选择【以管理员身份运行】;

2、在打开的框中复制下面代码粘贴进去:

$arch = Get-WMIObject -Class Win32_Processor -ComputerName LocalHost | Select-Object AddressWidth

Write-Host "1. Stopping Windows Update Services..."

Stop-Service -Name BITS

Stop-Service -Name wuauserv

Stop-Service -Name appidsvc

Stop-Service -Name cryptsvc

Write-Host "2. Remove QMGR Data file..."

Remove-Item "$env:allusersprofileApplication DataMicrosoftNetworkDownloaderqmgr*.dat" -ErrorAction SilentlyContinue

Write-Host "3. Renaming the Software Distribution and CatRoot Folder..."

Rename-Item $env:systemrootSoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue

Rename-Item $env:systemrootSystem32Catroot2 catroot2.bak -ErrorAction SilentlyContinue

Write-Host "4. Removing old Windows Update log..."

Remove-Item $env:systemrootWindowsUpdate.log -ErrorAction SilentlyContinue

Write-Host "5. Resetting the Windows Update Services to defualt settings..."

"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"

"sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"

Set-Location $env:systemrootsystem32

Write-Host "6. Registering some DLLs..."

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dll

regsvr32.exe /s mshtml.dll

regsvr32.exe /s shdocvw.dll

regsvr32.exe /s browseui.dll

regsvr32.exe /s jscript.dll

regsvr32.exe /s vbscript.dll

regsvr32.exe /s scrrun.dll

regsvr32.exe /s msxml.dll

regsvr32.exe /s msxml3.dll

regsvr32.exe /s msxml6.dll

regsvr32.exe /s actxprxy.dll

regsvr32.exe /s softpub.dll

regsvr32.exe /s wintrust.dll

regsvr32.exe /s dssenh.dll

regsvr32.exe /s rsaenh.dll

regsvr32.exe /s gpkcsp.dll

regsvr32.exe /s sccbase.dll

regsvr32.exe /s slbcsp.dll

regsvr32.exe /s cryptdlg.dll

regsvr32.exe /s oleaut32.dll

regsvr32.exe /s ole32.dll

regsvr32.exe /s shell32.dll

regsvr32.exe /s initpki.dll

regsvr32.exe /s wuapi.dll

regsvr32.exe /s wuaueng.dll

regsvr32.exe /s wuaueng1.dll

regsvr32.exe /s wucltui.dll

regsvr32.exe /s wups.dll

regsvr32.exe /s wups2.dll

regsvr32.exe /s wuweb.dll

regsvr32.exe /s qmgr.dll

regsvr32.exe /s qmgrprxy.dll

regsvr32.exe /s wucltux.dll

regsvr32.exe /s muweb.dll

regsvr32.exe /s wuwebv.dll

Write-Host "7) Removing WSUS client settings..."

REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f

REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f

REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f

Write-Host "8) Resetting the WinSock..."

netsh winsock reset

netsh winhttp reset proxy

Write-Host "9) Delete all BITS jobs..."

Get-BitsTransfer | Remove-BitsTransfer

Write-Host "10) Attempting to install the Windows Update Agent..."

if($arch -eq 64){

wusa Windows8-RT-KB2937636-x64 /quiet

}

else{

wusa Windows8-RT-KB2937636-x86 /quiet

}

Write-Host "11) Starting Windows Update Services..."

Start-Service -Name BITS

Start-Service -Name wuauserv

Start-Service -Name appidsvc

Start-Service -Name cryptsvc

Write-Host "12) Forcing discovery..."

wuauclt /resetauthorization /detectnow

Write-Host "Process complete. Please reboot your computer."

3、耐心等待命令修复完成,完成后重启一次win10相信问题就解决了。

以上给大家讲解的便是win10initpki.dll加载失败找不到指定的模块0x80004005错误代码的详细解决方法,有遇到一样情况的用户们可以学习上面的方法步骤来进行解决吧。

计算机中丢失swr.dll,initpki.dll加载失败找不到指定的模块0x80004005错误代码怎么办win10...相关推荐

  1. initpki.dll加载失败 找不到指定的模块的解决办法

    有用户在更新Win10系统时,收到提示"模块'initpki.dll'加载失败.请确保该二进制存储在指定的路径中,或者调试它以检查该二进制或相关的DLL文件是否有问题.找不到指定的程序.&q ...

  2. c# OpenCvSharp3 无法加载 DLLOpenCvSharpExtern:找不到指定的模块。

    问题:c# 处理图片像素,调用OpenCvSharp3,创建图片抛出异常. 解决方式:将debug目录下的dll(x86和x64都要试试)下的OpenCvSharpExtern.dll复制到bin目录 ...

  3. ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)

    本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...

  4. 【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块

    在 windows 上使用 matplotlib 包的时候报错如下: ImportError: DLL load failed while importing _imaging: 找不到指定的模块. ...

  5. [Win11] ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块 Conda无法激活环境

    文章目录 1 报错 2 解决 参考 1 报错 Traceback (most recent call last):File "<stdin>", line 1, in ...

  6. Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。

    在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...

  7. Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块

    Python运行异常 问题描述 During handling of the above exception, another exception occurred:Traceback (most r ...

  8. jupyter notebook出现DLL load failed while importing _multiarray_umath: 找不到指定的模块

    安装gpu版本的pytorch之后,在pycharm上测试没出现问题而在jupyter notebook却出现问题 问题描述: import torch E:\Miniconda3\envs\d2l\ ...

  9. 【BUG】DLL load failed while importing pyopenpose: 找不到指定的模块

    问题: ImportError: DLL load failed while importing pyopenpose: 找不到指定的模块. 解决方法: 1.把build\bin里面的全部dll,复制 ...

最新文章

  1. 消息队列-----生成者 Spring整合rabbitmq
  2. python2基础教程廖雪峰云-Python 基础教程
  3. [转]SupSite页面文件与模块关系说明
  4. 【发布】温度监测报警器v1.2a内测版!
  5. oracle11 不能连接,oracle11G ora 12514 tns监听程序当前无法识别连接描述符中请求的服务...
  6. 告别刷抖音!30秒一个Python小例子,总有一款适合你
  7. 【转】Windows7硬盘安装Linux
  8. linux-文件路径-相对路径-绝对路径
  9. 【重难点】【JUC 04】synchronized 原理、ReentrantLock 原理、synchronized 和 Lock 的对比、CAS 无锁原理
  10. web项目下的web.xml listener监听总结
  11. 检测手机用户安装的应用程序是否有使用某权限
  12. 读书笔记-我在阿里做运营
  13. 数字频率计的功能及工作原理
  14. 一个能和企鹅一样飞的创意
  15. 超详细!Win10(UEFI启动)安装Ubuntu18.04双系统
  16. 4-17 定义一个长方形类,定义 求周长和面积的方法,然后定义一个测试类,进行测试。
  17. 一个完整的项目管理流程!
  18. 华为哪款手机是鸿蒙系统_华为鸿蒙系统不会用于手机?
  19. 引入时间轴:动态图模型的共性与特征
  20. linux内核函数出错的返回值

热门文章

  1. 2013年9月计算机一级考试题,2013年9月计算机一级考试MsOffice备考题及答案2
  2. 中国作家维权联盟向苹果和百度发出律师函
  3. maven自定义依赖并推送到远程仓库
  4. 计算机教学能力提升体会,信息化教学能力培训心得范文(精选4篇)
  5. 哈尔滨工业大学(深圳)本科毕业设计(论文)LaTeX模板:hitszthesis
  6. python之pandas初级使用案例(2)对数据的访问和操作
  7. HNUCM—第14届蓝桥杯CC++组选拔赛
  8. UE4官方的快捷键大全
  9. hyper-v服务器系统安装,hyper-v server 2012 安装部署记录
  10. CODESYS Automation Server Connector