Login script is not working

I put a login script in our domain to copy a file from a domain controller to all the machine in my domain. But the file is not copying. Can any one help me out on this. I tried the script as computer/user login script but it won't works. Is there any other way.

Thanks.

The script:
net use u: \\serverdc\scr
u:
copy logo.scr %systemdrive%\ /y/v
%systemdrive%
net use u: /delete
valuelabs97Asked:
Who is Participating?
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.

ostaehrCommented:
Normally users do not have permissions to write files to %systemdrive% (which should be C:). You should try another path such as %temp% which is inside the user profile path where this user has full access.

Regards, Oliver
0
exx1976Commented:
There could also be an issue with user permissions via GPO with the ability to map drives..   Why not just


copy \\serverdc\scr\logo.scr %systemdrive%\ /y/v

?
0
ALNMOOCommented:
to test the permission issue run the script in using a user account in his PC if it worked then you need to check is login script applied to his account or not.

run > cmd

Type "gpresult"

You must to see the policy that contains the loign script under

"Applied Group Policy Objects"

Of course you need to run all above in user PC using his account.
0
valuelabs97Author Commented:
I tried all above still same
0
DonNetwork AdministratorCommented:
put it in a startup script then it will run under system instead of user and it should work just fine for you
0

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
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
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.