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 going to write a boot time program which will delete some configuration files and replace them with some of my own. The only problem is is that these files are in use by the system process.

  1. Is this even possible?
  2. How can I get the program to run before the system process is started?
  3. What language would I need to write my program in?
share|improve this question
up vote 2 down vote accepted

You can do this in windows, you encouter this any time a program ask to reboot windows after installing/uninstalling. I could not find the link for windows 7 but this may get you started on the right path on how to replace a in-use file at reboot.

share|improve this answer

If you want to do something before the system loads, you will have to do it when the system is offline (through a different host OS). It does not matter what language you code this in.

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.