Solved

Replace Imageres.dll across the domain to customize logon screen.

Posted on 2010-09-11
3
705 Views
Last Modified: 2012-05-10
I've tried to utilize group policy to replace the following file C:\windows\system32\imageres.dll with the one we have customized for our organization. Which works when we manually place the new file in the listed location. However, it is not my intentions to touch ever machine on our network. It seems I'm running into issues because this file is a protected file and cannot be changed through GPO. Does anyone know how I can get around this or a utility I can use to push this change to all computers in a S2K3 domain?
0
Comment
Question by:Dan-Hanley
  • 2
3 Comments
 
LVL 66

Expert Comment

by:johnb6767
ID: 33658503
You can try a script to copy it to the remote systems, but before it is copied, delete the copy from c:\windows\system32\dllcache.....

Or even better, copy it there first, and then make the copy.....  

Sometimes you can trick Windows File Protection.......

The DLLCache folder is where WFP stores the good copies of the Protected files. So if you delete/replace that one, then you wont have it revert back to the original one.....
0
 

Author Comment

by:Dan-Hanley
ID: 33658695
John,

         That's true and had we been on XP probably would work, but we are currently running Vista Enterprise and I believe that the DLL Cache folder does not exist. I believe that vista uses a set of ACL's that prevent files not to be written unless they are ran by the "TrustedInstaller" account. However, I am stumped and don't know how else to get around this. I've gone as far as to create my own MSI package to replace the file and leave me a log file to let me know it has ran, but still no luck. I guess even letting the system rights run the package wasn't enough. Well thanks for the reply hopefully you have some idea's because im just about out of them.
0
 

Accepted Solution

by:
Dan-Hanley earned 0 total points
ID: 33667031
Okay, so I've solved my own problem... I still went with creating a MSI package, but this time I gave my package a .manifest file which elevated the install to require admin rights, but this alone did not make my package work correctly. I had to figure out what registry key did file name modifications and drop the file i wanted to changed into the system32 folder. The MSI package deletes the original file, places the custom imageres.dll and adds a registry key to rename the custom file to imageres.dll after this is done it requires a reboot and the changes should appear upon reboot.

Create a multi-string value in the following location.[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"

Value
\??\C:\Windows\System32\Customimageres.dll
!\??\C:\Windows\System32\imageres.dll

The MSI packager I used was  a freeware: EMCO
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Outlook 2003-duplicate Emails 8 425
BSOD on recently infected machine 10 314
Trying to connect to Oracle database from Visio 8 974
Profile service not available 6 107
The main issue when installing Vista and XP in dual boot is when you have to reinstall any of the two when something fails, let's say a hard disk failure, a lost partition, virus, etc. What commonly happens is that you lose all your hard work config…
So who is this article for? If you are like most of the computer users out there, you probably only realize the meaning of 'System maintenance' after something goes wrong. This article is for you if you care about keeping your system working opti…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

16 Experts available now in Live!

Get 1:1 Help Now