Programs don't close when one user logs off and another logs on?

Programs don't close when one user logs off and another logs on?

Post by Chuck Chiavari » Wed, 05 Dec 2001 10:48:26


Running W2k, SP2. Machines are on a Novell network with roaming
profiles enabled via Netware.

We like the shutdown option to log off the current user and
immediately allow the next user to log on, without an actual restart.
However, our Novell login script calls a batch file that copies
certain executables to the workstation upon login. Many of these
programs are running in the background when the user logs off.

When the next user logs on, the batch file is unable to copy the
executables to the workstation, complaining that one or more of the
files is "in use by another process."

Do programs really close in this scenario? Is there a way around this?

TIA ...

Chuck Chiavarini

*** You can't close the door when the wall's caved in ***


1. Log on/Log off users on remote computer

GlacierCurrently there is no WinMgmt wrapper for the WTSLogoffSession API.

This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at


is it possible to log on/off specific users on remote computers using WMI?

thanx in advance.


2. Create FP web on localhost in ANOTHER directory (not InetPub\wwwroot) ??

3. A program to log WinNT/2000 log on/off time

4. Comprehensive Review Of The ASUS AGP-V3400TNT RIVA TNT Card Posted!

5. handling Log in and Log off Events/messages

6. 82c251, slope resistor

7. How do you keep a program running when a user logs off on Windows 95?

8. WANTED: Vortex 486 Emulator <---***!!!

9. How to create an NT user account with the user right 'Log on Locally'

10. NT Service doesn't see user environment when logged on as a specific user.

11. Logging a user off from a Service

12. Logging a user off of Windows 95

13. System wide Hooks wont work when user logged off