Re: Delaying service startup with AutoexNT works differently with 2003.

Tech-Archive recommends: Speed Up your PC by fixing your registry




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

.



Relevant Pages

  • Re: Windows.. its like coming home!
    ... gradual transition, especially in going from OS 9 to OS X. ... They needed something that could compete with Windows, ... mean by the "2 of every app" comment before - Apple took whatever apps ... I've found that because the Dock shows applications rather than windows, ...
    (comp.sys.mac.advocacy)
  • Re: Windows.. its like coming home!
    ... gradual transition, especially in going from OS 9 to OS X. ... They needed something that could compete with Windows, ... mean by the "2 of every app" comment before - Apple took whatever apps ... I've found that because the Dock shows applications rather than windows, ...
    (comp.sys.mac.advocacy)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Frustration level with Windows -- ARG!
    ... I can have an app sieze and you can go take a ten ... That is MS-Outlook, not Windows. ... to the processes tab, not the applications tab. ... and it tries to stop them "gently" if it can, before resorting to kill -9. ...
    (comp.sys.mac.advocacy)
  • Re: Windows Update Error on XP 64bit: update is redirected from v6
    ... That's why Windows needed to be reactivated. ... How to restore the system/boot drive letter in Windows ... billcat wrote: ... was this a clean reinstall of XP or a Repair Install? ...
    (microsoft.public.windowsupdate)