Map drive to share at startup for a service

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stephen F. (anonymous_at_discussions.microsoft.com)
Date: 06/22/04


Date: Mon, 21 Jun 2004 19:30:47 -0700

I'm amazed there's no easy answer to this question yet.
Is there no equivalent to UNIX NFS in Windows server?
Background daemon programs in UNIX can easily mount
volumes from anywhere in the filesystem (drive, folder,
etc.) using NFS to remote filesystems without anyone
logging into the server interactively.

Do I need to use UNIX services for Windows 3.5 to pull
this off?

>-----Original Message-----
>What is the best way to map a network drive to a shared
>folder (a DFS root) on a another server at system
startup
>so that a background service may use the files on the
>shared folder automatically after startup?
>
>I've tried using a startup jscript in the Local Policy
>Object and a "net use" command from a batch file
executed
>by the scheduler service at startup (scheduled task
>job). Both approaches have not worked successfully.
The
>same login credentials (uid,pwd) do work successfully
>when logged in interactively, even running the same
>script as the same user as defined in the scheduled task
>job.
>
>I get error messages in the system log such as events:
>- 3034 (MrxSmb: "The redirector was unable to initialize
>security context or query context attributes.") from the
>script, and
>- 3019 (MRxSmb: "The redirector failed to determine the
>connection type.").
>
>I've setup the service to depend on lanmanserver,
>lanmanclient, etc. so it won't try to access the mapped
>drive until other services that are needed for the
mapped
>drive to operate are up. But the mapping process isn't
>working.
>
>Thanks!
>.
>



Relevant Pages

  • Re: oracle 11g takes much longer to start
    ... I am on HP UNIX 11i server, ... Are they any init.ora parameters to speed up startup. ... Senior Oracle DBA ...
    (comp.databases.oracle.server)
  • Re: oracle 11g takes much longer to start
    ... I am on HP UNIX 11i server, ... Are they any init.ora parameters to speed up startup. ... N-Networks, makers of Dynamic PSP ...
    (comp.databases.oracle.server)
  • Re: oracle 11g takes much longer to start
    ... zigzagdna, 18.05.2010 05:54: ... I am on HP UNIX 11i server, ... Are they any init.ora parameters to speed up startup. ...
    (comp.databases.oracle.server)
  • oracle 11g takes much longer to start
    ... I find that Oracle 11g takes much longer to start than Oracle 19g or ... I am on HP UNIX 11i server, ... Are they any init.ora parameters to speed up startup. ...
    (comp.databases.oracle.server)
  • RE: Access Denied message evenwhen loging in locallyafter joining
    ... -The other computers and the Unix box are in a workgroup. ... -The only problem is that I can not access the shared folders in the Unix ... So, as I said, I can connect to the Unix server to use the company's ... > Thank you for posting to the SBS Newsgroup. ...
    (microsoft.public.windows.server.sbs)