Teach you to change the theme of Windows 7 Media Center

  

Step 1: Visit the website in the browser, where you can choose to download the Windows Media Center theme file according to your preferences, the download is the extension *.exe or *.msi format file.

Step 2: By default, Windows Media Center does not allow new topics to be installed, so we need to do some processing on the ehres.dll file in the system. Open Notepad and manually paste the following code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\*\\shell\ unas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\\*\\shell\ unas\\command]
@="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\ " /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /grant administrators:F"
[ ,null,null,3],HKEY_CLASSES_ROOT\\Directory\\shell\ unas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\\Directory\\shell\ unas\\command]
@="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \\ "%1\\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"


Take Ownership in the above code means getting Ownership of the file, of course, other names can be used, but do not use Chinese. Open the "Save As" dialog box, set the save type to "All Files", save it as a registry file in *.reg format, and the file name can be arbitrarily selected. Go to the resource manager, find the registry file you just saved, right-click and select "Run as administrator". For security reasons, it is recommended to perform an export backup of HKEY_CLASSES_ROOT before importing.

Step 3: In the Explorer, find the "\\Windows\\ehome\\ehres.dll" of the system disk, as shown in Figure 1. Right click and select the "Take Ownership" command. After execution, you will get ehres. Ownership of the .dll file.

Figure 1 Get ehres.dll file permissions

Tip:

If you think the above registry code is more troublesome, you can also right click on the ehres.dll file to open the properties dialog box. Switch to the "Security" tab to manually assign the appropriate operation rights.

Step 4: You can double-click to run the previously downloaded theme file and follow the prompts to complete the installation of the theme. From the start menu, select "All Programs → Homeworld Theme - Windows 7 Media Center → Enable Homeworld Theme", the dialog box shown in Figure 2 will pop up, it is recommended to check "Create backup if the new file already exists" check The box, then select the "Start" button, you can exit the program after seeing the "Patch succesful!" message.

Figure 2 Theme file settings

Now, running Windows Media Center, look at the theme effect shown in Figure 3, is it very interesting? It should be noted that the above method is not suitable for Windows Media Center components in Windows Vista.

Figure 3 Windows Media Center Theme

Copyright © Windows knowledge All Rights Reserved