错误信息:

org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]
at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:197)
at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:131)
at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:162)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:413)
at com.feng.test.MavenTest.AppTest.connect(AppTest.java:90)
at com.feng.test.MavenTest.AppTest.main(AppTest.java:136)
Caused by: org.jinterop.dcom.common.JIRuntimeException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]
at org.jinterop.winreg.IJIWinReg$openKey.read(IJIWinReg.java:939)
at ndr.NdrObject.decode(NdrObject.java:36)
at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)
at rpc.Stub.call(Stub.java:113)
at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:191)
... 5 more
解决方法:

Access is denied error

When you get an

"Access is denied. [0x00000005]"

error, apply the following patch to the registry:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  • create or modify 32-bit DWORD: LocalAccountTokenFilterPolicy
  • set the value to: 1

Credit to Arturas Sirvinskas (comments below)

参考:https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM

WMI权限问题:Access is denied, please check whether the [domain-username-password] ..相关推荐

  1. 访问HDFS的权限问题:Permission denied: user=xxx, access=WRITE, inode=“xxxxxxxx“:

    问题描述 今天在 idea 中写 scala 的代码访问服务器的 HDFS,报访问HDFS的权限问题:Permission denied: user=xxx, access=WRITE, inode= ...

  2. Dynamics CRM - 如何修复 Access Is Denied,ObjectTypeCode: 2500 的错误

    最近被 Dynamics CRM 的权限配置问题恶心了一个星期,老是报"Access Is Denied",几经波折,最后终于找到一个比较合适的解决方案,写个博客 mark 下来, ...

  3. 【Python 安装】安装第三方库时 PermissionError: [WinError 5] Access is denied

    Python - PIP install trouble shooting - PermissionError: [WinError 5] Access is denied 1. 法1:run as ...

  4. 解决PVS6.1中VM启动中的vDisk file access perission denied报错问题

    今天接到客户的一个关于copy vdisk后出现无法启动的问题,报错内容:vDisk file access perission denied 背景:客户想在原来的vdisk上基础上重新生成一个vdi ...

  5. idea访问mysql出现Access denied for user ‘init yo‘@‘localhost‘ (using password: YES)

    错误出现场景:SpringBoot项目,IDEA连接mySql数据库 Access denied for user 'init yo'@'localhost' (using password: YES ...

  6. 登录MYSQL出现Access denied for user ‘root‘@‘localhost‘(using password: YES)无法连接问题

    登录MYSQL出现Access denied for user 'root'@'localhost'(using password: YES)无法连接问题 报错信息 解决方案 报错信息 从官网上下载需 ...

  7. SpringSecurity问题分析之AccessDeniedException: Access is denied 源码分析

    问题描述 org.springframework.security.access.AccessDeniedException: Access is denied 2021-04-10 16:17:01 ...

  8. Apache ZooKeeper - ZK的ACL权限控制( Access Control List )

    文章目录 概述 权限模式(Scheme) 口令验证 范围验证 Super权限模式 授权对象(ID) 权限信息(Permission) ACL相关命令 跳过ACL检测 实操ACL 生成授权ID 方式一 ...

  9. 在ubuntu上mysql出现ERROR 1045(28000):Access denied for user ‘young‘@’localhost‘(using password:NO)...

    刚在ubuntu12.04.02上安装了mysql.在终端输入mysql后,出现如下错误: 在ubuntu上mysql出现ERROR 1045(28000):Access denied for use ...

最新文章

  1. 小程序的前端坑(持续更新)
  2. android4被淘汰,这五类安卓手机已经被淘汰,购买时别贪便宜,需慎重考虑!
  3. leecode第八十九题(格雷编码)
  4. java如何保证redis设置过期时间的原子性_2020年4月Redis面试题和答案整理
  5. 如何在TypeScript代码里获得HTML元素的css属性
  6. Python中list(列表)
  7. 静态 动态 强类型 弱类型语言的区别
  8. SpringBoot2.1.5(18)--- 国际化配置,SpringBoot Locale 国际化使用方法
  9. 当前没有可用的服务器_调研Redis高可用两种方案
  10. hpux 11.11 连接HDS 存储,采用HDLM管理带来的麻烦,需重启。
  11. 很想去摆地摊,可是不知道怎么开始,前期需要做什么准备工作吗?
  12. 25个优秀的UI设计资源下载
  13. 上周热点回顾(8.26-9.1)
  14. mPaaS 小程序新手指南 | 《mPaaS 小程序自定义开发》
  15. SCT2450QSTE 国产车规AEC-Q100 3.8V-36V 5A 高效同步降压 DCDC 转换器 替代TSP54540
  16. 《引爆点》——读书笔记
  17. Azure云平台 GPS大数据解决方案 EventHub+Azure Databricks+Azure Cosmos DB Cassandra
  18. 【FPGA】组合逻辑 3-8译码器实现
  19. (滁院20级计科专用)期末考试复习-操作系统
  20. js中如何截取小数点后两位数字

热门文章

  1. 打印中奖名单表格流程(wps表格)
  2. 一份新媒体营销推广策划方案 助你升级主管路
  3. Mac已安装应用启动台不显示
  4. 这些低代码平台,你是否知悉?
  5. 从摩斯密码到UTF-8
  6. 论文阅读:FASTEMIT: LOW-LATENCY STREAMING ASR WITH SEQUENCE-LEVEL EMISSION REGULARIZATION
  7. promise获取所有文件路径_python使用os.listdir和os.walk获得文件的路径
  8. 【win11】解决win11家庭版没有组策略编辑器
  9. 2015年2月2日 奶农倒牛奶的背后
  10. python 通过ftp自动 上传指定excel文件