+ Post New Thread
Results 1 to 7 of 7
Windows Server 2008 Thread, Register a .ddl? in Technical; Is it possible to register a .dll file using Server 2008 group policy? Thanks Z...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,957
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448

    Register a .ddl?

    Is it possible to register a .dll file using Server 2008 group policy?

    Thanks

    Z

  2. #2

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,763
    Thank Post
    3,273
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365

    vbscript ?

    use a vbscript to execute / launch the regsvr32 command using the silent switch to register the dll on either a startup or logon script ?

  3. #3
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    PHP Code:
    regsvr32 /s name.dll 
    in the login script, after about a week, you could assume its run everywhere and remove it.

    DLL needs to either be copied into system32 folders, or placed in NETLOGON folder, or use a UNC path.

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,957
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    I alredy use a script, but i would like to move away from them thats why i am asking if i can use group policy.

  5. #5

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,055
    Thank Post
    209
    Thanked 429 Times in 309 Posts
    Rep Power
    144
    Group policies can generally only apply registry changes to a machine (and do things like run scripts etc) I think there's a more than just a registry change when a DLL is registered on a machine so I think a script is your only option AFAIK.

    However instead of calling a script, you could probably put the regsvr32 command directly into the startup or login script box within group policy, that would save it calling a batchfile, and run it directly. I think this would work.

    Mike.

  6. #6
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    After a google or two, I found various posts within Microsoft Technet, and this functionability is not possible.

    As said above, scripts are the way forward

  7. #7
    azrael78's Avatar
    Join Date
    Sep 2007
    Location
    Devon
    Posts
    383
    Thank Post
    47
    Thanked 37 Times in 33 Posts
    Rep Power
    21
    It's worth noting that with DLL registration you IDEALLY want to copy the DLL from a central point first (NETLOGON share) and THEN register it.

    So something like the following:

    Code:
    Copy %LOGONSERVER%\NETLOGON\MyDLL.DLL %WINDIR%\System32 /Y
    %WINDIR%\system32\regsvr32.exe /s %WINDIR%\system32\MyDLL.DLL
    That way - your DLL is always the same version on every PC (when you initially copy and register it - assuming nothing updates it later).

    While you can simply register a DLL in NETLOGON directly, I've seen a few nasties when NETLOGON hasn't been available and that DLL was needed... better to be safe than sorry IMO

    Your absolute best-bet is to run this as a PC Startup Script (which runs as NT AUTHORITY\SYSTEM) - so it registers it before your users even login, which is great if said DLL is needed at login time or desktop-creation time

    HTH

    Az

SHARE:
+ Post New Thread

Similar Threads

  1. Take register
    By ozydave in forum MIS Systems
    Replies: 1
    Last Post: 10th June 2008, 09:55 AM
  2. Register for the May '08 Conference
    By Ric_ in forum General EduGeek News/Announcements
    Replies: 15
    Last Post: 15th May 2008, 08:16 AM
  3. Programming an old cash register
    By ChrisH in forum Hardware
    Replies: 2
    Last Post: 17th January 2008, 04:20 PM
  4. Register Scanners
    By Scruff in forum Hardware
    Replies: 4
    Last Post: 4th June 2007, 05:12 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •