Jump to content

Administrator Interface


LiquidNitrogen
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...