eleclover Posted May 27, 2009 Share Posted May 27, 2009 Hello, I want to know that which component to remove for disabling the USB storage such as USB flash drive. Thanks much. Link to comment Share on other sites More sharing options...
Sp0iLedBrAt Posted May 27, 2009 Share Posted May 27, 2009 I don't know about nLite, but I came across this article here; it involves changes in the registry, so be careful. (Sorry about the commercials, for some strange reason they can never be left out, and it was not my purpose to advertise.)Maybe it could be done through a reg file, but the article also describes other changes to files as well.P.S. Looking through search, it came to my attention that most users require such a change for domain or company networks, so I hope this is not the case with you, as nLite is not licensed for commercial use. Link to comment Share on other sites More sharing options...
iamtheky Posted May 27, 2009 Share Posted May 27, 2009 (edited) http://www.msfn.org/board/index.php?showtopic=126922We ended up not needing the functionality, but the usbstor.inf/pnf is the 'component' you are looking for. Removal proved far less effective than explicit denies and other usb devices like external cd/floppy drives still function*and i never did figure out how to deploy that custom one unattended. Edited May 27, 2009 by iamtheky Link to comment Share on other sites More sharing options...
Guest Posted June 8, 2009 Share Posted June 8, 2009 (edited) Microsoft provides explicit instructions in KB823732. I do not know the best method to accomplish this in an unattended manner, but it may be easiest to add the following line to nLite.inf in an AddReg section:HKLM,"SYSTEM\CurrentControlSet\Services\UsbStor","Start",0x10001,4It's also possible to create a simple addon to do this with using an entries*.ini file with the following contents:Entries_DisableUSBStor.ini[general];RVMi and nLite codebuilddate=2009/06/08description=Disable USBStor Addontitle=Disable USBStor Addonwebsite=http://www.msfn.org/board/index.php?showtopic=134396[registry_addreg];nLite specific codeHKLM,"SYSTEM\CurrentControlSet\Services\UsbStor","Start",0x10001,4 Edited June 8, 2009 by 5eraph Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now