Re: Delaying service startup with AutoexNT works differently with 2003.
- From: SWSWSWN <SWSWSWN.2bxtc9@xxxxxxxxxxxx>
- Date: Wed, 2 Aug 2006 14:59:53 -0500
Has anyone followed up on this? I am having the same problem on my
Windows 2003 Server SP1.
Thanks,
Mark
johnhb wrote:
*Hi,
We are running an application on a Win2K server which makes use of
data
on CIFS shares. The app runs as a service which should start
automatically on bootup. Normal automatic startup can not be used
because the file-sharing processes start up too late and because the
app needs a drive letter mapped to the share.
We handle this issue by using the AutoexNT service, which is set to
start automatically. The app is set to manual start. AutoexNT is
made
dependent on lanmanserver and lanmanworkstation services and is thus
delayed until file-sharing is up. The AutoexNT.bat does the
following
:-
1) delete the existing drive letter mapping
2) map the drive letter to the share
3) start the app service
This works fine under Windows 2000. We are now trying it under
Windows
2003, and we find that it fails when mapping the drive. However, if
we
manually restart the AutoexNT service immediately thereafter, it
works
fine.
Our conclusion is that despite the dependencies, the file-sharing
mechanism is not fully initialised when it runs automatically the
first
time, but is up the second time and that it why it succeeds.
Can anyone explain this behaviour ?
Is there a problem with this type of dependency in Win 2003 compared
to
Win 2000 ? *
--
SWSWSWN
------------------------------------------------------------------------
http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1660358.html
.
- Follow-Ups:
- Re: Delaying service startup with AutoexNT works differently with 2003.
- From: Vincent Xu [MSFT]
- Re: Delaying service startup with AutoexNT works differently with 2003.
- Prev by Date: RE: NT4EMulator / NeutralizeNT4Emulator
- Next by Date: RE: users can´t see their old sent faxes
- Previous by thread: RE: NT4EMulator / NeutralizeNT4Emulator
- Next by thread: Re: Delaying service startup with AutoexNT works differently with 2003.
- Index(es):
Relevant Pages
|