How to make a batch file react to the opening of an .exe file?

potatotrain

Honorable
Sep 11, 2013
2
0
10,510
so basically, i'm getting annoyed at my other siblings always playing on the games i buy for myself, and i'm looking for a way to make a batch file activate every time they attempt to open my games (eg. minecraft, the witcher 2 etc.) and if there would also be a way to make a password so i can play my games after i enter my password?


I'm absolutely terrible with script-writing, so any help is welcome, but could people also please keep in mind i may need some one to write the batch file for me? :)

thankyou in advance, new member potato.
 
Solution


Remove their admin privs. If absolutely necessary for them to use that machine, just give them regular user accounts.
I am going to assume that your brother has access to an admin account in the computer.

With an admin account, he can do whatever he want with the computer.

Changing file/folder permission will not work because he can give himself permission.

The only way to stop him is to password protect your files.

I recommend using a password-protected virtual partition.

http://www.youtube.com/watch?v=4mAQq2O-V1c

1. Mount the partition (password required)

2. Install games into that partition. Play games. Whatever.

3. Unmount the partition to keep it out of reach.

Do remember that there is a performance hit when using a virtual partition. Games will load slower.

Edit: In game performance will NOT suffer. Only load time will...
 
thanks buddy, ill watch the youtube video to see if i can replicate what you're telling me,

and yes they do have admin privelage, but i dont think they're quite smart enough to work around it yet if i use the advanced settings to block administrator/user (or is that highly un-recommended?)
 


Remove their admin privs. If absolutely necessary for them to use that machine, just give them regular user accounts.
 
Solution