Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Is there a way to force windows xp pro to run a command once (or each time) on startup when all you have is access to the registry and file system of that windows (when its disk is mounted on another windows)?

It is important that the command will run before login and not require a login.

share|improve this question
up vote 0 down vote accepted

Answering my own Q. In some cases (like mine) it turns out that you can connect remotely using PSEXEC from systInternals (now Microsoft) PsExec.exe \\machineNameOrIP -u username -p password cmd will open a command shell where you can do quite a lot.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .