runas:错误5“访问被拒绝”执行“ runas” - command时抛出

发布于 2025-02-13 17:20:18 字数 456 浏览 0 评论 0原文

从我的Windows帐户(no Admin)中执行命令runas /user:* admin-user*“ test.bat” < /code>,我收到错误:

错误5“访问”拒绝“

有人没有产生此错误吗?我已经尝试了命令

网络停止seclogon

sc sdset seclogon d:(a ;; cclcswrpwpdtlocrrc ;; sy)(a ;; ccdclcswrpwpdtlocrsdrcwdwo;;;;;;;;;;;;;;;; cclcswrpdtlocrrc ;; ; cclcswdtlocrrc ;; su)(a;; cclcswrpdtlocrrc ;;; au)

要根据Microsoft支持页面上的建议进行修复,但它不起作用。

提前致谢

when executing the command runas /user:*admin-user* "test.bat" from my windows account (no admin) in a command prompt, I recieve the error:

Error 5 "Access denied".

Does anyone no why this error is produced? I already tried the commands

net stop seclogon

and

sc sdset seclogon D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPDTLOCRRC;;;IU)(A;;CCLCSWDTLOCRRC;;;SU)(A;;CCLCSWRPDTLOCRRC;;;AU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

to fix this as recommended on the Microsoft Support page but it didn't work.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文