码迷,mamicode.com
首页 > 其他好文 > 详细

401 Not Authorized For MSDEPLOY? (msdeployAgentService)

时间:2014-12-11 17:10:22      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   os   sp   for   strong   on   

When you get this error from msdeploy:

“Error: The remote server returned an error: (401) Unauthorized.”

you need to give the remote user elevated rights to get authorization.

http://support.microsoft.com/kb/951016

http://blogs.msdn.com/b/vistacompatteam/archive/2006/09/22/766945.aspx

To disable UAC remote restrictions, follow these steps:

    1. Click Start, click Run, type regedit, and then press ENTER.
    2. Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    3. If the LocalAccountTokenFilterPolicy registry entry does not exist, follow these steps:
      1. On the Edit menu, point to New, and then click DWORD Value.
      2. Type LocalAccountTokenFilterPolicy, and then press ENTER.
    4. Right-click LocalAccountTokenFilterPolicy, and then click Modify.
    5. In the Value data box, type 1, and then click OK.
    6. Exit Registry Editor.

401 Not Authorized For MSDEPLOY? (msdeployAgentService)

标签:blog   http   io   ar   os   sp   for   strong   on   

原文地址:http://www.cnblogs.com/yuluo/p/4158007.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!