Re: Map network drive in background



The application is running as a service, so when the server starts the
service is automatically started, just as a normal service under windows. So
the application is running before the user logs in.

"Pegasus (MVP)" wrote:

> Applications don't just "run" in the background - something's got
> to launch them. What's launching yours?
>
>
> "s" <s@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:DBD6F370-4974-4064-89A7-E33F2767D7F4@xxxxxxxxxxxxxxxx
> > first choice has already been implemeted and doesn't work too well that's
> why
> > i;m trying to map a network drive
> >
> > how would i acheive second choice ? If application is running in
> background
> > when server has started will network drive be mapped with that process ?
> >
> > "Pegasus (MVP)" wrote:
> >
> > > You have two choices:
> > > - Use UNC coding, or
> > > - Map the drive with the same process that launches the application.
> > >
> > >
> > > "s" <s@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > news:5EBE75E8-C7EA-4851-933A-654828458F88@xxxxxxxxxxxxxxxx
> > > > Hi,
> > > >
> > > > I wanted to map the network drive so the application can see it
> without a
> > > > user loggining on.
> > > >
> > > > "S" wrote:
> > > >
> > > > > I'm trying to get an application to see a share such as
> \\server1\share
> > > as a
> > > > > drive letter g:\. I'm not an application devloper, I'm from a
> server
> > > support
> > > > > background.
> > > > >
> > > > > Is there anyway around this taking the responsibility myself for any
> > > advice
> > > > > given ?
> > > > >
> > > > >
> > > > >
> > > > > "Pegasus (MVP)" wrote:
> > > > >
> > > > > >
> > > > > > "S" <S@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > > > > > news:2505681D-4BA7-40FE-9C9E-DCFD8C485A1E@xxxxxxxxxxxxxxxx
> > > > > > > Hi,
> > > > > > >
> > > > > > > I need to map a network drive without a user logging on. For
> > > example,
> > > > > > when
> > > > > > > you start a server and are prompted at the Ctrl-Alt-Del logon
> box, I
> > > want
> > > > > > a
> > > > > > > mapped network drive avliable in the background.
> > > > > > >
> > > > > > > I have tried to run a script on startup and this falis as it
> seems
> > > to
> > > > > > wonly
> > > > > > > work when a user is logged in ?
> > > > > > >
> > > > > > > Any ideas would be helpful.
> > > > > > >
> > > > > > > ThanksS
> > > > > >
> > > > > > Mapping a drive in the background is not an option, because
> > > > > > its access rights will be valid within the context of the account
> > > > > > used for the background job. If the drive was visible in the
> > > > > > foreground then you would have a security violation - hence
> > > > > > drives mapped in the background remain invisible to foreground
> > > > > > sessions.
> > > > > >
> > > > > > Why do you actually want the drive to be mapped before
> > > > > > the user logs in?
> > > > > >
> > > > > >
> > > > > >
> > >
> > >
> > >
>
>
>
.



Relevant Pages

  • Re: Cannot launch local executable programs from HTML in IE60/2003
    ... it takes forever for it to launch and I think that it is still ... somehow is pulling the .edp file off the web server. ... Especially see the "Assign an HTML file located in the Local Machine zone to ... following example of the code works perfectly on a Windows 2000 server ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: Launch App without X-Windows
    ... Subject: Launch App without X-Windows ... X windows has certain requirements. ... X server is by using the x virtual frame buffer server. ... Package: xvfb ...
    (Debian-User)
  • Re: Remote Desktop
    ... have both our own telnet server and Web server on our devices and they both ... allow program launch under password control). ... there exists a version of "VNC server" for windows CE on the internet. ...
    (microsoft.public.windowsce.embedded)
  • Re: "LocalSystem" account privilege
    ... You are sure it is using the Local System account? ... Microsoft MVP (Windows Server System: ... > I have one service application that will launch a batch file and this ...
    (microsoft.public.windows.server.security)
  • RE: attempt to launch a DCOM server?
    ... launch the 'IISAdmin Service' to enable it's web management interface. ... This was on a server that once had IIS in use but when it was ... which we know is patched against the RPC DCOM ...
    (Focus-Microsoft)