How to enable USB support in BIOS on your PC? Closing access to USB flash drives Favorites
It is often necessary to limit the paths through which programs that are not intended for security at all, and even interfere with or harm the operation of the security system, get onto a computer with a security system.
These can be the most harmless games or the most malicious viruses. In any case, their presence is undesirable. The most common way to transfer viruses and games is to simply USB flash drive or any other USB drive. In order to limit the use of any USB drives and still be able to connect a management-approved USB storage device, use the following information:
Given:
- Production operators computer (OC Windows7)
- Management-approved USB flash drive for transferring data from industrial computers to operators' computers
Required:
Provide Connection only one management-approved USB flash drive, while prohibiting the connection of other, unapproved ones.
Solution progress:
Can be turned off completely using USB drives using the instructions, but in our case this method is not suitable, because one flash drive should still work. So we will do it differently:
So, step by step (of course, you need to have local administrator rights):
- Win+R(analogous to Start -> Run), regedit.
- . This key stores information about all USB drives ever connected.
- We give ourselves full access to USBSTOR(right mouse button -> Permissions, check the box Full access at the group ALL).
- Deleting all content USBSTOR.
- We connect the approved flash drive and make sure that it has been identified. Inside USBSTOR the type key should appear Disk&Ven_JetFlash&Prod_TS4GJF185&Rev_8.07 (F5 to refresh the list).
- Right click again USBSTOR, Permissions. We remove Full access at the group ALL, we reserve the right to read.
- The same rights must be assigned to the user SYSTEM, but this cannot be done directly. First you need to press the button Additionally, uncheck Inherit from parent object..., in the window that appears Safety say Copy. After pressing the button again "OK" user rights SYSTEM will become available for modification.
- To fix the effect, press the button Additionally again and mark the point Replace permissions for all child objects... Confirm execution.
What did we achieve in the end?
An approved flash drive connects and disconnects without problems. If an unauthorized person tries Windows connections will detect the device, but will not be able to install it, giving a connection error. Moreover, in USBSTOR it will be created new key, which will clearly indicate an attempt to connect an unapproved USB storage device.
In this article we will figure out how to connect Android to a computer/laptop via USB as a flash drive and be able to transfer information without using a classic flash drive.
This article is suitable for all brands that produce phones on Android 9/8/7/6: Samsung, HTC, Lenovo, LG, Sony, ZTE, Huawei, Meizu, Fly, Alcatel, Xiaomi, Nokia and others. We are not responsible for your actions.
Before Android 4.4 KitKat, it was possible to connect via USB as a flash drive. The PC saw the device as removable disk and provided the same rights: the user could also perform other actions.
Then in new versions of Android USB mode was replaced by MTP, in which only the data transfer function remained, and the same formatting did not work.
Setting up a USB connection
To manage the connection to a computer via USB, you need. To do this, add to the settings Android section“For developers” (if it doesn’t exist):
- Open settings.
- Go to the "About phone" or "About device" section.
- "Build number" or "MIUI version".
- Press (click) on this item until you see a message that you have become a developer (usually 7-10 clicks are enough).
After the developer section appears in the settings, you can enable USB debugging. The item is called that way, so you just need to move the slider to the “On” position and confirm the resolution.
![](https://i1.wp.com/androproblem.ru/wp-content/uploads/2018/07/1_s2nbjm.jpg)
Now you can connect the device to your computer via USB and select the operating mode. In recent Android versions the most used are:
- MTP - transfer any files from computer to phone and vice versa.
- PTP - transfer of photos, as well as transfer of files not supported in MTP mode.
- Charging only.
Connecting in USB storage mode
If you can't get used to using the media player, go back to using USB storage mode. For this you will need:
- Installed USB program MASS STORAGE Enabler.
This method may cause damage system files. In this case, you will have to reflash Android.
To connect Android to your computer as a drive:
- Launch USB MASS STORAGE Enabler.
- Grant superuser rights and agree to change how Selinux works.
- If the device is supported, the main application menu will open.
- Click "Enable USB MASS STORAGE".
![](https://i1.wp.com/androproblem.ru/wp-content/uploads/2018/07/2-1_mcapka.jpg)
Now, when connected to a PC, the phone or tablet will appear as a drive. To connect in MTP or PTP mode, just restart the device. Once you're done with mass storage mode, go back into the app and disable USB MASS STORAGE.
This happens when USB ports on the computer stop working. In this article we will look at common reasons that lead to such a problem, and ways to solve it. The very first thing you can do is restart your computer, since common problems with USB ports are due to an error in the driver. If this method does not help, move on.
Perhaps the settings in the BIOS have gone wrong motherboard. If the corresponding USB controller is disabled for some reason, it must be enabled. When you start the computer, press the Del or F2 key to enter the BIOS. Next, in the Integrated Peripherals or Advanced section, we will find a similar item on the USB Controller and see what position it is in (Enabled - enabled, Disabled - disabled). So, if you have the Disabled mode set, change it to the opposite. To save the changes, press the F10 key and agree by pressing YES. After the reboot, the ports should work, if that doesn’t help, then follow the steps below.
Reasons why USB ports on a PC do not work:
- Any faulty USB device: I recommend turning on the computer, having first disconnected everything (mouse, keyboard, printer, webcam, etc.). Leave only one working flash drive. If the flash drive starts working when you start the computer, then the peripheral devices are to blame. You can determine which one is faulty by connecting it to the computer one by one.
- ports may not work due to faulty software code. Go to the “Task Manager”.
Look carefully in the “USB Serial Bus Controllers” section if you have a device with exclamation mark, then this indicates that it is not working properly. Double click mouse to open it, and in the window you can read information about the fault.
- Alternatively, you can remove all controllers responsible for USB, and then reboot the system. After launch, Windows will automatically install them again. After this, it is likely that the USB ports will work.
- If the problem with the ports is due to a failure in program code, then you can try to restore the operating system, that is, roll it back to the latest control point. Go to the Start menu - Control Panel. Here we find the “Recovery” section.
Next, click the “Start System Restore” button. A recovery window will open and following the prompts you can roll back the system.
- Also, a similar problem may occur due to the lack of a driver for the motherboard chipset. In this case, you need to enter this data on the manufacturer’s website. After downloading and installing the driver, you should restart your computer.
- To make sure the problem is in the system or hardware, you can boot from any Live CD. If after booting from such a disk/flash drive the ports work, then the problem is clearly in the operating system and there is only one way out - reinstall Windows. If in virtual system USB doesn't work, then the problem is in the hardware. In this case, we do what is written below.
There was a case with one of my friends when they stopped working usb ports. Replacing the 3-volt battery on the motherboard solved this problem.
- Alternatively, you can update the BIOS. This solution helps many users. To update the BIOS, go to the official website of your motherboard manufacturer and in the “Download” section find latest version BIOS. There you will find detailed instructions by update.
- If you experience frequent problems with USB ports, I recommend installing a PCI-USB controller. A good thing that will be independent of your built-in ports.
- The last option is to have your PC repaired, where professionals will probably make an accurate diagnosis.
That's all, friends! Thank you for your attention!
Sandbox
Near the rector March 12, 2013 at 2:37 pmQuickly and easily disable USB ports on Win7 part 2
In the previous article I wrote how inexperienced user disable USB ports using group policies. However, I forgot that different versions OS Windows 7 contains various features.
Please note that I am not talking about installing an additional free software, because I know from experience that closing a hole with free software risks opening five more. I suggest using the built-in OS functions.
I know from experience that in order to save money, small companies install such versions of “Home Basic” or “Home Premium” on their staff’s machines (well, they only install this if the company is trying to work legally and does not want a fine for illegal software. And those companies that are not afraid of inspections then install All pirated software and do not suffer))).
And on the “Home Basic” and “Home Premium” versions there are no accessories inherent to their older brothers. And close the ports within our means group policies it won't work. Therefore, we need to block access directly to the executive files that initiate the initialization of devices connected to USB ports.
Let's say that there are 3 users on the machine, “Operator”, “Manager” and “Administrator” in the Administrators and Users groups
It is necessary to make sure that the flash drive can only be used by a user under the “Administrator” account.
Turn on the computer, log in as an administrator, open Explorer and write "%SystemRoot%\inf\"(hereinafter in the text copy without quotes).
Next in the search we write “USB”
Will output approximately 18 elements. (depends on what system is installed, OS version, installed additional drivers for USB)
We essentially only need 8 files.
usb.inf
usbstor.inf
usbport.inf
winusb.inf
usb.PNF
usbstor.PNF
usbport.PNF
winusb.PNF
Then we need to block access to these files to other users. Right click on the file "usbstor.inf" -> "properties"
Go to the tab "safety", and press the button "change"
Then we select the users we need to disable. For us these are “Operator”, “Manager” and “System”. If we need to disable all accounts that belong to the “Users” group (these are “Operator” and “Manager”), then we simply ban the group. If only a specific one, let’s say “Operator”, then select this particular account.
Attention account“System” also needs to set a ban on using the file.
Then we set a ban on use, switch to another user and also set bans. When required users will be disabled (for me it is only “system” and “users”)
click the “Ok” button
There will be a warning that this will lead to the fact that access to the file will be unavailable and all that (if you want, you can read it), click the “Ok” button again.
Again we read the message about whether we really want to do this (you can read it if you wish), and press the “OK” button again.
And we repeat this procedure for the next 7 files.
usb.inf
usbport.inf
winusb.inf
usb.PNF
usbstor.PNF
usbport.PNF
winusb.PNF
If this is only an installed OS, then everything is in order and, in theory, access to the flash drive will not be available to selected users. However, if flash drives were already connected to this system by those users who needed to disable access to flash drives, then you will need to change the key in the registry.
Click start -> write regedit -> open the registry
Open the folder “USBSTOR”
and change the value of the “Start” parameter to 4
Tags: disable, USB ports, flash drive
(the computer is facing you). On the motherboard, look for small yellow or blue connectors, usually located at the bottom.
Each such connector has two rows of pins (needles): there are five in one row, four in the other. Let's call the left or right side of the connector, where both pins are, side "A". The second, with one pin – “B”.
The five pins, starting at side "A", are labeled as follows (in sequential order): VCC1 +5V, Data -, Data +, Ground 1, NC.
The last pin - NC - is not used.
The four pins of the second row, starting from side “A”, are labeled as follows (sequentially): VCC2 +5V, Data -, Data +, Ground 2. There is no fifth pin (pin) in this row.
Consider the connector at the end of the cable coming from the USB port. It should have the following inscriptions: VCC1, Data 1 -, Data 1 +, Gnd 1. The inscriptions may differ slightly, but it’s easy to figure out - the first socket under the pin always says VCC or +5 V, the last one is Ground or GND.
In most cases, connector wires have standard colors:
+5V red
Data - white
Data + green
GND black
Connect the connector of the cable coming from the USB port to the socket on the motherboard to a row of five pins. The first, on the “A” side, should be connected to VCC1 +5 V. The fourth should be Gnd 1. The last fifth pin remains free. In the second row next to it the pin is missing.
To simplify the connection, special adapters can be used, eliminating the possibility incorrect connection. They fit into on-board connectors, usually blue, that have a small collar and a key, and allow the adapter to be connected in only one way.
The pins on such an adapter are designated as +5V, P2-, P2+, GND. If you have such an adapter (they may come with motherboard), connect the cable connector to it according to the marking, then insert the adapter into the socket on the motherboard.
Connecting everything USB ports, close the side cover. If you are still not entirely sure of the correct connection, then after turning on the computer, connect a mouse with a USB connector to the front port. If it works normally, then everything is connected correctly and you can safely connect flash drives and other equipment.
Sources:
- how to connect the front
The USB port (Universal Serial Bus) was not originally intended to connect a mouse or keyboard, since the computer has separate inputs for this (most often ps/2). However, in order to reduce the size and increase versatility, the USB port is increasingly used as the only option for connecting low- and medium-speed devices. external devices, including mice.
Instructions
Insert the connector of the device's connecting cable into the corresponding connector on the computer case - as a rule, this is quite enough to connect a USB mouse. If this is a desktop computer, then it is better to use the connector on the rear panel to leave a slot on the front panel free for frequently plugged and unplugged USB devices. After you insert the plug into the connector, the operating system will automatically recognize the new device and select a driver for it from its database. If the OS cannot do this or if your mouse has some special properties that require additional installation software, then use the disk included with the mouse to install it. If such a disk is missing, download necessary files from the manufacturer's website.
In your computer's BIOS, enable the option to recognize a USB mouse at the computer startup stage, if after installing the device. To do this, initiate a restart of the computer and log into BIOS settings- most often you will need to press the delete or f2 key when the corresponding prompt appears in the lower left corner of the screen. Depending on installed version basic system I/O required setting can be located in different sections of the settings panel, but most often you need to look for it in the advanced or integrated tabs. The installation itself can also be named differently - for example, USB Mouse Support. Usually the default value here is auto - replace it with enable. Then exit the settings panel, saving the changed settings. After the next boot of the computer, the mouse should be recognized by the system.
Start by connecting the adapter to a USB port and installing its software, if necessary. wireless mouse. In this case, immediately after connecting, the operating system will also try to independently detect the new device and select the corresponding driver. If something goes wrong, you will have to do it yourself, as described in the first step. After installing the adapter, turn on the mouse, first making sure that the battery is installed in it.
A mouse is a computer manipulator designed to control the cursor in a graphical interface. operating system. Not often, but there is a need to have two such devices running on the same OS. For example, this may be needed if you want to use a special “gaming” mouse with increased accuracy, and in other programs switch to normal.
Instructions
Determine through which port the main mouse is connected - the choice of the type of the second such manipulator depends on this. If you work for desktop computer with the usual system unit Most likely, the PS/2 socket on its rear panel is used for this - the motherboard connectors are routed there. The plug of this standard has a cylindrical shape with several pins inside.