Je suis trying to write a utility as a batch file that, among autre things, adds a user to le "Deny logon locally" local security policy. This batch file will be used on hundreds of independent computers (not on a domain et ne sont pas even on le même network).
I assumed one of le suivant were mon options, mais perhaps il y a one I n'ont pas thought of.
-
A command line utility similaire to net.exe qui can modify local security policy.
-
A VBScript sample to do le same.
-
Write mon own using certains WMI ou Win32 calls. J'aimerais plutôt pas do this one si Je ne have to.