1、在開始菜單的搜索框輸入“regedit”,打開注冊表>編輯器。在Windows Vista中,如果沒有關(guān)閉 UAC ,運行注冊表編輯器將會觸發(fā) UAC 而彈出提示窗口,
) m3 ^4 `* g& x9 x% j# x6 r<P> 點擊確認。 </P>
1 L2 q1 J" Z& f( ]<P></P>4 Y3 S$ c& p3 P+ z4 A
<P> 2、找到如下注冊表分支,如果該分支不存在,創(chuàng)建之HKEY_LOCAL_MACHINE</P>
8 C% s+ {# d# N+ u<P> \SYSTEM\CurrentControlSet\Control \StorageDevicePolicies,創(chuàng)建名為“WriteProtect”的DWORD(32位)注冊表項,值設(shè)為“1”,如圖1:</P>+ f8 p3 X3 g. R4 u) U# I: }
<P align=center><IMG title=1 alt=1 src="http://info.00083.com/UploadFiles/200802/20080220113356283.jpg" border=0></P>$ h# N5 C" Y8 T# `( Q
<P align=center> 圖1 設(shè)“WriteProtect”值為1</P>% \4 n3 J; w% V' k7 P* M: |
<P> 3、當需要向USB設(shè)備寫入數(shù)據(jù)時,即關(guān)閉對USB設(shè)備的寫保護,重復(fù)上面的操作,將“WriteProtect”值設(shè)為“0”。</P>
% m( p/ |/ B$ \. i; D/ F, o<P align=center><IMG title=2 alt=2 src="http://info.00083.com/UploadFiles/200802/20080220113400255.jpg" border=0></P>
% t" o1 t- @5 c; ]<P align=center> 圖2 設(shè)“WriteProtect”值設(shè)為“0”</P>+ _% s/ z8 u3 H# k5 S& A
<P> 修改完之后,當使用閃盤時插入閃盤,系統(tǒng)會如常顯示出盤符,但是只能讀出閃盤中的數(shù)據(jù)文件,而無法往閃盤中寫入數(shù)據(jù),從而達到防止數(shù)據(jù)外泄的目的。</P> |