Solved

Windows 98 User Logoff

Posted on 1999-01-16
7
123 Views
Last Modified: 2013-12-28
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
0
Comment
Question by:jdcurry
  • 4
  • 3
7 Comments
 
LVL 5

Expert Comment

by:heathprovost
ID: 1651918
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
 

Author Comment

by:jdcurry
ID: 1651919
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
 
LVL 5

Accepted Solution

by:
heathprovost earned 100 total points
ID: 1651920
sure, you will get it in about 15 minutes
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 5

Expert Comment

by:heathprovost
ID: 1651921
You should have the program now.

Heath
0
 

Author Comment

by:jdcurry
ID: 1651922
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
 
LVL 5

Expert Comment

by:heathprovost
ID: 1651923
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
 

Author Comment

by:jdcurry
ID: 1651924
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

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question