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?
Cosmic Cruizer wrote in news:Xns9AD390E4B6D6Accruizermydejacom@207.115.17.102: > 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? > I'm still trying to figure out how to remotely find the the "Log on as a batch job Properties" located in "User Rights Assignment". From what I can tell, this is not available through WMI. I've seen third party applications that can grab this info, but I cannot figure it out. Anybody have a clue? Thanks.