“HTTP Error 401.1″ error message when Msiexec.exe updates an MSI file in Windows Vista, in Windows 7, in Windows Server 2008, or in Windows Server 2008 R2
Assume that you deploy an application to a client computer that is running one of the following operating systems by using System Center Configuration Manager 2012:
- Windows Vista
- Windows 7
- Windows Server 2008
- Windows Server 2008 R2
When the deployment of the application is finished, the Microsoft Installer Package (MSI) file is removed from the local drive. Then, the ConfigMgr client updates the MSI source list by accessing the content server. This behavior is controlled by the self-healing functionality. When the self-healing functionality is triggered, Msiexec.exe tries to access the content path anonymously instead of by using the credentials of the user who currently logs on the client computer. However, the Secure Windows Initiative (SWI) guidelines do not allow anonymous access to content servers. Therefore, you receive the following error message:
HTTP Error 401.1 – Unauthorized: Access is denied due to invalid credentials.
Note: The issue occurs only when the content server is indicated by using a URL.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB2619572.