1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Backup on logoff - Windows XP Pro

Discussion in 'Windows XP' started by Ultrabra, 2009/09/21.

  1. 2009/09/21
    Ultrabra

    Ultrabra Inactive Thread Starter

    Joined:
    2009/09/15
    Messages:
    8
    Likes Received:
    0
    Is it possible to set backup of chosen folders in Windows XP Pro to happen not at a particular time, but whenever a user turns a computer off?
     
    Last edited: 2009/09/21
  2. 2009/09/21
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Yes, use Group Policy Editor, which is built into XP Pro (not XP Home). You will need a script to do the backup (copy folders & files). This can be a simple .CMD or .BAT file, or a .VBS file.

    example backup script that copies the entirety of My Documents, Desktop & the Outlook file, where D: = a different partition or hard drive.:
    Code:
    @echo off
    xcopy /q/s/c/d/h/e/r/y/i  "%UserProfile%\My Documents\*.*"  "D:\My Documents\ "
    xcopy /q/s/c/d/h/e/r/y/i  "%UserProfile%\Desktop\*.*"  "D:\Desktop\ "
    xcopy /q/s/c/d/h/e/r/y/i  "%UserProfile%\Local Settings\Application Data\Microsoft\Outlook\*.*"  "D:\Outlook\ "
    How To Use Group Policy Editor to run a script at startup. shutdopwn, logon, logoff:
    http://techsupt.winbatch.com/ts/T000001048F90.html
     
    Arie likes this.

  3. to hide this advert.

  4. 2009/09/22
    Ultrabra

    Ultrabra Inactive Thread Starter

    Joined:
    2009/09/15
    Messages:
    8
    Likes Received:
    0
    Thanks Tony, this worked perfectly. Much appreciated.
     
  5. 2009/09/22
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    I've marked this thread as 'Resolved'.

     
    Arie,
    #4

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.