Windows 7 Desktop context menu is much different than XP one. Following are a few things which are new in Windows 7 menu and we are going to have them in XP:
- "View" menu visible in Desktop context menu
- "Arrange Icons By" renamed to "Sort by"
- "Properties" renamed to "Personalize"
- "Auto arrange icons" and "Align icons to grid" options moved from "Sort by" menu to "View" menu
- 2 new options "Screen resolution" and "Gadgets" added to the menu
So above are a few changes which are new in Windows 7 but we can get them in XP using our favorite tool "Resource Hacker".
Prerequisites:
To modify Desktop context menu, we'll need to edit "%windir%\System32\Shell32.dll" file in Resource Hacker. If you are new to Resource Hacker, we'll advise you to go through following tutorial to learn about it:
All About Resource Hacker in a brief Tutorial
Once you become familiar with Resource Hacker, make sure you have run WFP Patcher in Windows. WFP Patcher disables WFP (Windows File Protection) service. WFP service protects editing of system files and you'll not be able to edit "Shell32.dll" file until you disable it using WFP patcher.
If you don't want to disable WFP, you can save the modified file at some other location and then replace default Shell32.dll file with your new modified one using Replacer.
Getting Started:
1. Open "%windir%\System32\Shell32.dll" file in Resource Hacker and go to:
Menu -> 215
2. Select the whole code given in right-side pane and replace it with the following code:
215 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
POPUP "&View", 0, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "Filmstri&p", 28719, MFT_STRING, MFS_ENABLED
MENUITEM "T&humbnails", 28717, MFT_STRING, MFS_ENABLED
MENUITEM "Tile&s", 28718, MFT_STRING, MFS_ENABLED
MENUITEM "Ico&ns", 28713, MFT_STRING, MFS_ENABLED
MENUITEM "&List", 28715, MFT_STRING, MFS_ENABLED
MENUITEM "&Details", 28716, MFT_STRING, MFS_ENABLED
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show in &groups", 30209, MFT_STRING, MFS_ENABLED
MENUITEM "&Auto arrange icons", 28753, MFT_STRING, MFS_ENABLED
MENUITEM "A&lign icons to grid", 28756, MFT_STRING, MFS_ENABLED
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show &desktop icons", 29698, MFT_STRING, MFS_ENABLED
}
POPUP "S&ort by", 28673, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
}
MENUITEM "R&efresh", 28931, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Customize this &folder...", 28722, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "&Paste", 28698, MFT_STRING, MFS_ENABLED
MENUITEM "Paste &shortcut", 28700, MFT_STRING, MFS_ENABLED
MENUITEM "&Undo", 28699, MFT_STRING, MFS_ENABLED
}
}
3. Click on "Compile Script" button.
4. Now go to:
Menu -> 220
5. Again select the whole code given in right-side pane and replace it with the following code:
220 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "Screen resolution", 0, MFT_STRING, MFS_ENABLED
MENUITEM "Gadgets", 0, MFT_STRING, MFS_ENABLED
MENUITEM "P&ersonalize", 0, MFT_STRING, MFS_ENABLED
}
}
6. Click on "Compile Script" button.
7. That's it. Now save the file. Restart your system and get ready to have the Windows 7 Desktop context menu in your XP.

PS: "Screen Resolution" and "Gadgets" options will open Desktop Properties. Its a limitation in XP. We can't do anything.
NOTE: If you get "Can't create fileā¦" error message when you try to save the file, it means you have edited and saved the file recently and there is a backup file which needs to be deleted before saving the file again. Go to the "System32" folder and look for a file "Shell32_original.dll". Delete it and try to save the file again.
This article was posted by VG in following section: Resource Hacker, Windows XP.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
nikho
find sorry
alex
i am afraid of doing this....i am not sure if i will like it...actually i am pretty sure that i will like it but if somewhen i will want to turn it back to the usual one how i am going to do it???....anyway thanks for the SevenVg theme is georgeous and thanks for the icons on the taskbar...they are marvellous....also thanks for the vistart...eventhough i do not have it on my start up...i prefer the xp's one... :-D
VG
^^ You can take a backup of the file before modifying it, so that if you want to restore the default settings, just restore the DLL file.
alex
oohhh...my god i tried of doing this like....10000 times...it doesn't work....anyway the tutorial is pretty good and it makes windows xp like about...70% windows 7
David
Thanks VG! :)
Prince NRVL
Vishal i need to edit the left pane of explorer// So can u tell me how can i edit to my customized pictures??
Thnks in advance sir..
VG
^^ You'll need to edit "shellstyle.dll" file present in themes folder.
Prince NRVL
@ VG first thnaks for the solution.. i made it after some experiments..
And other thing is that i tried to put the ntoskrnl edit from the tuneup utilities and put in the XP sp3, but it aint worked.. please tell the detailed solution for this problem..
This will be more important as i m finished all steps in unattended xp..
Thnks in advance sir..
VG
^^ Check following tutorial:
http://www.askvg.com/how-to-include-your-edited-system-files-in-windows-setup/
ibrahim
can i link gadgets to original vista gadgets menu
i'm usinng xp but i installed vista's sidebar whick is orignally from vista can you do something about it