Deploy .dll files through Group Policy

Discussion in 'Windows Server' started by Curtis Rich, Apr 10, 2006.

  1. Curtis Rich

    Curtis Rich Guest

    Is there a way I can deploy two files to all of my users using Group Policy,
    possibly by using a script? I would prefer using a logon script, and some
    examples would be great if anyone can assist. Any help would be greatly
    appreciated. Thanks.
     
    Curtis Rich, Apr 10, 2006
    #1
    1. Advertisements

  2. Curtis Rich

    Chriske911 Guest

    Is there a way I can deploy two files to all of my users using Group
    just copy them from a common share to the user's profile
    using the copy command in a bat file
    best to keep it separate from the login script
    and maybe a form of error trapping like
    if not exist .... copy ....

    grtz
     
    Chriske911, Apr 10, 2006
    #2
    1. Advertisements

  3. Curtis Rich

    Curtis Rich Guest

    Can you give me an example of how this would work, please?
     
    Curtis Rich, Apr 10, 2006
    #3
  4. Curtis Rich

    Chriske911 Guest

    Can you give me an example of how this would work, please?
    using GPO you can assign users with login script(s)
    you would do something like

    if not exist %windir%\system32\blabla.dll copy n:\somefolder\blabla.dll
    %windir%\system32
    regsvr %windir%\system32\blabla.dll /s

    (provided you map a common drive to the N: drive letter)
    and so on for all files you want to copy over

    if there are spaces in the folder or filename(s) you will have to use
    "" around the paths

    grtz
     
    Chriske911, Apr 10, 2006
    #4
  5. Curtis Rich

    Curtis Rich Guest

    I have the common "letter:" for the share but how do I get them to copy to a
    specific location within the user's profile, such as C:\Documents &
    Settings\%username%\Local Settings\Application Data\bla\bla\bla "here"?
     
    Curtis Rich, Apr 10, 2006
    #5
  6. Curtis Rich

    Chriske911 Guest

    I have the common "letter:" for the share but how do I get them to
    easiest is to use the system variables
    %homepath% will take you to the current user's profile folder location
    the structure of the folders from their on is the same for everyone and
    even across NT-OS versions

    grtz
     
    Chriske911, Apr 10, 2006
    #6
  7. Curtis Rich

    Dave Patrick Guest

    .............specific location within the user's profile...........

    DLL usage and registrations are typically machine specific so this may be a
    bad choice.

    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect

    :
    |I have the common "letter:" for the share but how do I get them to copy to
    a
    | specific location within the user's profile, such as C:\Documents &
    | Settings\%username%\Local Settings\Application Data\bla\bla\bla
    "here"?
     
    Dave Patrick, Apr 10, 2006
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.