mount a share automatically when you boot


Rejean ROy

I am looking for a way to mount a CIFS share automaticly at boot. Is there a
registry keys that I can use to do that?


Inside The Registry


Network shares are mounted by a user, so you could do this when a user logs
in. There are a couple of ways to do it...

1. Create a shortcut to C:\WINDOWS\SYSTEM32\NET.EXE and in the paramaters
box put something like D: \\COMPUTERNAME\SHARENAME and then put this
shortcut in the startup folder within the start menu... This would cause a
share to be mounted when a user logs onto the machine.

2. Do the same as above only instead of a shortcut put an entry to run
NET.EXE with the paramaters in HKCU \ Software \ Microsoft \ Windows \
CurrentVersion \ Run or HKLM \ Software \ Microsoft \ Windows \
CurrentVersion \ Run

2. Mount a drive a persistent which would then put it into your profile...

3. Export HKCU\Network to a .REG file and at logon import that file again

Let me know if you have trouble using these methods...


The Windows Registry Information Database -

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question