Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapping drives 1

Status
Not open for further replies.

Elbown

IS-IT--Management
Oct 3, 2003
6
NL
Does any one know if it is possible to map network shares from within the registry and if so what is the key and the format for doing this?
Thanks...
 
When you static map a drive (either through network neighborhood or via net use) it adds an entry automatically to the registry.

The entry is placed in HKEY_CURRENTUSER\NETWORK\(Drive Letter)

Each entry has the following keys added to it...

----------------------------------------------------------
[HKEY_CURRENT_USER\Network\Q]
"RemotePath"="\\\\server name\\share name"
"UserName"=".CN=username.OU=tree.O=root"
"ProviderName"="NetWare Services"
"ProviderType"=dword:00030000
"ConnectionType"=dword:00000001
----------------------------------------------------------

However, in using this (static mappings) you are greatly enhancing the amount of work you'll have to do to maintain or make changes to the network.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top