Login script is not working

Posted on 2008-11-17
Last Modified: 2012-05-05
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
Question by:valuelabs97
    LVL 5

    Expert Comment

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

    Expert Comment

    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

    LVL 7

    Expert Comment

    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.

    Author Comment

    I tried all above still same
    LVL 47

    Accepted Solution

    put it in a startup script then it will run under system instead of user and it should work just fine for you

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now