Or alternatively, create a new folder on the local disc, copy your file there, then use something like.
I'd also get a copy of robocopy comes with vista I think and use that. It's much more flexible and better than xcopy. I recommend using vb script as it is a technology that works with greater precision and has more tools for such tasks. To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks. All - I am copying a file from the network to each users desktop via login script.
Asked 3 years, 2 months ago. Active 3 years, 2 months ago. Viewed times. Improve this question. Timothy Timothy 41 5 5 bronze badges. Yes, Windows has the concept of a logon script that will be executed when the user logs on. Search for "group policy" and "login script" and you will find many guides as how to set that up. The rest is easy using the right environment variable as MarkWragg pointed out. Add a comment. Active Oldest Votes. You can use the task schedule to run a script file when the user logons on.
Improve this answer. StefTheo StefTheo 4 4 silver badges 9 9 bronze badges. Write a batch script to copy files and add the path of this batch script to the user's profile properties.
You will be able to do this sitting from any computer that you can see the AD user list from. That was very helpful. Now, how about using this method to install a service pack or upgrade a program when a user logs on? Is there an "install" command that I would use in place of the copy command in the batch file?
If you are talking about installing service pack for windows, then you can use the group policy editor to configure that. But if you are talking about running a program installation using batch script, you have to use "start" and the type the path to the program. I would suggest a silent install most of the popular installation packages support that.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
0コメント