0

I am a programmer , I don know the server well.

I made a simple program checking the service on the remote server is started or not. by using this(http://msdn.microsoft.com/en-us/library/dwd0y33x(v=VS.90).aspx)

but the permission should be set. and I can't find any document via the internet. except one document.

http://msdn.microsoft.com/en-us/library/aa393266(VS.85).aspx

but the engineer say that 'tell me exactly what I do. there are many DCOM

are they any nice document to show him?

thanks in advance

Sungguk Lim
  • 101
  • 2

1 Answers1

0

I can't tell you if the programming is correct. I can tell you that you should be able to check permissions by running a vbscript or powershell script using the same user as your application. if you don't know vbscript you can use the scriptomatic to write one for you. If you have powershell installed - that's easy

get-service -computer mytestcomputer

if either of those work I would look at your code

Jim B
  • 23,938
  • 4
  • 35
  • 58
  • or if no powershell then wmic /node:servername process – tony roth May 14 '10 at 03:04
  • The reason I went with powershell and didn't use WMIC is because powershell uses the exact same classes he's referencing. WMIC is so "prepackaged", while I'm sure it could be used to diagnose a permissions problem, I'm afraid that it would autofix something like an impersonation problem. The syntax to check a service is wmic /node:servername service – Jim B May 14 '10 at 14:03