Computing.Net > Forums > Programming > Batch File with Logoff scripts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File with Logoff scripts

Reply to Message Icon

Name: rsn000
Date: June 14, 2007 at 07:50:41 Pacific
OS: XP Pro SP2
CPU/Ram: 2.0
Comment:

Hi, I'm using a batch file to copy over outlook pst files to the network when a user logoff their computers for the night.

The problem is some users claims that once in a while the computer will automatically shuts down by itself, (I'm pretty sure that is not the case and it's after they install the windows update) But anyways, I'm trying to figure out a different way on copying these outlook pst files to the network on a nightly base. What can I do?

I thought about running it on a schedule time say about 7pm but then what happens if a user logs off for the day at noon?

So then I'm back to what I have now, using it with the logoff switch.

Can a time be set on the batch file to only when at a time when the computer is shut off/log off? Is this possible?

Example: This is my script for the logoff script.

xcopy /d /y "C:\Documents and Settings\\Local Settings\Application Data\Microsoft\Outlook\mailbox.pst" "H:\USER\Outlook"

Is it possible to add something on to this script to only when at logoff after a certain time: 4pm.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: June 14, 2007 at 14:05:04 Pacific
Reply:

I would uninstall the update that your users are saying cause the box to shut itself down. Does this happen on every users computer that has the update installed? You maybe also want to check the hardware, such as the PSU in the boxes that are shutting down.

Try using roaming profiles so the users data is automatically read and wrote to a network share.

"Computer security." — Oxymoron


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File with Logoff scripts

Batch File to Make another Batch www.computing.net/answers/programming/batch-file-to-make-another-batch/15043.html

FTP batch file www.computing.net/answers/programming/ftp-batch-file/9027.html

FTP and Batch Files www.computing.net/answers/programming/ftp-and-batch-files/13160.html