login script (batch file probably) to copy couple of files

i would like to write a login script which should copy a couple of files from the network and put it in their respective user machine.
This is probably easy instead of us running around each machine and trying to copy..
any headstarts or how to proceed...

LVL 12
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pra4444Author Commented:
i forgot to add that we run windows xp on most machines..
Place your startup script under

C:\WINNT\sysvol\sysvol\{your ads domain name}\scripts

Then go to your "Active Directory Users and Groups", select each of the users you wish to be affected by the script,
edit the user and select "Profile", type the name of the script (eg: netlogon.bat") here.

If your script is copying files, place them in the above folder as well.

Then go to your "Active Directory Users and Groups", select your domain component (eg: nwtraders.msft),
right click and select "Properties"

Select the "Group Policy" tab, and "Edit" the "Default Domain Policy"
This will open a group policy editor, under

  "User Configuration/Windows Settings/Scripts"

you can specify or copy one or more batch/cmd/vbs files to be run at logon
Whoops, the second half of those instructions is only if you want to specify a logon script for everyone and you don't wish
to configure EACH profile.

Sorry about that
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Pra4444Author Commented:
i am sorry i am a novice...
how do i write the script??? is it just a simple copy statement???
Yup, say you wanted to copy a hyperlink file:  The icon on the desktop says "HelpDesk"

1) Copy the icon into the scripts folder
2) create a text file, call it logon.bat
edit the file with notepad

in note pad type:
copy HelpDesk.lnk "c:\Documents and Settings\All Users\Desktop"

3) Save and close the text file.
4) Double click the file to confirm that it will actually copy the file to the correct location
5) Test by logging ito another machine

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Glad to help Pra444
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Theory

From novice to tech pro — start learning today.