Discussion Locked

Logoff.exe

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does anyone know how to force applications to shut down using a logoff batchfile? I have parameterized it with the /n and /f flags but my applications still don't seem to be reacting properly.

2 replies

by dieudonne dominique

I need to know when a pc is in a "logoff state" or not.With NT workstations I used to use newgina which allowed me to run a logoff script under the administrator account. That program just cleared the "DefaultUserName" in the registry under the winlogon key when the user logged off. With WIN2000 I try to find a solution without the newgina. But SU is not a solution since the password will be plaintext on disk. The local group-policy makes it possible to have logoff scripts but only in the user-environment, which make writing in the registry under winlogon impossible because of the security settings( a good thing ). There must be some "easy way" just to test ( by a local service ) the state of a pc. Of course if I lessen the restrictions onthe winlogon key ( write for normal users ) my old programs work fine, but that would be a severe security risk I don't intent to take.

This discussion is closed to new replies.