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 help out administering a small Windows based organisation and they are using internet based storage. The PCs are Windows XP and the shares are accessed through open VPN to the internet provider. I have set up batch scripts to run "net use" and placed these in the each users Startup directory so that they run and mount the required share when the user logs on. Is this the right approach? Should I be pre-mounting them some how when the computer boots, prior to user logon?

(My main skill area is Linux/Unix and this is unpaid voluntary work.)

share|improve this question
Yea that is fine. Windows boot up process is different than linux. Basically any service start before windows login. Any user specific services and mounts start when a user logs in. In linux the system boots, mounts, checks and is ready at login, whether you are in or not. I do the same for XP pc's connecting to Windows Essentials, Windows 7 PC's have persistent mapping, so each reboot will reconnect, but under the cover it also uses a auto generated net use – ppumkin Jan 19 '12 at 16:13

You can also make these shares persistent with net use /persistent:YES.

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.