Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

August 01, 2000 04:25 PM

Ask the Doctor

Windows IT Pro
InstantDoc ID #9677
Rating: (0)

SEND US YOUR TIPS AND QUESTIONS. For answers to more of your Windows 2000 and Windows NT questions, visit our online discussion forums at http://www.win2000mag.com/support.

[Editor's Note: Bob Chronister contributed answers to this Tricks & Traps.]

My company runs Computer Associates' Inoculate IT 4.53 on its network, and most of the machines are behind a server running Microsoft Proxy Server 2.0. Processes running on some of our Windows NT systems fail to initialize properly at system startup, and we therefore must manually start them. The problem isn't limited to Inoculate IT processes—even the Task Scheduler utility (mstask.exe) is experiencing problems. In each case, the NT Event Viewer Application log shows an Event ID 3 with Winsock Proxy Client as the source and the following description:

Application <name of failed process> was started while the service manager was locked and the NtLmSsp wasn't running. If the application will try to remote via WinSock Proxy it can cause a deadlock with the service manager. For this reason the remoting is disabled. If the application is a service and you want to be able to remote, make it dependent on NtLmSsp.

What can we do to resolve this problem?

This problem is common in, but not exclusive to, systems running the Winsock Proxy Client that accompanies Proxy Server. The problem usually happens because the service in question is attempting to initialize and run through Proxy Server's remote Winsock service while the service database is in a locked state. I've seen similar error messages when newly installed services don't create the proper service dependencies (i.e., loading service A before loading service B). In your situation, the problem is that the NtLmSsp service isn't running when other services that depend on it attempt to initialize.

The solution is to manually edit the Registry entry related to the failing service so that the failing service won't attempt to load until the NtLmSsp service has successfully initialized. I recommend that you use the regedt32 Registry editor to make the following changes because it (unlike regedit.exe) properly supports the REG_MULTI_SZ Registry data type.

First, you need to locate the Registry entry related to the failing service. Service Registry entries are listed alphabetically in the HKEY_LOCAL_MACHINESYSTEM\CurrentControlSet\Services Registry subkey. In some cases, the service's Registry key name will be the same as the process name (e.g., NtLmSsp); other services' keys will have descriptive names (e.g., InoculateIT Server). To locate the right key, use the Registry editor's Edit, Find option to search for the process name (i.e., the name of the process' .exe file) within the Services subkey. After you locate the service's Registry subkey, select the service name in the Registry editor's left pane, and edit or add the DependOnService subkey of type REG_ MULTI_SZ. Set the value of the DependOnService subkey to the name of the service (as it appears in the Services Registry subkey) that you want the failing service to depend on. In your case, set the value to NtLmSsp, as Figure 1, page 188, shows.

If the failing service requires multiple dependencies, enter the name of each service on separate lines in the DependOnService value dialog box. Some services are members of service groups (e.g., SCSI miniport, Primary disk, Video), so you can also create dependencies with service groups. For more information about service and service group dependencies, see the Microsoft articles "CurrentControlSet\Services Subkey Entries" (http://support.microsoft.com/ support/kb/articles/q103/0/00.asp), "REG: Network Services Entries, Part 2" (http:// support.microsoft.com/support/kb/ articles/q102/9/96.asp), "HOWTO: Control Device Driver Load Order" (http:// support.microsoft.com/support/kb/ articles/q115/4/86.asp), and "How to Delay Loading of Specific Services" (http:// support.microsoft.com/support/kb/ articles/q193/8/88.asp).

You can use the Microsoft Windows NT Server 4.0 Resource Kit's sc.exe utility to query and modify service dependencies from the command line. See the resource kit's documentation for information about how to use sc.exe.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jan 09, 2005

    www.italypc.com/bcupdate also provides the download

  • Matt
    10 years ago
    Aug 13, 2002

    Get the BCUPDATE.EXE utility from this website:

    http://www.autourdupc.com/index.htm?page=/Logiciel/NT4/DrvToolsNT.htm

    The file was there and working on 14 aug 2002 when I downloaded it!

  • Raghavendra
    10 years ago
    Apr 17, 2002

    It is surprising that people tend to give very theoritical answares to queries that have familier prompts. The proxy 2.0 problem mentioned is very common and am experiencing at my setup of about 500 Windows 2000 professional installations. Infact I have already have tried all the regestry tweking options the auther has mentioned in the reply with no success. Before insalling the proxy client the PC workes perfectly with hardly any error in the event log. But after installaion the PC starts giving the error mentioned. Also on boot up the PC hangs and needs to be restarted number of times to finally logon. And infact the PC hangs when it tries to start the proxy client since there is the familiar (mentioned in the query) error log in the event viewer for every restart. Please, if you hold any clout with Microsoft, try to get proper answer to the problem. It will be of great help.

  • Eric Mattoon
    10 years ago
    Apr 08, 2002

    Relating to the question "Windows NT Does Not Boot with Highly Fragmented MFT". I can attest that this utility does work and is highly valuable (if you can find it). It is not a phantom utility but can save a lot of grief if you have a fragmented MFT and your server will not boot. In my experience SP 6a did not help. If a your server does not boot - comes up with a blinking cursor - but does boots with a NT boot disk (ntdetect, boot.ini, ntldr)then this may be your problem. BCUPDATE needs to be run in Windows at a dos prompt and it updates/recreated the MTF so the server can boot again. Once it has been fixed - I recommend following the Doctors advice and running Diskkeeper - to prevent it from happening again. If you need this utility - I can send you a link.

  • Geno Salvati
    10 years ago
    Feb 21, 2002

    bcupdate is not a myth as the author of the "ask the doctor" column implies. It is real and it does solve the problem described in: http://support.microsoft.com/support/kb/articles/ q228/7/34.asp
    Thank you for your service and I hope that this clarification might help someone else who has the same problem as I did.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.