Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Performance Counter Problem (Solution)

15 views
Skip to first unread message

H.R.

unread,
Jan 21, 2004, 10:46:51 AM1/21/04
to
Here is the working solution 1,2,3 ....

Bye H.R.

Symptom:
Error Process Performance Counter Disabled (.NET 1.1) under XP
embedded SP1
ne Antwort für Sie.

XPe SP1: You can use the Performance Monitor (perfmon.exe) to start a
built-in or custom Counter Log, Trace Log or Alert. The problem is
that on XP embedded,
customer gets an access denied error. Works fine on XP Pro.

Resolution –
1) Enable pagefile support on you runtime (or do it in TD at build
time) with at least 2MB initial size

2) Export the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Perflib\009
registry key from an XP Pro machine and import it
into XPe (do it on the runtime or add it as an Extra Registry key in
TD at build time).

The "Performance Logs and Alerts" service (responsible for creating
and updating the above logs and alerts) starts under "NT
Authority\NetworkService" account. On XP Pro machine, the permissions
list for the "HKLM\SYSTEM\CurrentControlSet\Services\SysmonLog\Log
Queries" registry key

includes the "Network Service" user with Full Control and Read
permission. But the same permissions list for this registry key under
XPe doesn't have an entry for "Network Service" user. The "Network
Service" account exists but it has no permission to access the
"Performance Logs and Alerts" service registry keys.

3) To resolve the problem, run regedt32 and in the permission list
(right click on the key and select Permissions ...) for the above
registry key, either add Full Control to the Users group OR add the
Network Service account to the list and give it both Full Control and
Read permissions. Or, you can write an app that modifies the access
Control List (ACL) for this registry key. Please note that it's not
possible to specify ACL on an object in Target Designer.

0 new messages