[ 10214 查看 / 14 回复 ]
以下引用cheong00在2006-4-19 23:43:06的发言:reg和inf的做法未必可行. 一來就像樓上說的未必有權限, 再來就是見過有些人把大部份的檔案關聯都刪掉了.再嚴重些的, 有看過一些電腦只可以執行特定的檔案... regedit執行不能...以下是做法:Reg key to restrict applicationsOpen 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"
落日无痕
理昌
以下引用Rinrin在2006-4-20 16:27:42的发言:把要执行的文件改成这个名字不就可以了?