Event ID 1004 — IIS Web Management Service Availability

Applies To: Windows Server 2008 R2

The Internet Information Services (IIS) Web Management Service (WMSvc) is necessary for remote and delegated management of Web servers. If this service is not available on a Web server, you will not be able to administer that server remotely.

Event Details

Product: Internet Information Services
ID: 1004
Source: Microsoft-Windows-IIS-IISManager
Version: 7.5
Symbolic Name: IISWMSVC_STARTUP_UNABLE_TO_LOCK_FILE
Message: Failed to open the following configuration file '{0}' with read lock; Web Management Service startup failed.

Resolve

Restart the Web Management Service

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To restart the Web Management Service:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. Type net stop wmsvc.
  3. Type net start wmsvc.

Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that the Web Management service is running:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. Type sc query wmsvc, and press ENTER. The Web Management service is running if the state reported for the service is 4 RUNNING.

IIS Web Management Service Availability

Internet Information Services (IIS) 7.5