Mapped Drive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I map a drive to a share via the registry. In the past one could add
it to the HKCU\Software\Microsoft\Windows
NT\CurrentVersion\Network\Persistent Connections
registry setting to achive this. This setting seems to nothing on XP. Is
there another key now?
I know how to do this via a script / GPO, but would rather use the registry.
Thnaks BUC
 
I take it you're aware of the NET USE command and its syntax? This will do
most such things from a batch-file without resorting to registry-modification.

For a more elegant approach there is AutoIt (http://autoitscript.com) - the
DriveMapAdd command does the same thing, and with this you can build an
executable that will (re)connect shares.
 
Back
Top