Ritesh’s Technical Blog

Posts Tagged ‘restrict paste

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
}
}

 Read the rest of this entry »
Advertisements

Archives

Blog Stats

  • 55,510 hits
Advertisements