Re: Install mapped drive as a service?



Thanks for the insight Pegasus but for the sake of accuracy your analogy is
incorrect. Take, for instance, a windows service that uses a domain service
account to connect to remote sql server. An actual 'user' does not have to be
logged on since the service runs under the domain user service account.


"Pegasus (MVP)" wrote:

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: Local System Account
    ... I checked on Windows Server 2003 and Vista Beta 2. ... run following command from command line: ... one can specify it to run as localsystem account. ... administrator is not same as Local System. ...
    (microsoft.public.win2000.security)
  • Re: Deleting Limited Access User Account
    ... This will give you the command line options for the NET USER command. ... Additionally, you can go to Start, Run and enter LUSRMGR.MSC Open the Local Users folder and you can delete the account from there. ... Take Ownership of a File or Folder in Windows XP ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Vista Home Premium: New user account failing to load user profile
    ... I am familiar with the 'net' command for adding/removing/controlling user accounts. ... net user test /add ... Setup: Windows Vista IT Pro: Microsoft TechNet Forums' ... disable user account control, run the sfc /scannow command-line tool ...
    (microsoft.public.windows.vista.administration_accounts_passwords)
  • Re: "Account is trusted for delegation" is not shown
    ... Is the command executed on the 2003 server? ... Or you can enable the DELEGATION tab yourself for the user if needed on ... as opposed to a regular user account which typically does not have ... It should be caused by raising functional level to windows 2003. ...
    (microsoft.public.windows.server.general)
  • Re: User Login
    ... It's annoying to have to click on "my account" each time I start Windows up. ... I had typed a command into the "Run" function on the Start Menu and then changed an option in the Window that came up. ... In the Automatically Log On dialog box that appears, type the user name and password for the account you want to be logged on each time you start your computer. ... Download and install tweakui for xp and use its auto logon feature. ...
    (microsoft.public.windowsxp.general)