Re: Location of mapped network drives in user profiles
by =?Utf-8?B?S2VpdGggU3RvbmU=?= <KeithStone@[EMAIL PROTECTED]
Jul 17, 2008 at 11:41 AM
OK, I see the information there. So it sounds like what I'll need to do is
have WSH kick off a script on each workstation which then uses the Win32
namespace to get the registry information.
HKEY_CURRENT_USER is only active for the person who is currently logged
in.
Where does HKEY_CURRENT_USER get this information when the user logs in?
"Philipp Foeckeler" wrote:
> The information you search for is stored in the registry under
HKCU\Network.
> Every mapped network drive gets an subkey named like the drive letter
here.
>
> Philipp Foeckeler
>
>
> "Keith Stone" <KeithStone@[EMAIL PROTECTED]
> schrieb im
Newsbeitrag
> news:590A3492-D363-46E8-A0CE-216FF8708F29@[EMAIL PROTECTED]
> > Every user profile keeps track of which drive letters are mapped to
which
> > network shares. I've been looking through both ADSI and WMI
do***entation
> > to
> > see if I could find this information, and so far have not found
anything.
> > The
> > fact that a user has these mounts set up each time he logs on means
that
> > the
> > information is stored somewhere. I'm trying to access this information
in
> > an
> > effort to programmatically change the location of the network shares
as
> > the
> > shares are moved between file servers.
> >
> > Does anyone know where this information is stored, and whether it can
be
> > accessed through one of Microsoft's namespaces?
>