Event ID: 2002
Source: Perflib
Type: Warning
Description: The open procedure for service “RemoteAccess” in DLL. “C:\WINNT\system32\rasctrs.dll” has taken longer than the established wait time to complete.
Cause
This error occurs after restarting the server because Resource Manger is attempting to query counters of a service(s) that has not started.
Resolution
Add the following key to the registry.
WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Citrix cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
Locate rasctrs.dll in the registry. It will be under the following key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Performance
You need to add a REG_DWORD key with the name Open Time-out (see comments below). The default time-out value is 10,000 milliseconds.Increase the value to a higher number (35000) and no error will appear in the Event Viewer after you restart the server.
More Information
From Microsoft Knowledge Base Article 226494:
Open Time-out
The Open Time-out value is new in Windows 2000. Note the space in the value name. If this value is present, perflib sets up a time-out procedure internally. If the Open function of a performance monitor extension DLL does not return within the time specified, in milliseconds, in this registry value, an event (2002) is posted to the Event Log.
Note: On Windows 2000, OpenProcedureWaitTime is global to all performance extension DLLs. If the Open Time-out registry value, which is performance extension DLL-specific, is not present, the operating system uses the global OpenProcedureWaitTime registry value, if it is present. Similarly, if the Collect Time-out registry value is not present, the operating system uses the global OpenProcedureWaitTime registry value, if present. If the OpenProcedureWaitTime registry value is not present, the default time-out value is 10,000 milliseconds.