Link to home
Start Free TrialLog in
Avatar of PeterdeB
PeterdeBFlag for Netherlands

asked on

How to persist virtual drives mappings across a reboot?

Hi my dear friends!

I would like to have my virtual drive mappings survive a reboot. Perhaps using the registry?

Regs Paul
ASKER CERTIFIED SOLUTION
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you are doing mapping manually there is an option in hte Map Net work drive   "reconnect at login." select that.
It will hold the mapped drive after reboot.

sun4sunday
sun4sunday,

If we were dealing with network drives, then your comment would apply. We are dealing with drive mappings that are mapped using DefineDosDevice to path locations (aka subst via the kernel API).  

Russell
Avatar of PeterdeB

ASKER

Russell,

If we were dealing with your code then we can be pretty sure things work!! Just tested and it does what it should do exactly!! :)

Best regards,

Paul
Yes, Russel, it applied only for the network drives, not for the Virtual Drivers.
Thank you for pointing out this

sun4sunday