Make Authentication

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

Hi all! Can someone tell me how to make network connecttion with a
remote computer (win2k xp 2k3) when you know the Admin's password? Just
like your use [net use \\hhw1\c$ "password" /user:"administrator"]
Thanks in advance!
 
There may be a namespace that does this, but you can definately shell out
and execute the dos command to map the drive...

In the example below the X drive is mapped to your share. AppWinStyle.Hide
does it wihtout displaying the cmd window.

shell("net use X: \\hhw1\c$ ""password"" /user:""administrator""",
AppWinStyle.Hide)
 
Thanks for reply, but I don't really want to use external program like
'net'! Do you have some more idea? Thanks!
 

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