Mombu the Microsoft Forum

Go Back   Mombu the Microsoft Forum > Microsoft > Close open files \ sessions?
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 31st October 02:07
chris
External User
 
Posts: 1
Default Close open files \ sessions?



Do you know of a dos command I could use on a Windows 2000 server to instruct
it to close all open sessions \ files?

Essentially I have a home grown application running on a Windows 2000 server
that runs a nightly process. In order for the nightly process to complete
all users must close out of the system. If they don’t my overnight operator
has to call and wake me to manually close open sessions. I would like to
schedule a batch file to close any open sessions automatically.

--
CJM
  Reply With Quote


 


2 31st October 02:07
dave patrick
External User
 
Posts: 1
Default Close open files \ sessions?



net session /delete /y

or pause the server service.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

instruct
| it to close all open sessions \ files?
|
| Essentially I have a home grown application running on a Windows 2000
server
| that runs a nightly process. In order for the nightly process to complete
| all users must close out of the system. If they don't my overnight
operator
| has to call and wake me to manually close open sessions. I would like to
| schedule a batch file to close any open sessions automatically.
|
| --
| CJM
  Reply With Quote
Reply


Thread Tools
Display Modes




666