Mujhe USB enable/disable karne k lye BAT file ka source code chahiye.
k mein kis tarah bat file se usb enable ya disable kar sakta hon
Mujhe USB enable/disable karne k lye BAT file ka source code chahiye.
k mein kis tarah bat file se usb enable ya disable kar sakta hon
USB ko enable/disable kernay aap ka kya matlab hai? Kya aap USB ko write protect kerna chahtey hein? Thori si tafseel betein.
This is how disableUSBdrives.bat is set up:
@echo off
cls
regedit /s \\servername\disableUSB\Subinacl\dword4.reg
\\servername\DisableUSB\Subinacl\subinacl.exe /keyreg \system\currentcontrolset\services\usbstor /deny=system
pause
cls
echo.
echo **USB drives disabled**
echo.
Pause
*the path will differ of course. \\servername is just an example.
Bhai jan mai apny stand alone pc pe usb enable/disable krna chahta hn, bat file k sath.........
jo code ap ne dya hay es se nai ho rhi...............
Plz send me any other batch source code for this if u have,,,,,,,,, plz.
Thanks..........
ap Usb ko Disable karny ky liey is Location par jayein "My Computer Propertien>>HARDWARE>>>DEVICE MANAGER>>>PHIR List mein sy Usb Hub par Right click kr ky DIsable kr dein ...
Or jab enable karna ho to Right click kr k Enable kr dien,,that,s it..ok
Sir plz i need a batch file script for enable/disable USB drive..................
Its only for education purpose.........................
I also have a software for enable/disable usb drive but i want to know script for this file. How a bat file work for changing in regedit keys.............
if any one know bat script plz reply me............
thanks a lot...........................
Bookmarks