Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.