Tip & How-To about Microsoft Windows XP Professional for PC

How to disable usb mass storage in windows xp

To disable usb ports we have to do some registry settings and change the key to 4.


"Warning : Serious problems might occur if you modify the registry incorrectly by using Registry editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. If a USB storage device is already installed on the computer"

Follow these steps:

1: Start the registry editor from start menu by typing regedit in Run dialog box.

2: Navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/UsbStor

3: In the right pane, double-click Start.

4: In the Value data box, type 4(if 3 is there,change the value 3 to 4), click Hexadecimal (if it is not already selected), and then click OK.

6. Quit Registry Editor.

When you do so, the USB storage device does not work when the user connects the device to the computer.

Posted by on

Microsoft Windows XP Professional for PC Logo

Related Topics:

Related Questions:

1 Answer

remove write protection


This could be a Windows Registry setting that disables you from writing to your flash drive (or formatting it). If you are running Windows after Win XP SP2, you can change that setting.

To disable the write protection:
    1.From the Start menu, click "Run", type "regedit", and press <Enter> or click <OK>.
    2.Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies.
    3.Double click on "WriteProtect" and change the value to 0 (WriteProtect = 0 for disabled; 1 for enabled).
    4.Close the registry editor and restart Windows.
    5.After Windows starts, test writing to your USB drive.

    Important Note:
    Serious problems might occur if you modify the Windows registry incorrectly. **PLEASE** make sure that you follow these steps *exactly* and *carefully*. For added protection, back up the registry before you modify it in case you have trouble so it can be restored.
    For more information about how to back up and restore the registry, follow the steps as in the KB Article: http://support.microsoft.com/kb/322756/

Apr 27, 2014 | SanDisk Cruzer Micro 8GB USB 2.0 Flash...

1 Answer

Sandisk 16gb memory stick is in write protected


This could be a Windows Registry setting that disables you from writing to your flash drive (or formatting it). If you are running Windows after Win XP SP2, you can change that setting.
To disable the write protection:
    1.From the Start menu, click "Run", type "regedit", and press <Enter> or click <OK>.
    2.Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies.
    3.Double click on "WriteProtect" and change the value to 0 (WriteProtect = 0 for disabled; 1 for enabled).
    4.Close the registry editor and restart Windows.
    5.After Windows starts, test writing to your USB drive.
    Important Note:
    Serious problems might occur if you modify the Windows registry incorrectly. **PLEASE** make sure that you follow these steps *exactly* and *carefully*. For added protection, back up the registry before you modify it in case you have trouble so it can be restored.
    For more information about how to back up and restore the registry, follow the steps as in the KB Article: http://support.microsoft.com/kb/322756/

Feb 12, 2014 | SanDisk Electronics - Others

1 Answer

Laxar USB blocked


This could be a Windows Registry setting that disables you from writing to your flash drive (or formatting it). If you are running Windows after Win XP SP2, you can change that setting.
To disable the write protection:
    1.From the Start menu, click "Run", type "regedit", and press <Enter> or click <OK>.
    2.Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies.
    3.Double click on "WriteProtect" and change the value to 0 (WriteProtect = 0 for disabled; 1 for enabled).
    4.Close the registry editor and restart Windows.
    5.After Windows starts, test writing to your USB drive.
    Important Note:
    Serious problems might occur if you modify the Windows registry incorrectly. **PLEASE** make sure that you follow these steps *exactly* and *carefully*. For added protection, back up the registry before you modify it in case you have trouble so it can be restored.
    For more information about how to back up and restore the registry, follow the steps as in the KB Article: http://support.microsoft.com/kb/322756/

Jan 18, 2014 | Electronics - Others

1 Answer

How can I unlock memory card or remoove the write-protection


This could be a Windows Registry setting that disables you from writing to your flash drive (or formatting it). If you are running Windows after Win XP SP2, you can change that setting.
To disable the write protection:
    1.From the Start menu, click "Run", type "regedit", and press <Enter> or click <OK>.
    2.Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies.
    3.Double click on "WriteProtect" and change the value to 0 (WriteProtect = 0 for disabled; 1 for enabled).
    4.Close the registry editor and restart Windows.
    5.After Windows starts, test writing to your USB drive.
    Important Note:
    Serious problems might occur if you modify the Windows registry incorrectly. **PLEASE** make sure that you follow these steps *exactly* and *carefully*. For added protection, back up the registry before you modify it in case you have trouble so it can be restored.
    For more information about how to back up and restore the registry, follow the steps as in the KB Article: http://support.microsoft.com/kb/322756/

Nov 18, 2013 | Electronics - Others

Not finding what you are looking for?

1,550 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2658 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18389 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...