Problem solve Get help with specific problems with your technologies, process and projects.

Differences between Windows NT 4.0 and Win2k services

I wrote a service (ATL COM) program that works under Windows NT 4.0. By calling 'progname /regserver' and 'progname /service.' I am able to see the program in the services window. However, when I try the same thing in Win2k, I see nothing at all. However, if I create a new dummy service and register it on Win2k, I see it just fine. Are there any differences between Windows NT 4.0 and Win2k when it comes to services?
There are no relative differences between Windows NT and Win2k. My bet is that you have done something to your CServiceModule::RegisterServer which is not properly registering the service. Use the Platform SDK's WinDiff file differencing program to compare your code against the dummy AppWizard generated code. Also, with Win2k, you need to refresh the services display manually in whatever Management Console you are using to view the services list. Press F5 or right click and select Refresh to get the list updated.
This was last published in June 2001

Dig Deeper on Windows Operating System Management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.