Delaying network connection cutoff?

itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
Hey guys

i want to use a shutdown script for one of our laptops to copy a file automatically
on shutdown to a U: drive which is mapped. But stupid logoff or shutdown'
cuts connection to network before it can copy...

is there a way to delay the network cutoff????? i really think this is stupid
if both logoff and shutdown cut network off and you just cant work with mapped drives this way>?

help

thanks in advanced!

Robert icon_eek.gif

Comments

  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    Nope, once you log off or shutdown that's it.

    Is this a fail safe of some sort you want to do?

    How about include the file copy in the login script right after the drives map instead of at shutdown?

    You could use a script that copies the file and then shuts down, but the user would have to use your script to shut down instead of the normal Start>Shutdown. Is that possible?

    Otherwise, the dangerous option is to trust that computer for delegation, which gives it network access like a user. Not recommended though....
    All things are possible, only believe.
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    sprkymrk

    hey thanks for replying....yeah, it is this program that uses MS ACCESS file only
    so I just mapped the drive and ran program through mapped drive. initial
    startup of program slow but tollerable. but once going it runs decent.

    what it is these users move back and forth to each others offices and i wanted their
    data bases to follw them like their mdb file. I had it working good pushing up to U: drive
    which is their personal drive but so many variable with these users they wanted it painless. in other words they did want to have to remember anything.

    so they would forget to push their file up to u drive. so i thought to automate it on schedule
    but they leave at different times so many time and could miss the schedule.
    sometimes they would shut of PC at wrong time. or they would forget to ....
    it I had it going but sometimes they would move to each others office and would not use mdb file
    so that kind a through a monkey wrench in it and I finally realized why GOD invented the server
    and mapped drives ! hahahaaha
    i just mapped the drive to each PC and tweaked their respect icon properties and walla!
    initially slow upon openning up over the network but once open runs fast and saves fast.
    and never will they over right the wrong file... done!

    thanks sprkymrk


    icon_eek.gif
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    hi itdaddy,

    AFAIK - my friend did that for a customer - but since i'm not a programmer maybe these can help :

    http://www.robvanderwoude.com/index.html

    http://www.ericphelps.com/batch/samples/sleep.txt

    HTH.
    the More I know, that is more and More I dont know.
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    rossonieri#1

    thanks..... icon_eek.gif
  • mrhaun03mrhaun03 Member Posts: 359
    How about making the mapped drive available offline. Then when the user shuts down or logs off, the folder would synchronize.
    Working on Linux+
  • RTmarcRTmarc Member Posts: 1,082 ■■■□□□□□□□
    That's another good way to do it.
  • techster79techster79 Member Posts: 169 ■■■□□□□□□□
    I don't think you can synchronize mdb files can you?
    Studying for MCSE: Server Infrastructure (70-414 left)
  • Tyrant1919Tyrant1919 Member Posts: 519 ■■■□□□□□□□
    This is America, we can synchronize anything we want! :^)
    A+/N+/S+/L+/Svr+
    MCSA:03/08/12/16 MCSE:03s/EA08/Core Infra
    CCNA
Sign In or Register to comment.