[Windows 8 Development and Hacking] Edgarhighman:
I've edited my imageres.dll file and have it all nice nice, but when I try to paste it into system 32 (tried safe mode) It will not let me overwrite that file.

I've tried Safe mode, Taking Control, Granting full control permissions of file, system32 folder, windows folder, and C folder (both taking control, and granting full permissions to: User (me) and Administrator (also me) Yes, i'm on windows 7 64bit but there is no Win 7 Forum here, however the imageres.dll is mentioned here, and I'm assuming the file is more-or-less the same. Besides taking ownership in C for Win 8 being bad? I did this to both System32 file and Syswow64 file- its now apparent to me that both are in USE and thats why I can't overwrite/modify them =/ So how do I use my modded one? (startup sound etc.)

Following this:

How to Take Ownership in Windows 7

1. Locate the file or folder on which you want to take ownership in windows explorer

2. Right click on file or folder and select “Properties” from Context Menu

3. Click on Security tab

4. Click on “Advance”

5. Now click on Owner tab in Advance Security Settings for User windows

6. Click on Edit Button and select user from given Change Owner to list if user or group is not in given list then click on other users or groups. Enter name of user/group and click ok.

7. Now select User/group and click apply and ok. (Check “Replace owner on sub containers and objects” if you have files and folder within selected folder)

8. Click ok when Windows Security Prompt is displayed

9. Now Owner name must have changed.

10. Now click Ok to exist from Properties windows

Once you have taken the ownership of file or folder next part comes is Granting Permissions to that file/folder or object.

How to Grant Permissions in Windows 7

1. Locate the file or folder on which you want to take ownership in windows explorer

2. Right click on file or folder and select “Properties” from Context Menu

3. Click on Edit button in Properties windows Click ok to confirm UAC elevation request.

4. Select user/group from permission windows or click add to add other user or group.

5. Now under Permission section check the rights which you want to grant i.e check “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.

6. Click Ok for changes to take effect and click ok final ok to exit from Properties window.

Now you can access files of folder in windows 7 with full permissions and take full control.

also tried cmd prompt

takeown /F "C:\Windows\System32\imageres.dll"

with Sucess message (probably the same as my right click takeown reg file context thing)

I'm the only person/login/user on my PC. Ugh this is a pain in the butt. No matter what I've googled/tried hasn't worked. I don't have a linux CD/USB boot *(dunno if I do? but don't think I do) to repair/replace file, I may have Win 7 repair on my CD, maybe not.

EDIT: replacing the startup sound in imageres.dll in System32 and SysWOW64 folders still leaves me with default windows startup sound =( Only other file was imageres.dll in winsxs folder- copied, edited the copy, deleted the original with Fileassassin (it was locked, wouldn't edit, blah blah) STILL uses old windows start up sound, WHyyyyyy? theres MUI files with info for imageres.dll but IDK what's left where this sound exists =/ or where its coming from.