D
DreamU
Guest
I have a program that requests performance counter information from a
remote Vista machine. In its simplest form it is just a single line of
Visual Basic code:
PerformanceCounterCategory.Exists("Memory", remotemachinename)
If I run as an admin (admin accounts on both machines) everything is
fine. But if i run as a standard account (non-Admin on both machines) I
get an access denied error on "openHKPD". That is the hidden registry
hive HKEY_PERFORMANCE_DATA. Anyone have ideas about why a standard
account would fail? It does not fail if I run the request locally on the
machine so the standard account has sufficient permission.
If I run from Vista to a remote XP machine I do not get this error so I
am thinking it may have something to do with registry virtualization on
Vista. Or it may have something to do with UAC except these are
non-Admin accounts so UAC should not matter.
FYI Remote registry service is running and the registry key
....\securepipeservers\winreg has granted permission to the non-Admin
account.
--
DreamU
remote Vista machine. In its simplest form it is just a single line of
Visual Basic code:
PerformanceCounterCategory.Exists("Memory", remotemachinename)
If I run as an admin (admin accounts on both machines) everything is
fine. But if i run as a standard account (non-Admin on both machines) I
get an access denied error on "openHKPD". That is the hidden registry
hive HKEY_PERFORMANCE_DATA. Anyone have ideas about why a standard
account would fail? It does not fail if I run the request locally on the
machine so the standard account has sufficient permission.
If I run from Vista to a remote XP machine I do not get this error so I
am thinking it may have something to do with registry virtualization on
Vista. Or it may have something to do with UAC except these are
non-Admin accounts so UAC should not matter.
FYI Remote registry service is running and the registry key
....\securepipeservers\winreg has granted permission to the non-Admin
account.
--
DreamU