Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Windows 7 Home Edition 32-bit version. Is there any way I can lock one of my PC folders for a specific time, and after the time period is over, the folder will be unlocked automatically? More specifically, suppose I have a folder in my computer D: drive namely "Games". I want to make it lock down for 22 hours every day, and I want to make it accessible for 2 hours, and then lock it automatically after the 2 hours is over.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Make a batch file that uses the CACLS command line tool. Then create a Task that fires that when desired.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.