Had a look at how we do it.

This is on universe thought.

Disable logons (done in our menu system, it logs users off after they logon)
Do a port status to find out who is on the system
Send messages to the users giving them a countdown to being logged off
Do another port status to find out who is still logged on
Do Master OFF for those still logged on
start evening work
.
.
Finish evening work
Enable logons

Not as much help as you were looking for, I didn't read the Unidata in the 
subject line (dooh).

But you're on the right track.

Les

-----Original Message-----
From: Barry Green [mailto:[EMAIL PROTECTED]
Sent: 27 June 2005 17:11
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] {Spam?} Unidata question


Thanks Les, that would be great!!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Les Hewkin
Sent: Tuesday, 28 June 2005 12:42 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] {Spam?} Unidata question

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: u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to