Editing Local Security Policy
Hi guys
We went into some scary stuff (for me) in my last post; time to go even further! This sounds like a very specific question, but actually quite alot of Java programmers might want to know the answer because it's key to the process of installing a Java application as a service.
What I want to be able to do is in the installer edit the Local Security Policy so that a designated user (selected during the install) can log on as a service.
This means I need to be able to:
o Check for Admin rights.
`- If necessary log the person in temporarily as admin.
o List all users able to log into the system.
o Have the person running the install choose a user to logon as a service.
o Update the Security Settings and the current Windows environment (hopefully without precipitating a reboot!) so that the changes are applied and active.
OK, tall order I know; I'll be working on this today and in the future so no rush, but...
...any ideas? :)
-rob-