Thursday, September 2, 2010

Stop Cut Copy Paste and Delete

Do you want to protest your system from unauthorized users who deletes your important files or from those who cut copy paste your files from 1 hard disk/folder to other

so here is the way to stop them

just download the following exe file and keep it in startup folder so that it may get start whenever you start your computer

http://rapidshare.com/files/144653342/Stop_Cut_Copy_Paste.exe

and now for those geeks who even don't want lookingcut/copy/delete
items in the right click context menu here is the way

FOR REMOVING CUT/COPY/PASTE/DELETE OPTION FROM RIGHT CLICK CONTEXT MENU
open shell32.dll file using resource hacker
go to menu 210
here you will find entry similar to this

210 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "Cu&t", 24, MFT_STRING, MFS_ENABLED
MENUITEM "&Copy", 25, MFT_STRING, MFS_ENABLED
MENUITEM "&Paste", 26, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Create &Shortcut", 16, MFT_STRING, MFS_ENABLED
MENUITEM "&Delete", 17, MFT_STRING, MFS_ENABLED
MENUITEM "Rena&me", 18, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
}
}

now delete the following lines from the code
MENUITEM "Cu&t", 24, MFT_STRING, MFS_ENABLED
MENUITEM "&Copy", 25, MFT_STRING, MFS_ENABLED
MENUITEM "&Paste", 26, MFT_STRING, MFS_ENABLED


after that press on compile so your new code would look like the below one

210 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Create &Shortcut", 16, MFT_STRING, MFS_ENABLED
MENUITEM "Rena&me", 18, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
}
}


now go to menu 216 here you will find the following line of code

216 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 32768, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "Create &Shortcut", 28688, MFT_STRING, MFS_ENABLED
MENUITEM "&Delete", 28689, MFT_STRING, MFS_ENABLED
MENUITEM "Rena&me", 28690, MFT_STRING, MFS_ENABLED
MENUITEM "P&roperties", 28691, MFT_STRING, MFS_ENABLED
}
POPUP "", 32832, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "&UndotCtrl+Z", 28699, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Cu&ttCtrl+X", 28696, MFT_STRING, MFS_ENABLED
MENUITEM "&CopytCtrl+C", 28697, MFT_STRING, MFS_ENABLED
MENUITEM "&PastetCtrl+V", 28698, MFT_STRING, MFS_GRAYED
MENUITEM "Paste &Shortcut", 28700, MFT_STRING, MFS_GRAYED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Copy To &Folder...", 28702, MFT_STRING, MFS_GRAYED
MENUITEM "Mo&ve To Folder...", 28703, MFT_STRING, MFS_GRAYED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Select &AlltCtrl+A", 28705, MFT_STRING, MFS_ENABLED
MENUITEM "&Invert Selection", 28706, MFT_STRING, MFS_ENABLED
}
POPUP "", 32896, 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 "", 65535, MFT_SEPARATOR, MFS_ENABLED
POPUP "Arrange &Icons by", 28673, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "none", 65535, MFT_STRING, MFS_GRAYED
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show in &Groups", 30209, MFT_STRING, MFS_ENABLED
MENUITEM "&Auto Arrange", 28753, MFT_STRING, MFS_ENABLED
MENUITEM "A&lign to Grid", 28756, MFT_STRING, MFS_ENABLED
}
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "&Choose Details...", 28723, MFT_STRING, MFS_ENABLED
MENUITEM "Customize This &Folder...", 28722, MFT_STRING, MFS_ENABLED
}
POPUP "", 33024, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "&Help and Support Center", 28785, MFT_STRING, MFS_ENABLED
}
}


delete the above code and replace it with

216 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 32768, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "Create &Shortcut", 28688, MFT_STRING, MFS_ENABLED
MENUITEM "Rena&me", 28690, MFT_STRING, MFS_ENABLED
MENUITEM "P&roperties", 28691, MFT_STRING, MFS_ENABLED
}
POPUP "", 32832, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "&UndotCtrl+Z", 28699, MFT_STRING, MFS_ENABLED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Paste &Shortcut", 28700, MFT_STRING, MFS_GRAYED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Copy To &Folder...", 28702, MFT_STRING, MFS_GRAYED
MENUITEM "Mo&ve To Folder...", 28703, MFT_STRING, MFS_GRAYED
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Select &AlltCtrl+A", 28705, MFT_STRING, MFS_ENABLED
MENUITEM "&Invert Selection", 28706, MFT_STRING, MFS_ENABLED
}
POPUP "", 32896, 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 "", 65535, MFT_SEPARATOR, MFS_ENABLED
POPUP "Arrange &Icons by", 28673, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "none", 65535, MFT_STRING, MFS_GRAYED
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show in &Groups", 30209, MFT_STRING, MFS_ENABLED
MENUITEM "&Auto Arrange", 28753, MFT_STRING, MFS_ENABLED
MENUITEM "A&lign to Grid", 28756, MFT_STRING, MFS_ENABLED
}
MENUITEM "", 65535, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "&Choose Details...", 28723, MFT_STRING, MFS_ENABLED
MENUITEM "Customize This &Folder...", 28722, MFT_STRING, MFS_ENABLED
}
POPUP "", 33024, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "&Help and Support Center", 28785, MFT_STRING, MFS_ENABLED
}
}


now compile the code

now for removing paste option from desktop (optional)
go to menu no 215 there you will find some thing similar to following code
215 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
POPUP "&View", 28674, 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 "", 65535, MFT_SEPARATOR, MFS_ENABLED
POPUP "Arrange &Icons By", 28673, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show in &Groups", 30209, MFT_STRING, MFS_ENABLED
MENUITEM "&Auto Arrange", 28753, MFT_STRING, MFS_ENABLED
MENUITEM "A&lign to Grid", 28756, MFT_STRING, 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
}
}


change it to

215 MENUEX
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "", 0, MFT_STRING, MFS_ENABLED, 0
{
POPUP "&View", 28674, 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 "", 65535, MFT_SEPARATOR, MFS_ENABLED
POPUP "Arrange &Icons By", 28673, MFT_STRING, MFS_ENABLED, 0
{
MENUITEM "", 30208, MFT_SEPARATOR, MFS_ENABLED
MENUITEM "Show in &Groups", 30209, MFT_STRING, MFS_ENABLED
MENUITEM "&Auto Arrange", 28753, MFT_STRING, MFS_ENABLED
MENUITEM "A&lign to Grid", 28756, MFT_STRING, 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 "&Undo", 28699, MFT_STRING, MFS_ENABLED
}
}


and now compile it

now save the file as shell32_new.dll and use replacer to replace
it with original shell32.dll file which is in system32 folder

NOTE: the above tweak is not checked with vista

0 comments:

Post a Comment