Windows 98 User Logoff

I run a multi-user envirnment (profiles) at home, I have a problem with users not loging off, so I wanted to know if there was a way that I could have windows autolog off at the run of a program which I could schedual in Agent.

Any ideas? I have visual c++, but I bet that you would be able to do this better in windows scripts, but I don't know much about windows programing, please help.

email me:

jdcurry@btinternet.com
jdcurryAsked:
Who is Participating?
 
heathprovostConnect With a Mentor Commented:
sure, you will get it in about 15 minutes
0
 
heathprovostCommented:
I can write a program very quickly that does this if you would like.  I will need your email address to send it to you though.  Let me know if you would like me to do that.

Heath
0
 
jdcurryAuthor Commented:
Sure, but can you send the source code as well and the method you used to write the program (e.g. Win32 Console?, Win32 App)

Or whatever, the point being that I would like to know how to code this on my own on top of just implement the program.

Thanks! :)

Josh
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
heathprovostCommented:
You should have the program now.

Heath
0
 
jdcurryAuthor Commented:
Thanks Heath, I just though of one thing though, how could I add a way for the program to check and see if a user is loged in before loging out.  That way I don't get errors if the program is run at the logon screen.  BTW - I don't have a delphi compiler so how would I add that to your existing program?
0
 
heathprovostCommented:
I am not sure I understand the question.  I thought you were using system agent to schedule this.  I didnt think system agent would execute anything if no user is currently logged in. There must be some way in system agent to assign the task to only run interactvely (only when user is logged on).  I dont have any scheduling app to test this for you.  Please let me know what you find out.

Heath
0
 
jdcurryAuthor Commented:
your right, system agent won't run it when a user is loged out, but it will run other apps.

Thanks for all of your help!

J -
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.