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.


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

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
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

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.
valuelabs97Author Commented:
I tried all above still same
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

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.