+ Post New Thread
Results 1 to 9 of 9
Windows 7 Thread, Replace dll file in system32 folder in Technical; Im trying to change a dll file in the system32 folder for all my windows 7 workstations on the network, ...
  1. #1
    hfnistelrooy's Avatar
    Join Date
    Jul 2011
    Location
    Good old capital city
    Posts
    52
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Replace dll file in system32 folder

    Im trying to change a dll file in the system32 folder for all my windows 7 workstations on the network, I have tried to capture a package using WInstall but that does work (im guessing its permissions overwriting a dll in the system32 folder)?

    Is there another way that this can be done? a bat file or a startup script?

  2. #2
    hfnistelrooy's Avatar
    Join Date
    Jul 2011
    Location
    Good old capital city
    Posts
    52
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I have a batch file that I have created which changes the dll file to anme.dll.bak and then copies the new dll from the server share, it works when I run it as an administrator so I thought it would work as a startup script but it doesnt work... is there something simple that im missing?

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,244
    Thank Post
    670
    Thanked 1,642 Times in 1,466 Posts
    Rep Power
    424
    XP had a file protection service to prevent system files dll's etc being overwritten.

    What file are you trying to replace and why?

    Ben

  4. #4
    hfnistelrooy's Avatar
    Join Date
    Jul 2011
    Location
    Good old capital city
    Posts
    52
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Im changing the profile picture in windows 7, you need to change a dll in the system32 folder for it to work, set the batch file as a package and it is now working!

    Now just another batch file needed to disable some services

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,244
    Thank Post
    670
    Thanked 1,642 Times in 1,466 Posts
    Rep Power
    424
    You don't need a batch file to disable services that can be done quite easily with a GPO/GPP.

    Ben

  6. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,244
    Thank Post
    670
    Thanked 1,642 Times in 1,466 Posts
    Rep Power
    424
    I'm suprised this doesn't break the microsoft T&C's like modifying the original gina was for XP.

    Ben

  7. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,811
    Thank Post
    3,327
    Thanked 1,056 Times in 977 Posts
    Rep Power
    365
    GPP or the expand command ( if it still exists ) to replace the file using a script ( bat, vbs , powershell ) ??

  8. #8


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,069
    Thank Post
    232
    Thanked 2,718 Times in 2,006 Posts
    Rep Power
    797
    Quote Originally Posted by plexer View Post
    I'm suprised this doesn't break the microsoft T&C's like modifying the original gina was for XP.
    It probably does.

  9. #9
    hfnistelrooy's Avatar
    Join Date
    Jul 2011
    Location
    Good old capital city
    Posts
    52
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by plexer View Post
    You don't need a batch file to disable services that can be done quite easily with a GPO/GPP.

    Ben
    Trying to stop Windows Defender from starting automatically and there is no option for it via GPO (on a server 2003 network) unless you know how it can be done?

    Ill look into the dll issue with it breaking MS agreement...

SHARE:
+ Post New Thread

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
  •