本文介绍了msdeploy停止工作,出现错误代码:ERROR_USER_NOT_ADMIN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用msdeploy将代码部署到开发服务器.今天早上它停止工作.我得到ERROR_USER_NOT_ADMIN.什么都没有改变,至少我不知道.

I am using msdeploy to deploy codes to dev server. this morning it stops working. and I am getting ERROR_USER_NOT_ADMIN. nothing changed, at least not that I know of.

abc \ jqin,此用户是一个域帐户,它是本地管理员.为什么我仍然会收到ERROR_USER_NOT_ADMIN

abc\jqin, this user is a domain account, its a local admin. why am I still getting ERROR_USER_NOT_ADMIN

推荐答案

尝试搜索mmc并运行它,单击文件"添加或删除管理单元,选择本地用户和组",然后单击确定".单击用户",取消选中所有内容,然后仅选中密码永不过期".

Try search mmc and run it click on File add or remove snap-ins, select Local Users and Groups hit ok.Click on the User uncheck everything and check only Password never expires.

现在,如果"MSDepSvcUsers"不存在,请转到组添加新组",双击该组并将您的用户添加为成员.

Now go to Groups add new group if it does not exists MSDepSvcUsers, Double click on it and add your User as a member.

转到服务,然后重新启动Web Deployment Agent服务.

Go to Services and restart the Web Deployment Agent Service.

现在尝试运行您的MSDeploy.

Now try and run your MSDeploy.

我希望这会有所帮助.特罗萨戈

I hope this was helpful.Trosago

这篇关于msdeploy停止工作,出现错误代码:ERROR_USER_NOT_ADMIN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 08:41