batcmd.com Windows 7 Services

DNS Client - Windows 7 Service

The DNS Client service (dnscache) caches Domain Name System (DNS) names and registers the full computer name for your computer. If the service is stopped, DNS names will continue to be resolved. However, the results of DNS name queries will not be cached and the computer's name will not be registered. If the service is disabled, any services that explicitly depend on it will fail to start.

This service also exists in Windows 10, 11, 8, Vista and XP.

Startup Type

Windows 7 edition without SP SP1
Starter Automatic Automatic
Home Basic Automatic Automatic
Home Premium Automatic Automatic
Professional Automatic Automatic
Ultimate Automatic Automatic
Enterprise Automatic Automatic

Default Properties

Display name:DNS Client
Service name:Dnscache
Type:share
Path:%WinDir%\system32\svchost.exe -k NetworkService
File:%WinDir%\System32\dnsrslvr.dll
Error control:normal
Group:TDI
Object:NT AUTHORITY\NetworkService
Privileges:
  • SeChangeNotifyPrivilege
  • SeCreateGlobalPrivilege

Default Behavior

The DNS Client service runs as NT AUTHORITY\NetworkService in a shared process. It shares the executable file with other services. If the DNS Client fails to load or initialize, the error is recorded into the Event Log. Windows 7 startup should proceed, but a message box is displayed informing you that the Dnscache service has failed to start.

Dependencies

DNS Client will not start, if the following services are stopped or disabled:

Restore Default Startup Type of DNS Client

Automated Restore

1. Select your Windows 7 edition and Service Pack, and then click on the Download button below.

2. Save the RestoreDNSClientWindows7.bat file to any folder on your hard drive.

3. Right-click the downloaded batch file and select Run as administrator.

4. Restart the computer to save changes.

Note. Make sure that the dnsrslvr.dll file exists in the %WinDir%\System32 folder. If this file is missing you can try to restore it from your Windows 7 installation media.

Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.