Re: Map network drive for user using VB/ASP.NET



it sounds like you are trying to update the users profile and maybe the login
script. this can be done if the web site appdomin runs as a network admin or
you use kerberos and an admin logs on. see the wmi library for the routines.
you will need to switch to a nt admin forum to learn how to use wmi.

-- bruce (sqlwork.com)


"Brian Nicholson" wrote:



"Mark Rae [MVP]" wrote:

"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:E6A45800-CF29-4E3E-B2E8-79E7FA25C73D@xxxxxxxxxxxxxxxx

I kind of understand what you're saying, but I didn't think I was using
the
browser itself as a means to perform the task -- I don't want the drive to
be
mapped on the client computer that's actually going to the web app. I was
considering something like an admin page where the admin could enter
certain
things like a network path, username, etc., and the app would use these
values in a VB script which could then perform the function (as if we
weren't
using a web app to begin with), e.g. using something similar to VBScript's
MapNetworkDrive.

Please clarify on which machine you intend to map a network drive: the
client machine, the web server or a different machine altogether...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net



From my understanding of mapped network drives, they're done per user; the
drives aren't mapped on the actual machine. If by which machine I intend to
use to map it you meant the machine that will do the actual mapping, I
suppose the web server will do that. Basically, I want to be able to use
administrative rights over some web application that allows me to map a
network folder to a drive for a specified user.
.



Relevant Pages

  • Re: Script initiate a drive connection?
    ... I tried this script and received an error "The NTVDM CPU has ... Dim objWMI, objPing, colPings, ServerOnline, Result ... Network & Software Integration ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: Script initiate a drive connection?
    ... Network & Software Integration ... Dim objWMI, objPing, colPings, ServerOnline, Result ... in a script the double click on a disconnected drive. ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: Script initiate a drive connection?
    ... That worked without having to run the script. ... Network & Software Integration ... Dim objWMI, objPing, colPings, ServerOnline, Result ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: Script initiate a drive connection?
    ... That worked without having to run the script. ... Network & Software Integration ... Dim objWMI, objPing, colPings, ServerOnline, Result ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: why dont the login scripts work some time?
    ... This could be a DNS ... > Login script sometimes doesn't want to map network drive. ... >>> Some times, for some users, the maped network drives that are ...
    (microsoft.public.win2000.general)