Solved

restrict running of specific applications in windows 98

Posted on 2004-09-09
8
224 Views
Last Modified: 2013-12-28
Hi, can we restrict running a specific application in windows 98 using the registry?
0
Comment
Question by:therooster
8 Comments
 
LVL 36

Expert Comment

by:Zyloch
Comment Utility
Hi

I'm not too sure if this is Win98 also, but this site might have some tips: http://www.geocities.com/budallen98_98/poledit.html

Regards,
Zyloch
0
 
LVL 13

Expert Comment

by:gonzal13
Comment Utility
Remove the icon from the screen. Download a shareware program that will hide files. They will be invisable. They can only be seen with a code.

http://www.fspro.net/

gonzal13(joe)
0
 
LVL 38

Expert Comment

by:BillDL
Comment Utility
therooster.

By the sound of things, judging from a recent question asking how to restrict the odbc icon from Control Panel, you have some inquisitive staff who are causing a nuisance while exploring.

I'm not sure if it would suit your needs, but there are "shell replacements" that can run in place of Windows Explorer that you can customise quite extensively to be very restrictive.

I checked out one fairly recently to make the computer run in a kind of "console mode" where the user was presented with a basic menu similar to the windows Start Menu, and access to programs was created by adding paths to a text-based file.  By booting into DOS through the F8 boot menu or from a win98 boot floppy, an administrator (ME) could easily edit system.ini and change the relevant line under the [boot] section back to explorer.exe to boot normally into Windows again.

[boot]
shell=Explorer.exe  (or whatever alternative "shell" you chose)

The one I checked out was "LiteShell" available here:

http://www.labyrinth.net.au/~mosses/rob/liteshell/

Version 0.9.1
http://www.labyrinth.net.au/~mosses/rob/_files/LiteShell%200.9.1%20setup.exe

You might like to consider something like this as an alternative to using "policies" to restrict user groups from running things you don't want them to.  There are many such "shell replacements" available, and you could conceivably "clone" the general appearance of a Win98 desktop.

If you wish to pursue Zyloch's excellent comment, then here's another page with good screenshots:

http://www.zisman.ca/poledit/

0
 
LVL 38

Expert Comment

by:BillDL
Comment Utility
By the way, what specific programs/application(s) do you wish to restrict access to?

A good place to start, if you wish to edit the registry and create restrictions manually:

http://www.winguides.com/registry/category.php/4/

One of the first ones you should consider is disabling access to Regedit.  No sense in creating restrictions via the registry if a wise individual knows where to look:

http://www.winguides.com/registry/display.php/190/

Next, look at this page:

http://www.winguides.com/registry/display.php/113/
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 11

Expert Comment

by:Joseph O'Loughlin
Comment Utility
Hi therooster,
Make a directory called c:\bat
Make a batch file with the same name as the program that you don't want to run - for example
echo. > c:\bat\badprog.bat
echo. > c:\bat\badprog.exe
Change the path statement in Autoexec.bat adding c:\bat;.; before the other entries.
What this dose is looks in the bat directory before the current directory (the dot entry) and subsiquent directories in the path statement for the program.
usual disclaimers apply
0
 
LVL 38

Accepted Solution

by:
BillDL earned 125 total points
Comment Utility
therooster.

I gave you a link above that tells you to find the key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer
and/or
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer

and create a new DWORD value named "RestrictRun" in it.  Set to 1 to enable restrictions detailed below, or to 0 (zero) to disable the restrictions.

It then tells you to create a new sub-key therein named "RestrictRun".

By adding new StringValues named 1, 2, 3, etc, set to the filenames of the programs that you want to retrict, you can apply this retriction either GLOBALLY with the HKEY_LOCAL_MACHINE key, or to the currently-logged-in user by doing this to the HKEY_CURRENT_USER key.

According to all sources, this works in Windows NT, 98, 2000 and XP.

Here's an example of the type of .reg file that could be run to impose the restriction when each user logs in, and also has global restrictions on ActiveDesktop

http://www.library.eku.edu/pandora/reglocking.htm

By creating another .reg file that sets the "RestrictRun" DWORD value to 0, you could quickly enable access to the program files again.

0
 

Author Comment

by:therooster
Comment Utility
Thanks. it was great.
0
 
LVL 38

Expert Comment

by:BillDL
Comment Utility
Thank you, therooster
0

Featured Post

The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now