![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Determine if user contained in Log On As A Service local policy... Hello all, I have an install that prompts for a user/password and uses this entry to install/control a service. If, on the target machine, the user entered is not currently included in the Log on as a service local policy, I get a fatal error. What I would like to do is take the user entered and query the Log on as a service policy to see if the user is present. If not, I would simply show a message indicating such and return to the user entry dialog. Is there any way a vbscript could handle the quering the policy? If even possible, I really don't want to add the user as I would like to include this step in some type of documentation referenced in the informational message box encountered if the user is not in the policy. If there is a way to add the user via code, you could mention that too, but I'm not necessarily looking for that piece. Any help appreciated. THANKS in advance. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| No Local Security Policy | Vista networking & sharing | |||
| user cannot change clock even with local policy set to allow | Vista General | |||
| How to use C++ to add a new local user for a service | Vista account administration | |||
| Re: local policy | Vista General | |||
| Local Security Policy | Vista security | |||