India Broadband Forum


Tutorial: How to enable USB drives

This is a discussion on Tutorial: How to enable USB drives within the Computer Security forums, part of the Computer technology category; Domain administrators disable USB drives in the company. While there are valid reasons to do so sometimes this is a ...

Go Back   India Broadband Forum > Computers > Computer technology > Computer Security

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 06-13-09, 11:51 AM   #1
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default Tutorial: How to enable USB drives

Domain administrators disable USB drives in the company. While there are valid reasons to do so sometimes this is a genuine problem to many. This step by step guide tells you how to enable USB drives.

This procedure is for Windows/XP only. You need local administrator privileges on your PC.

Note: If you follow the procedure in exact reverse order, you can disable USB drives on your PC.

Step 1: Enable access to USB driver files (.inf/.pnf)
  1. From the 'Start' menu, click on 'Run' (Start --> Run). Enter 'c:\windows\inf'. Click on 'OK'.

    USB-Enable-01.png
  2. The File Explorer will open 'C:\Windows\inf' folder. Do as said in the picture below.

    USB-Enable-02.png
  3. In the properties window, do as stated in the picture below.

    USB-Enable-03.png
  4. Add 'Everyone' to the list.

    USB-Enable-04.png
    USB-Enable-05.png

Step 2: Enable USB in registry
(Continues in next post ...)
__________________
*** Never argue with an idiot ***


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

-------------------------------------------------------------------------------------------
just4kix is offline   Reply With Quote
Old 06-13-09, 11:52 AM   #2
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default How to enable USB drives - Part 2

Step 1: Enable access to USB driver files (.inf/.pnf)
(... from previous post)

Step 2: Enable USB in registry
Now that you have enabled the access to the USB drivers, the next step is to enable the USB access in the windows registry.
  1. From the windows 'Start' menu, start the 'regedit' program
    (Start --> Run --> regedit --> <ENTER>)
  2. From the registry editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\SERVICES as shown in the picture below.

    USBSTOR-01.png
  3. Open the key 'USBSTOR'

    USBSTOR-02.png
  4. Check the value of the 'Start' key. It should be '3'. If the value is not '3', double click it to edit its value.

    USBSTOR-03.png
  5. Set the value as '3' and click 'OK'.

    USBSTOR-04.png
You are all set now.
just4kix is offline   Reply With Quote
Old 06-13-09, 12:05 PM   #3
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

Please rate this article. Repo's not expected.
just4kix is offline   Reply With Quote
Old 06-13-09, 01:16 PM   #4
Gold Member
 
Join Date: Jun 2008
Location: Where I am
Posts: 579
Rep Power: 5
sujithsukrutham is just really nicesujithsukrutham is just really nicesujithsukrutham is just really nicesujithsukrutham is just really nice
Send a message via Yahoo to sujithsukrutham
Default

Good info but normally in domain environment users may may not have local administrator privileges.
sujithsukrutham is offline   Reply With Quote
Old 06-13-09, 06:39 PM   #5
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

Yes and No.

I work in a corporate. But I do have admin rights on my laptop. Every day USB gets disabled on my laptop.
just4kix is offline   Reply With Quote
Old 06-13-09, 07:06 PM   #6
Gold Member
 
Join Date: Jun 2008
Location: Where I am
Posts: 579
Rep Power: 5
sujithsukrutham is just really nicesujithsukrutham is just really nicesujithsukrutham is just really nicesujithsukrutham is just really nice
Send a message via Yahoo to sujithsukrutham
Default

In gpedit.msc also some settings to block removable data storage devices. not remebering.
sujithsukrutham is offline   Reply With Quote
Old 06-13-09, 08:51 PM   #7
meetdilip
Guest
 
Posts: n/a
Default

Good one

Rated
  Reply With Quote
Old 06-13-09, 10:23 PM   #8
Platinum Member
 
Mr.Tooth Fairy's Avatar
 
Join Date: Aug 2008
Location: oral cavity:D
Posts: 1,546
Rep Power: 5
Mr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura aboutMr.Tooth Fairy has a spectacular aura about
Default

Ek dum 5 ***** rated thread..kixxi...
Mr.Tooth Fairy is offline   Reply With Quote
Old 06-13-09, 11:43 PM   #9
kirankumargb
Guest
 
Posts: n/a
Default

Good info kix. .. keep them coming
  Reply With Quote
Old 06-14-09, 11:18 AM   #10
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

As stated above, there are two steps. No one asked the importance or utility of step 1.

Step 2 is enough to enable (or disable) USB. So why do domain admins also do?

They disable the access to the drivers. Usually all USB drives are PnP (plug and play). When a USB stick is inserted into the USB port, Windows checks for the associated and the correct driver file for the device. It will go to USBSTOR.inf and USBSTOR.pnf to discover the device driver.

Now if the access to the two files is disabled for the logged in user, then the driver for the USB device cannot be loaded, let alone enabled or disabled. That is why it is important to grant the access to those files.

Scenarios
a) You had two USB drives - one made by Transcend and other by Kingston.
b) Your PC is domain controlled in your office
c) The domain admin continuously run remote scripts on your machine thereby disabling .inf/.pnf access and disable USB in registry.
d) You have admin rights on PC

Scene 1: You insert the Transcend drive the VERY FIRST time
a) You do not follow step 1 and step 2. Result: FAILURE. Your drive will NOT be usable.
b) You do not follow one or both of the steps. Result: FAILURE. Your drive will NOT be usable.
c) You follow step 1 and step 2. Result: SUCCESS. Your drive will be usable.

Scene 2: You insert the Transcend drive next time
a) You do not follow step 1 and step 2. Result: FAILURE. Your drive will NOT be usable.
b) You follow step 1 but not step 2. Result: FAILURE. Your drive will not be usable.
c) You do not follow step 1 but follow step 2. Result: SUCCESS. Your drive will be usable. This is because the actual driver file (.sys) is already loaded in the \windows\system32 folder.
d) You follow step 1 and step 2. Result: SUCCESS. Your drive will be usable.

Scene 3: You insert the Kingston drive the first time
a) You do not follow step 1 and step 2. Result: FAILURE. Your drive will NOT be usable.
b) You follow step 1 but not step 2. Result: FAILURE. Your drive will not be usable. But the driver file will be loaded in the \windows\system32 folder.
c) You do not follow step 1 but follow step 2. Result: MIXED. If the actual driver file (.sys) is already loaded in the \windows\system32 folder then your drive will work, else not.
d) You follow step 1 and step 2. Result: SUCCESS. Your drive will be usable.
just4kix is offline   Reply With Quote
Old 06-14-09, 10:17 PM   #11
Platinum Member
 
whitestar_999's Avatar
 
Join Date: Jan 2008
Location: UP(west)
Posts: 1,971
Blog Entries: 1
Rep Power: 3
whitestar_999 will become famous soon enough
Default

the reason for mixed failure in case of some pen drives is that when you first use an USB on any computer then just for that first time windows initiate a new hardware found wizard to load particular driver file for that drive.once this process is over whenever you will insert that pen drive again step 1 is not necessary.you can see it by opening usbstor.inf file in notepad.it is also possible to remove a selected drive,say,sony by deleting particular lines from this inf file before any sony drive has ever been connected to the PC & after doing this i think even after doing step 1&2 you won't be able to use sony drive on that particular PC.also to further complicate the matters one can assign special domain level write privileges on this inf file to restrict user from editing this inf file even if they do have admin rights on their PC.

P.S.how about giving this suggestion to your network admins just4kix!just kidding
whitestar_999 is offline   Reply With Quote
Old 06-15-09, 10:17 AM   #12
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

@whitestar_999, regarding your suggestion. You must be kidding big time.
just4kix is offline   Reply With Quote
Old 06-15-09, 10:34 PM   #13
Platinum Member
 
whitestar_999's Avatar
 
Join Date: Jan 2008
Location: UP(west)
Posts: 1,971
Blog Entries: 1
Rep Power: 3
whitestar_999 will become famous soon enough
Default

don't worry just4kix!i don't think any network admin is going to take so much trouble unless he has a grudge towards pen drives.anyway just keep my previous post handy.who knows you might need it yourself in near future?
whitestar_999 is offline   Reply With Quote
Old 06-19-09, 04:24 PM   #14
Gold Member
 
Logik's Avatar
 
Join Date: Jan 2008
Location: On Internet
Posts: 680
Rep Power: 5
Logik is a jewel in the roughLogik is a jewel in the roughLogik is a jewel in the roughLogik is a jewel in the rough
Send a message via MSN to Logik Send a message via Yahoo to Logik
Default

hey i just checked manufacturers list in usbstor.inf & there was no name for transcend or kingston. i assume this list inserted by windows. then how come it allows other drives like transcend or kingston? i was expecting their names atleast somewhere in whole .inf.
Logik is offline   Reply With Quote
Old 06-19-09, 04:56 PM   #15
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

For unlisted drives, it first load the generic USB driver and then searches the proper driver in the special (system) folder of the USB stick.
just4kix is offline   Reply With Quote
Old 08-06-09, 11:41 AM   #16
Bronze Member
 
Join Date: Jul 2009
Age: 25
Posts: 282
Rep Power: 1
Vasundra is on a distinguished road
Default

Nice piece of work alongwith screenshots good job
Vasundra is offline   Reply With Quote
Old 09-14-09, 05:06 PM   #17
Junior Member
 
inba's Avatar
 
Join Date: Oct 2008
Location: chennai/pondicherry
Posts: 55
Rep Power: 2
inba is on a distinguished road
Default

@just4kix

The steps which u mentioned is the exact process what i'm doing in our office. nice and surprised to see it posted here. really usefull tips for many.

P.s: the step 2 is not necessary in my company.(enabling in registry). i only do the step 1 and get the access.
inba is offline   Reply With Quote
Old 09-15-09, 04:15 PM   #18
Gold Member
 
imrock's Avatar
 
Join Date: Sep 2008
Posts: 748
Rep Power: 3
imrock will become famous soon enoughimrock will become famous soon enough
Default

good info j4k.............
u rock!
imrock is offline   Reply With Quote
Old 10-05-09, 11:46 AM   #19
Platinum Member
 
just4kix's Avatar
 
Join Date: Dec 2007
Location: Pune
Posts: 8,899
Blog Entries: 6
Rep Power: 19
just4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to beholdjust4kix is a splendid one to behold
Default

Sometimes, inspite of the above methods, a new USB mass storage device cannot be installed. This is because access to 'usbstor.inf / usbstor.pnf' has been permanently disabled. No amunt of admin priveleges can make the access possible.

In this case, login in safe mode as local administrator. Plug in the device. You should now be able to install the new USB device.
just4kix is offline   Reply With Quote
Old 10-07-09, 03:05 PM   #20
Gold Member
 
talktoanil's Avatar
 
Join Date: May 2008
Location: Dombivi
Age: 25
Posts: 587
Rep Power: 2
talktoanil will become famous soon enough
Default

best way is Bribe your admin :P
talktoanil is offline   Reply With Quote
Reply

Tags
drives, enable, tutorial, usb

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
A warning to all seagate hard drives users and buyers The Sorcerer Desktop Computer 50 07-11-09 03:30 PM
how to raid hard drives sruthinmn Windows 13 01-09-09 10:48 PM
How to Hide the drives(c:,d:,e:,a:...etc) in My Computer smoothvibes Computer hardware and software tips and tricks 1 10-27-08 12:34 AM
Laptop Flash Drives faces major problems Guest News from the Tech and IT World 0 09-06-08 12:51 PM
LF-MB121JD: Matsushita Electric Blu-Ray drives coming in June India Broadband Internet News from the Tech and IT World 0 04-22-06 06:03 AM


All times are GMT +5.5. The time now is 09:42 PM.


India Broadband Forum