How to Disable/Restrict the Find Target button under Properties dialogue box?

Posted on 2008-02-06
Medium Priority
Last Modified: 2013-12-29
I tried searching EE for this topic but to no avail, if ever there is one, i;ll be glad to know the link, thank you.

this is my problem, I'm using the Windows 98 Second Edition with the units in  my little internet cafe business. It's so annoying every now and then I have to copy back the entire folder of a game just because it has been erased by malicious customers. This is my PC setup: hard drive is partition into 3, primary partition  and the 2nd logical partition are secured by deepfreeze. Only the 1st logical drive where all my local and online games are installed is not protected since it constantly update files online, so protecting it is in my own knowledge would only cause those online games to patch everytime it connects. Though the drives are restricted from public access (i.e. all 3 partition drives are hidden by my time management software)folders are hidden and folder options are restricted to ensure that they cannot access the show all files option, still they were able to sneak around via Find Target button after right clicking a desktop shortcut then Properties and able to mess around with the files in that unprotected drive. I come to think, if I could only disable the Find Target button and disable the New command in desktop context menu, and MS-Dos prompt, they'll be barred from entering those folders.

Help me with this please. thanks.
Question by:ran_ronqx

Accepted Solution

Darker earned 336 total points
ID: 20839040
I think the only way you can do this is with ResHacker to make custom Shell32.dll files.  You can get it here: http://www.portablefreeware.com/?sc=113

Found these instructions on a different forum:
-run reshacker
-open "C:\windows\system\SHELL32.DLL".
-Expand the "Dialog" folder.
-Expand the "1040" folder.
-Click on the "1036" icon.
You should see some script in the main window and a menu to the right called "Dialog-1040" that looks like the shortcut tab of the .LNK file properties.
-On that menu to the right, rightcick on any object composing the menu and chose "Edit control".
A new menu called "Control editor" should popup. Look in the bottom-left part oft that menu. There is a liste of properties available for that control. Some should already be selected in yellow.
-Select the property called "WS_DISABLED".
-Click on the OK button.
-Do the same for every field and button composing the Dialog-1040.
-When your done, click the "Compile" button at the top of the main window.
-Save the project as "SHELL32.TMP" in C:\windows\system\
-Create a batch file called CHNGSHELL.BAT and add these lines: (for future changes)

attrib SHELL32.DLL -s
attrib SHELL32.DLL +s

-Create an other batch file called RSTRSHELL.BAT and add these lines: (To restore the SHELL32.DLL in case there's trouble)

attrib SHELL32.DLL -s
attrib SHELL32.DLL +s

-Reboot your machine in MS-DOS.
-Go to C:\windows\system\
-Restart windows
-Rightclick on a shortcut and chose Properties

Ouf!.. that was hard (NOT!)
You can use the RSTRSHELL.BAT to restore the SHELL32.DLL like it was before.
Try and explore ResHack. It's a great tool that will help change and extract ressources in many EXE, DLL, CPL and many other files types.
LVL 29

Assisted Solution

blue_zee earned 332 total points
ID: 20839232
This may help:

Using Poledit: Policy Editor to help secure Windows 95/98/ME computers

LVL 39

Assisted Solution

BillDL earned 332 total points
ID: 20860612
He, he.  I read the question and was about to check out shell32.dll in Resource Hacker, but I see you beat me to it with your comment Darker.

It's well covered, but the one additional thing I would also suggest is running the System File Checker (SFC.EXE) set to Prompt before restoring.  It will stop and notify that shell32.dll has been modified, and you can tell it to update the database.  That will prevent the file from being restored if SFC is run while set to automatically restore modified files, but you would have to do this again if you restored the backed-up shell32.dll again.

The other alternative is to use one of the freeware utilities that allow you to change the time and date stamp that shows in the file's Properties dialog.

I think in the end, though, that blue_zee's suggestion is going to be the most useful to you long-term.  You may also wish to explore the numerous registry settings that can be applied manually from *.REG files.  Many of them are the same ones that are set by the Policy Editor, but I find it easier with *.REG files.



Just watch for the ones that say "All Windows" or specifically "Windows 9x".
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 28

Expert Comment

ID: 20865253
Do the users mice really need a right click button at all? If not, a little glue will fix it.

Chris B

Author Comment

ID: 20892080
ok, it's gonna take me awhile before i could figure out your solutions guys, so i'll check this up right away for any feedback i could give you.

as to burrcm comment, needless to say but i guess it would be uncomfortable for my customers to use a mouse without right click so I'd rather try to figure this out with the least hardwork solution i could.

Expert Comment

ID: 21101205
Forced accept.

EE Admin
LVL 39

Expert Comment

ID: 21120943
Thank you LeeTutor and Computer101

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits …
Dropbox has a relatively new feature called Smart Sync.  This feature allows Dropbox Professional (not plus) and Dropbox Business (if enabled) users to store information in Dropbox WITHOUT storing any files on their computer.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question