Cosmic Cruizer
2008-07-06 21:15:15 UTC
I am trying to remotely find the WMI or WMIs that will show the "Log on as
a batch job Properties" located in "User Rights Assignment".
The path of what I am looking for is:
1. At the taskbar, select Start|Programs|Administrative Tools|Local
Security Policy
2. Within Local Security Settings|Local Policies, select 'User Rights
Assignment'
3. On the right, double-click 'Log on as a service'
I have tried all of the WMI calls for security and COM, but have not had
any luck.
I'm trying to use it to remotely determine which accounts and users are
listed.
Is this possible with WMI or should I be trying to use some other method?
a batch job Properties" located in "User Rights Assignment".
The path of what I am looking for is:
1. At the taskbar, select Start|Programs|Administrative Tools|Local
Security Policy
2. Within Local Security Settings|Local Policies, select 'User Rights
Assignment'
3. On the right, double-click 'Log on as a service'
I have tried all of the WMI calls for security and COM, but have not had
any luck.
I'm trying to use it to remotely determine which accounts and users are
listed.
Is this possible with WMI or should I be trying to use some other method?