The WINS service may be unable to start after you move the WINS database from the default location to another location on a Windows Server 2008-based computer

Applies to: Windows Server 2008 DatacenterWindows Server 2008 EnterpriseWindows Server 2008 for Itanium-Based Systems


Consider the following scenario. You have a Windows Server 2008-based computer. You move the WINS database from the default location (%windir%\system32\wins) to another location. In this scenario, the WINS service may be unable to start. Additionally, the WINS service may return the 0xe0000002 error code. The following events are logged in the system event log:


In Windows Server 2008, the WINS service is started by the local service account (NT AUTHORITY\LocalService) instead of by the local system account (NT AUTHORITY\System). The local service account has fewer permissions. Therefore, the local service account may not have sufficient permissions to access the WINS database after you move the WINS database to another location.


To resolve this problem, manually grant sufficient access permissions to the WINS service. To do this, grant the Full Control permission to the local service account for the new WINS database location in Windows Explorer. You can also run the following command at a command prompt:
icacls new WINS database location /grant "NT SERVICE\WINS:(OI)(CI)(F)"
Note When you try to back up the WINS database to another target folder, you have to grant sufficient access permissions to the target folder also. Otherwise, you may receive an "access denied" error when you perform the backup. 


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

The WINS service resolves NetBIOS names to IP addresses on a Windows network. Clients on a WINS-enabled network can dynamically register, update, and remove their names from a WINS-maintained database. As an administrator, you can also assign static entries in a WINS database for computers that are running operating systems other than Windows. Additionally, you can provide redundancy by replicating the WINS database to more than one WINS server on a network. For addresses that are outside the network, you can enable the WINS server to refer to a statically configured LMHosts file.