+ Post New Thread
Results 1 to 7 of 7
Windows 7 Thread, Replacing .dll in system32 on all PCs in Technical; Hello all, I was wondering if anyone could help me with this. I have created a custom logon screen image ...
  1. #1

    Join Date
    Feb 2011
    Location
    Ipswich
    Posts
    7
    Thank Post
    7
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Replacing .dll in system32 on all PCs

    Hello all,

    I was wondering if anyone could help me with this.

    I have created a custom logon screen image to replace the blank frame as per the instructions on this post:
    Windows 7 - I've Given Up

    This worked fine for my PC and I now have a nice little logo on the logon screen instead of a blank frame. However, how do I push this out to all PCs on the network? I don't fancy replacing a .dll in system32 on every single machine (especially if we decide to change it!). I tried pushing the .dll out as a file using GPO (to replace the one in system32) but as expected, this didn't work.

    Has anyone got a solution for this or are my PCs doomed with a blank frame?

    (I wish it would just pick up the default user image)

    Best regards

    Katrina

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by khoward View Post
    I tried pushing the .dll out as a file using GPO (to replace the one in system32) but as expected, this didn't work.
    Any reason it's not working? I'm assuming you'd need to use a script to take ownership of the authui, rename it, then copy new one in. Not sure if it'd allow a straight overwrite

    What errors are you getting etc?

    (And as a side note, I assume you realise editting sysfiles does break EULAs etc? Just saying.)

    Steve

  3. #3

    Join Date
    Feb 2011
    Location
    Ipswich
    Posts
    7
    Thank Post
    7
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Steve,

    Yes I'm assuming it's a permissions thing. I just tried to straight replace the file using GPO and nothing happened on reboot- we still had the blank frame.
    I should imagine a script is needed to overcome the permissions/ownership but I wouldn't know where to start with that I'm afraid.

    Actually, now you mention it, I hadn't thought about the EULA. Good point.

    I think I'll just leave it. A bit of a shame, as I would like to see the logo there... but don't really want to be meddling too much with things we shouldn't be meddling with!

  4. #4

    nephilim's Avatar
    Join Date
    Nov 2008
    Location
    Dunstable
    Posts
    11,760
    Thank Post
    1,623
    Thanked 1,877 Times in 1,395 Posts
    Blog Entries
    2
    Rep Power
    422
    why not change the background and position your logo in the right spot so it fits just right?

  5. Thanks to nephilim from:

    khoward (5th August 2011)

  6. #5

    Join Date
    Feb 2011
    Location
    Ipswich
    Posts
    7
    Thank Post
    7
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nephilim View Post
    why not change the background and position your logo in the right spot so it fits just right?
    ...

    I just creased up laughing when I saw this. What a simple but brilliant solution!!

    What's the saying about looking for the simplest solution first?!

  7. #6

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    There's a built-in "TakeOwnershipEx" method for Win32 APIs, so it should be easy enough (it's just an automated way of doing it, like adding it in your right click context menus).

    If you do that it should allow you to rename (or overwrite) the file, then copying should work.

    Steve

  8. #7

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,705
    Thank Post
    3,236
    Thanked 1,045 Times in 967 Posts
    Rep Power
    363
    The way I found was to copy a wallpaper file to the below directory :

    C:\Users\shane.russell\AppData\Roaming\Microsoft\W indows\Themes\

    Ensuring it is a jpg file type and also that it is named TranscodedWallpaper.jpg

    And then in a script run the below code so as to update the current user hive in the registry - which is vbscript

    Code:
    Dim WshShell
    Set WshShell = WScript.CreateObject("Wscript.Shell")
    WshShell.Run "c:\windows\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters", 1, False
    Set WshShell = Nothing
    I think the above is wallpaper not the logon screen so may be totally different , appologies :-S
    Last edited by mac_shinobi; 5th August 2011 at 12:59 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 5th July 2011, 11:50 AM
  2. Open VLC on all PCs from one location i.e Windows server
    By niloc in forum Windows Server 2000/2003
    Replies: 14
    Last Post: 28th October 2010, 12:12 PM
  3. Replies: 12
    Last Post: 13th December 2007, 06:02 PM
  4. adding folder security permission on all PCs
    By edie209 in forum Windows
    Replies: 7
    Last Post: 7th December 2007, 11:39 AM
  5. Automate pinging on all devices
    By Cyber-Dude in forum Scripts
    Replies: 7
    Last Post: 22nd May 2006, 07:08 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
  •