回复:[转][给经常去网吧的朋友看看] -突破网吧管理软件的限制-
reg和inf的做法未必可行. 一來就像樓上說的未必有權限, 再來就是見過有些人把大部份的檔案關聯都刪掉了.
再嚴重些的, 有看過一些電腦只可以執行特定的檔案... regedit執行不能...
以下是做法:
Reg key to restrict applications
Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer]
Create a new DWORD value and name it "RestrictRun" set the value to "1" to enable application restrictions or "0" to allow all applications to run.
Then create a new sub-key called [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\RestrictRun] and define the applications that are allowed. Creating a new string value for each application, named as consecutive numbers, and setting the value to the filename to be allowed (e.g. "regedit.exe").
Restart Windows for the changes to take effect.
For example:
1 REG_SZ "notepad.exe"
2 REG_SZ "regedit.exe"