Answer the question
In order to leave comments, you need to log in
How to set permission to a file for a limited period of time in Windows 7?
Please tell me how to create some kind of such parental control. For example, you need to block the name.exe file from 00:00 to 23:00. Using standard Windows 7 tools, you can block the entire profile for a certain time. I would like more flexible settings.
Answer the question
In order to leave comments, you need to log in
You need to create a text file with .bat extension. And add a line there with a command adapted for you (the account name of the entry, and the path to the file).
where permissions are:
F - full access
M - modify
access RX - read and execute
access R - read only
access W - write only access
D - write access removal
To remove access use deny instead of grant.
Next, this file must be added to the task scheduler, with the schedule you need. Remember that if another user whose Administrator privileges you want to restrict, he will be able to cancel the task or assign himself the owner of the file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question