C:/WINNT/system32/rasctrs.dll window 2000 server 日志错误!

博客围绕Windows服务器出现的Event ID 2002警告展开,该警告是因资源管理器查询未启动服务的计数器所致。解决办法是在注册表中添加名为Open Time - out的REG_DWORD键,将默认超时值从10000毫秒提高到35000毫秒,可避免重启服务器后事件查看器报错。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值