Want to Do Mass Storage Block In windowsCE for Apalic IMX6 Board

I want to disable USB write protection in Apalix IMX6 board with Windows CE can you please give the procedure.

What do you mean with “USB write protection”? Do you need to write to an USB device connected to your imx6 module or you want to expose local storage via USB mass-storage protocol to a PC?

Hi i just want to block the access to usb devices like pendrives it should only detect the keyboard & mouse,when i want to modify the files related to usb devices it is showing access denied,kindly suggest what to do to get the access for OS related files
Iam unable to modify any OS related files it is giving an error access denied or write protection.

If you want to prevent USB mass storage devices from being recognized you can change
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
“DLL”=“USBMSC.DLL”

to

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_Class]
“DLL”="_USBMSC.DLL"

Thank you its done