I've found this inuse.exe program that takes advantage of the MoveFileEx() API. It's a nice utility if you'd like to "MOVE" a file on reboot. Notice the emphasis on MOVE. I'd like to COPY a file on reboot. Emphasis on COPY. :) I flat out don't want the the original file removed. I've considered writing an app to high jack some registry entries to get the job done (I just need the copy done before the user logs in), but that seems so sloppy and why reinvent the wheel if someone has made such a system already. The one file I whish to copy is impossible to do so while the user is logged in (NTUSER.DAT of the logged in user).
I will not accept an answer such as "log in as someone else with admins rights and copy ntuser.dat". That's what I'm doing right now. It's a hassle and it sucks. I want to run xzy.bat or xyz.exe, reboot and have the ntuser.dat already copied.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.