![]() |
| |||||||
| Notices |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Greetings, I have Veritas Backup Software scheduled to initiate the backup job at 2:00am.on a Windows 2000 Server.All other hosts are XP professional. Unfortunately I have end users who fail to log off the server before backup jobs occur. The backup jobs continously skipp specific files that are accessed and locked, while the hosts are still logged into the domain. There are no backup agents applicable to unlock and backup these specific files. Is there a script I can use to implement on the hosts at a scheduled time to force logging off of all xp pro hosts before backup jobs occur? TIA. Joe | Guest
Posts: n/a
|
|
| | #2 (permalink) | |
| Joe wrote: Quote:
backups are for their benefit. Next, let them know that you're going to log them off so that backups can complete. Prior to your backup, use a script on the server that will log off the console user on the computer(s) in question. You can use the Win32Shutdown() method of the Win32_OperatingSystem class to do this; for example (JScript): computer = "foo"; wmi = GetObject("winmgmts:{impersonationlevel=impersonat e" + ",(shutdown)}!//" + computer + "/root/cimv2"); oscoll = new Enumerator(wmi.InstancesOf("Win32_OperatingSystem" )); oscoll.item().Win32Shutdown(4); -- Bill Stewart | Guest
Posts: n/a
| |
|
| | #3 (permalink) | ||
| Thanks for your reply, however I am not very familar with scripts. Can I paste this example and use it, or is there a file located somewhere I can access and install as a scheduled task? TIA Joe "Bill Stewart" <llib.trawets@yrautromhcnerf.moc> wrote in message news:%23zsSTJV5FHA.724@TK2MSFTNGP14.phx.gbl... Quote:
| Guest
Posts: n/a
| ||
|
| | #4 (permalink) | |
| On Wed, 9 Nov 2005 11:06:35 -0500, "Joe" <candulj@hotmail.com> wrote: Quote:
in the 'Tips & Tricks' at http://www.jsifaq.com Jerold Schulman Windows Server MVP JSI, Inc. http://www.jsiinc.com http://www.jsifaq.com | Guest
Posts: n/a
| |
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't force users to logoff | Ziv | Windows Vista Administration | 3 | 07-11-2007 03:39 AM |
| Force user logoff from Task Manager | SpaceJaguar | Windows Vista Performance & Maintenance | 0 | 04-12-2007 09:50 AM |
| Error occurs when I try to ping gateway | Giraffe | Windows XP Configuration & Management | 0 | 06-29-2004 03:45 AM |
| XP PRO immediate logoff occurs before desktop is displayed | Skipton | Windows XP Security & Administration | 2 | 08-14-2003 07:42 PM |
| Force logoff before standby | James | Windows XP Security & Administration | 0 | 06-30-2003 04:58 PM |