Ceate IPC Connection



I would like to do something in vbs that I now easily do in a .cmd file:
The .cmd would be net use \\servername\share /user:%UserName%

I want to have a dialog box come up to make the IPC$ connection. I would
like the local machine's username filled in and then prompt for the
password.
An added plus would be if the first field could be changed by the user if
the username was wrong.

I'm obviously not familiar with scripting. I have worked on it a bit and can
get the individual pieces to work but can't get them all together.
Connecting without mapping a drive letter seemed to make it a little harder.

Would I be able to include the same vbs script easily in to a web page?

Thanks for any help,
Mike


.



Relevant Pages

  • Re: NT "net use" Malfunctions
    ... already have an IPC$ connection to tha host. ... differnet user rights. ...
    (Security-Basics)
  • Re: Events lose connection to localhost
    ... fail miserably, with the same connection loss, between the ... IPC communications in .NET 2 gives default access. ... right one) to the user group of the IPC access. ... Remember, an IPC connection type is implemented as a named pipe, which ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: using Administrator-Account with empty password
    ... (no passwords for Administrator's account set). ... I assume that no one has local access to the computer. ... so the only way to get to the data(shares, ipc$) is by remote (home ... When I try to establish a connection via ipc$ or a connection to a ...
    (Security-Basics)
  • Re: Cant find IPC$ using net share,A new virus?
    ... If your application requires a connection to a shared ... resource then you should make this connection by ... running a command such as this one from the Command ... Ok!I refer to IPC$ just because our app will work well when the ipc$ ...
    (microsoft.public.win2000.networking)
  • How to access USB Mass Storage device through IPC$ connection?
    ... through IPC$ connection. ... But I can not access USB Mass Storage device ...
    (microsoft.public.win2000.security)

Loading