Re: Install mapped drive as a service?



If you do not have a user logged on, what access rights
should apply? Your question is equivalent to asking "How
do we open the bank's safe automatically in the morning
without an authorised person being present?" You don't!


"gscanga" <gscanga@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:56E0485E-6EB0-43E6-830D-DC74FCB5965A@xxxxxxxxxxxxxxxx
Well, the issue arose as a result of NFS (Network File Sharing) to a Unix
system. A DTS package taht's to run on the Windows system needs to see a
remote directory on the Unix system but simply typing "dir \\(unix
system)\directory" responds with 'Unknown username or bad password'.
However,
once the command "net use z: \\(unix system)\directory" is given, it
cmplets
successfully (obviously using the logged on users account) and THEN, the
"dir..." command works and displays the directory contents on the Unix
system.

So, my thinking led me to installing the 'net use' command as service to
avoid having to have a user logged on to the Windows system.


"Mathieu CHATEAU" wrote:

Hello,

mapped drive are user based...how to get it if you are not the user who
logs
on ?

I guess it's for a software installed on it ?
Can't it uses UNC path ?

--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


"gscanga" <gscanga@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E94CA756-9AC1-45B2-A75B-8AC1C6E7ADB3@xxxxxxxxxxxxxxxx
Does anyone know if this is relatively easy to accomplish?

I'm trying to figure out if I can install a service on Windows 2003
that
will execute a net use command? So, this will allow a network drive to
be
mapped without requiring a user to logon.

Thanks!





.



Relevant Pages

  • Re: Some personal linux observations
    ... One of my big bitches about the M$ environment is that the command line ... but open source developers are usually more interested in expressing ... installing software from sourcecode. ...
    (alt.os.linux)
  • Re: RANT ! SP2 !
    ... That's the bottom line and the service pack is only 3 months old and thus well within the tolerance window of not installing it on our systems. ... Open a command prompt. ... Server 2003 SP2 on a computer that is running Windows Small Business ...
    (microsoft.public.windows.server.sbs)
  • Re: Error.Error..Error...web server is not running asp.net 1.1
    ... Make sure you are in a command window, ... Finished installing ASP.NET. ... > supposed to add that asp.net 1.1 extension. ...
    (microsoft.public.dotnet.general)
  • Re: How many names and addresses can you have for ID card
    ... Think command line only (except when you're installing, ... which is unsettling to we Linux users. ... This is NOTHING to do with Oracle though. ...
    (uk.legal)
  • Re: stsadm.exe -o upgrade -forceupgrade -url http://myportalurl
    ... the stsadm command line now appears to be ok - previous problem may have ... the error message "WebForm_PostBackOptions is undefined" that keeps popping ... the service packs for the Portal were not cumulative but I didn't check ... I am just in the process of installing a copy of sharepoint portal server ...
    (microsoft.public.sharepoint.portalserver)