登錄檔,對於絕大部分人來說,都是乙個比較陌生的東西。然而,我們的幾乎所有軟體都會在這裡出現。
就最近一次,公司給每個員工的chrome瀏覽器繫結的一堆外掛程式,並且無法刪除。手動刪除外掛程式檔案後,重啟機器又會出現,就像流氓外掛程式一樣。
最可惡的是,有些外掛程式會有一堆bug,導致瀏覽器無法正常使用。
今天,同事寫了乙個檔案(rmchromepolicies.reg),**如下:
windows registry editor version 5.00
[-hkey_current_user\software\policies\google\chrome\pluginsallowedforurls]
[-hkey_current_user\software\policies\google\chrome\enabledplugins]
[-hkey_current_user\software\policies\google\chrome\extensioninstallforcelist]
[-hkey_current_user\software\policies\google\chrome\restoreonstartupurls]
檢視檔案內容,我們可以發現都是和chrome的。這個檔案是用來刪除chrome外掛程式的。使用方法,直接雙擊改檔案即可。但是這個檔案會刪除檔案裡面列的外掛程式
如何新增、 修改或刪除登錄檔子項和值,通過使用.reg 檔案:
類似博文:
遍歷刪除登錄檔
dword deletetree hkey rootkey,const char psubkey nret regqueryinfokey hkey,null,null,null,keycnt,keymaxlen,null,namecnt,namemaxlen,maxdatelen,null,nul...
ADS登錄檔刪除
開啟登錄檔編輯器 win r 輸入 regedit。然後刪除 hkey current user software arm limited arm developer suite hkey local machine software arm limited arm developer suite ...
oracle 登錄檔刪除
1 停止oracle所有的服務 2 執行oracle解除安裝程式 3 修改登錄檔 heky local machine software oracle hkey local machine system currentcontrolset services heky local machine sy...