Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable & Disable floppy device

Status
Not open for further replies.

omegabeta

Programmer
Aug 20, 2003
148
RO
Hi,

I want to disable the floppy device by soft and enable&disable by a .bat file like this:

EnableDisable.exe 'activate the floppy
MyApplication
EnableDisable.exe 'desactivate the floppy

The idea is: the device must be activated only for the application then must be disabled.
Can someone give me an .exe file that can do that ?

P.S. Is it possible to do this using VBScript/JScript ?

Thanks in advance.
 
Well, yes.

The Win NT Resource Kit includes floplock as a service. It I believe will do exactly what you want. (The service has not changed essentially is subsequent reskit distributions).


Restricting Access to Floppy Drives
By Troy Thompson, MCSE+Internet

Floplock is a service that can be used to limit floppy disk drive access to Administrator Group accounts for Windows NT Server or Administrator and Power User Group accounts for Windows NT Workstation. When the Floplock service is installed and started, only those users in the groups mentioned above have access to the computer's floppy disk drives. To install the Floplock service, you must use the Service Installer tool (Instsrv.exe) that comes with the Windows NT Resource Kit.

1.
Install Instsrv.exe and Floplock.exe from the Windows NT Resource Kit.

2.
At the command prompt, type the following commands:

cd\<folder name>

instsrv <service name> <drive>:\<folder name>\floplock.exe
where <service name> is the name you specify for the Floplock service, <drive> is the drive letter in which the Windows NT Resource Kit is installed, and <folder name> is the folder in which the Windows NT Resource Kit is installed.


If you want the Floplock service to start automatically when you log on to Windows NT, change the setting to Automatically via the Service icon of the Control Panel.

You can remove the Floplock service by typing

Instsrv <service name> remove

at the command prompt, where <service name> is the name you specify for the Floplock service from the command prompt.

Direct download source for the floplock service utility:
 
Hello!!

I want to disable Floppy and CDROM access for all pcs across my network. How can i do this using windows xp pro?

I have already locked write access to usb storage devices, but want to completely close the door by establishing these rules.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top