regini.exe用腳本修改注冊(cè)許可
用expand.exe命令提取regini.exe:%SystemRoot%System32EXPAND.EXE "?CDROM0I386regini.ex_" "C:regini.exe"
使用方法
先打開(kāi)regedit.exe,以便觀看每步產(chǎn)生的變化,將如下內(nèi)容復(fù)制到記事本中,保存為example01.txt、example02.txt文件,然后用如下命令:
REGINI.EXE example01.txt REGINI.EXE example02.txt ::::::: example01.txt :::::::::: 不要復(fù)制我,我是分割線開(kāi)始 :::::::::::::::::::: HKEY_CURRENT_USERexample0 HKEY_CURRENT_USERexample0 "example1" = REG_DWORD 1 HKEY_CURRENT_USERexample0 "example2" = REG_SZ "This is an example!" HKEY_CURRENT_USERexample0 "example3" = REG_MULTI_SZ "This is the first line!" "This is the second line!" "This is the third line!" HKEY_CURRENT_USERexample0 "example4" = REG_EXPAND_SZ "This is an example! This is an example! This is an example! This is an example! This is an example!" ::::::: example01.txt :::::::::: 不要復(fù)制我,我是分割線結(jié)束 :::::::::::::::::::: ::::::: example02.txt :::::::::: 不要復(fù)制我,我是分割線開(kāi)始 :::::::::::::::::::: HKEY_CURRENT_USERexample0 [2 8 19] ::::::: example02.txt :::::::::: 不要復(fù)制我,我是分割線結(jié)束 :::::::::::::::::::: 修改第一個(gè)腳本,再運(yùn)行試試: REGINI.EXE example01.txt 沒(méi)反應(yīng),看來(lái)已經(jīng)起作用了,鍵值變成只讀的了!
權(quán)限代碼表
1 - Administrators 完全訪問(wèn) 2 - Administrators 讀取訪問(wèn) 3 - Administrators 讀取、寫入訪問(wèn) 4 - Administrators 讀取、寫入、刪除訪問(wèn) 5 - Creator 完全訪問(wèn) 6 - Creator 讀取、寫入訪問(wèn) 7 - everyone 完全訪問(wèn) 8 - everyone 讀取訪問(wèn) 9 - everyone 讀取、寫入訪問(wèn) 10 - everyone 讀取、寫入、刪除訪問(wèn) 11 - Power Users 完全訪問(wèn) 12 - Power Users 讀取、寫入訪問(wèn) 13 - Power Users 讀取、寫入、刪除訪問(wèn) 14 - System Operators 完全訪問(wèn) 15 - System Operators 讀取、寫入訪問(wèn) 16 - System Operators 讀取、寫入、刪除訪問(wèn) 17 - System 完全訪問(wèn) 18 - System 讀取、寫入訪問(wèn) 19 - System 讀取訪問(wèn) 20 - Administrators 讀取、寫入、執(zhí)行訪問(wèn) 21 - Interactive User 完全訪問(wèn) 22 - Interactive User 讀取、寫入訪問(wèn) 23 - Interactive User 讀取、寫入、刪除訪問(wèn)