Remote server authentication...

  • Thread starter Thread starter Spock
  • Start date Start date
S

Spock

Hi. I am trying to write a VB.NET windows service to go through a
constantly changing list of servers (could be win2000, win2003 or even XP),
connect and authenticate to these servers, pull info like wmi, event logs,
files within shares, etc. and then disconnect.

The problem I am having is this is a service running as the system account.
I need a programmatic way to authenticate to the server from the list, do my
information polling and then disconnect.

What methods can I use to authenticate?

The source list of servers (that again will be changing all the time) will
contain the server name, ip address, domain, administrative user name and
password.

I've tried several ideas such as the system.management namespace to connect
but that doesn't work for accessing files within shares.

What is a good way to simply "log on" to these servers (the accounts used to
log on will be full administrators of those servers) so that the connection
will have full access to wmi, registry, shares, etc. I'll do my
information pulling and then close the connection.

Please let me know with any ideas you might have.

Thank you very much.


-Spock
 
By the way, Thank you for the URL you provided.

I was able to do what I needed from that.

Thanks!


-Spock
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top