Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

locking files

Status
Not open for further replies.

Winfred

Programmer
Oct 9, 2001
20
US
Hi All,
I have a problem with people leaving the machines on at the end of the day. I have a process that runs at six in the morning and it needs to get a lock on certain files. It can't because some sales guy didn't get out of the program before leaving work the nite before. It doesn't happen every nite, but often enough to be aggravating. Is there a way to lock files when running a program?
Thanks,
Winfred

Thanks,
Winn Pauley
 
You can always set the loggon hours for your users and by using a net command on the server, your users will be logged off when their loggon hours are set to not be valid.
 
I tried to do that but I'm not sure I was in the right place. I went to one of the user's set ups, the one with the days and hours you can click and change. If a user wasn't logged on, the server wouldn't let them log on, but if they were already logged on, they had access. What I am looking for is something to log the users off automatically. What do you think?

Thanks,
Winn Pauley
 
I haven't scheduled user logon times for a while. I can't remember if it logs active sessions off or just blocks users from logging on during those times.

You could always stick a reboot schedule on the culprit computers. Schedule it with an AT command or there is a goofy little freeware program I sometimes use called winkick. You should be able to find a download for that if you search google.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top