Jump to content

Recommended Posts

Posted (edited)

This is a Simple "Application Blocker" for Your Computer. I think its Quicker to Use than the Windows UAC or Whatever.

#NoTrayIcon
MsgBox(0, "Ok", "Your Administrative Interface Is Now Active.")
While 1
$App = IniReadSection("interface.ini", "APPS")
For $i = 1 To $App[0][0]
If ProcessExists($App[$i][1]) Then
ProcessClose($App[$i][1])
MsgBox(16, "Access Denied!", "You Are Restricted From Using This Application. Contact the Administrator for Usage.")
Sleep(2000)
EndIf
Next
WEnd

To Use it You Need to Make a INI File that Looks Like this:

[APPS]
1=Process Name of Application 1
2=Process Name of Application 2
...

Then Put that in the Folder With the Script.

Edited by ReaperX

Formerly ReaperX

Posted

I'd add a little sleep in that loop if I were you.

But If I were a person hindered by it, I'd probably just end the process.

Yeah. That's the Only Bad Part. I Originally Made it Just for Family Members that Wouldn't Know about Processes and Stuff.

Formerly ReaperX

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...