|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Offhand I don't know but what I would do is to use something like Regshot to
take a snapshot of your registry before and after you create a share to see what changes in the registry. Regshot is free. --- Steve http://www.snapfiles.com/get/regshot.html --- Regshot <bucrepus> wrote in message news:%23hmaftBDGHA.3992@TK2MSFTNGP12.phx.gbl... > 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 > > |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mapped Drive keeps losing its connection | Barry Rupisan | Windows XP Network Web | 0 | 01-05-2006 11:14 PM |
| reconnect mapped drive at startup | AJ Joslin | Windows XP Network Web | 3 | 01-05-2006 04:15 AM |
| Mapped drive gets redirected | DocBuzz | Windows XP Network Web | 3 | 01-05-2006 04:05 AM |
| Mapped Network drive has an autorun feature (why?) | G.Mac2 | Windows XP Network Web | 0 | 01-05-2006 04:01 AM |
| eSATA support | Techmanblues | Windows XP Hardware | 9 | 01-05-2006 02:19 AM |