We have outlook email (no exchange server) and are moving to google apps. I have to copy all users' pst files over to a server then upload to google. The google outlook migration tool has to run as local admin, so I can't use that on 100+ users, most of whom are not admin status. So I'd like a script that copies *.pst from their profile when they log on to the windows domain. We have both XP and Win7 users. (1) Is there a script I can run that will copy these files from their windows profile to a folder on the server that has the same user name as their profile?
(2) I did a manual test to copy the pst files using dos:
c:\copy C:\Documents and Settings\jdoe\Local Settings\Application Data\Microsoft\Outlook\*.pst \\acmh01\public\tpsmail
It said "The system cannot find the file specified." but when I changed the root directory to C:\Documents and Settings\jdoe\Local Settings\Application Data\Microsoft\Outlook\, this command worked fine. Why can't it do it from the default directory?