valuelabs97
asked on
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
Thanks.
The script:
net use u: \\serverdc\scr
u:
copy logo.scr %systemdrive%\ /y/v
%systemdrive%
net use u: /delete
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
?
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.
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.
ASKER
I tried all above still same
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Regards, Oliver