We do just this. We also have a list of users not to logoff, operators and the like.
Haven't got the details to hand on how we did it, it's so long ago. Will dig out the details and post them. Les. -----Original Message----- From: Barry Green [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 14:55 To: [email protected] Subject: [U2] {Spam?} Unidata question Hi Group, I'm using Unidata 6.1 on a Windows 2000 server. I'm having problems when I run a backup (using Arcserver) if users do not disconnect their sessions correctly the backup fails. I'm looking for a way to run a batch file before the backup which does the following: - Prevents future logins - Send a message to all logged in users saying "Session will disconnect in 3 minutes" - Sleep for 1 minute - Send a message to all logged in users saying "Session will disconnect in 2 minutes" - Sleep for 1 minute - Send a message to all logged in users saying "Session will disconnect in 1 minute" - Sleep for 1 minute - Logoff any logged in users Perform backup Then run another batch file which just restores the login function. Has anyone done this or can you give me any clues as to how and which commands to use, particularly the commands to stop logins, logoff all users (preferably in one command) and to allow logins again. Many thanks Barry ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ This message has been comprehensively scanned for viruses, please visit http://virus.e2e-filter.com/ for details. This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message. This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis Perkins may not be concluded by means of e-mail communication. E-mail transmissions are not secure and Travis Perkins accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins accepts no liability for infection and recommends that you scan this e-mail and any attachments. Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
