-
Type CMD in start menu search box or run and press Enter.
-
Type the following in Command Prompt:
TAKEOWN /F %windir%\system32\imageres.dll && ICACLS %windir%\system32\imageres.dll /GRANT Administrator:F
-
Go to C:\Windows\System32 (Change C to your system drive) and make a backup of imageres.dll.
-
Open C:\Windows\System32\imageres.dll in it. (Change C to your system drive)
-
Click on the Action menu and select Replace other Resource ….
-
Click Open file with new resource… and browse for the sound file that you want to use as the startup sound of the logon screen.
-
Type WAVE in the Resource Type box.
-
Type 5080 in the Resource Name box.
-
Click on Replace.
-
Click on the File menu and select Save.
-
Go to C:\Windows\System32 (Change C to your system drive) and delete imageres_original.dll. Now restart your PC to hear the new startup sound.