Offline Files (CscService) Service Defaults in Windows 7

The Offline Files service performs maintenance activities on the Offline Files cache, responds to user logon and logoff events, implements the internals of the public API, and dispatches interesting events to those interested in Offline Files activities and changes in cache state.

The Offline Files service does not exist in:

Default Settings

Startup type: Automatic
Display name:Offline Files
Service name:CscService
Service type:share
Error control:normal
Group:ProfSvc_Group
Object:LocalSystem
Path:%SystemRoot%\System32\svchost.exe -k LocalSystemNetworkRestricted
File:%SystemRoot%\System32\cscsvc.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CscService
Privileges:
  • SeTcbPrivilege
  • SeImpersonatePrivilege
  • SeIncreaseBasePriorityPrivilege

Default Behavior

Offline Files is a Win32 service. In Windows 7 it is starting automatically on the operating system startup. Then the Offline Files service is running as LocalSystem in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If Offline Files fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the CscService service is not running because of the error.

Dependencies

Offline Files is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.

Restore Default Startup Configuration of Offline Files

Before you begin doing this, make sure that all the services on which Offline Files depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the commands below, paste them into the command window and press ENTER:

sc config CscService start= auto
sc start CscService

3. Close the command window and restart the computer.

The CscService service is using the cscsvc.dll file that is located in the C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 7 installation media.