|This method can be used only on Windows XP Professional Edition.|
1.Open the Group Policy Editor (Start > Run, type in “gpedit.msc” and press [Enter]).
2.Go to User Configuration > Administrative Templates> Windows Components > WindowsExplorer.
3.Here, you’ll find “Hide these specified drives in My Computer” and “Prevent access to drives from My Computer”.
4.The difference between the two settings is that “Prevent access” will allow the user to see the drive icon, but will give an error message when he tries to access it.
5.“Hide” will remove the icon so the user won’t see it, but the drive can still be accessed by using Start > Run and keying in the drive letter.
6.Under this setting, after you click the radio button next to “Enable”, you’ll see several options. Choose the one you want to
apply, for example, “Restrict A and B drivesonly”. You’ll notice that the options here are restricted; you cannot, for example,
choose to restrict drives A, B and D.
And it`s NOT in dos...
Google is your friend