Re: Problems connecting to network

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Elvis (Elvis_at_discussions.microsoft.com)
Date: 10/29/04


Date: Fri, 29 Oct 2004 05:17:01 -0700

Thats exactly what i need, how do i get my shell to do the logon?

cheers
e

"Lasse" wrote:

> Elvis wrote:
> > Hi,
> >
> > I need to automate the connection of a network drive, but am having problems
> > with this. I am using minlogon, and have tried
> >
> > net use s: \\server\share uname pass
> >
> > from a bat file, but it still asks for the password, even though i give it.
> >
> > I then tried :
> >
> > WNetAddConnection2 API call, but this will not connect me to another
> > computer using new credentials.
> >
> > Would adding a new user with a password help, but could i make it then login
> > automatically, and map the drive?
> >
> > It seems to me to be a problem with the security side of things.
> >
> > Cheers
> > elvis
> >
> I am using minlogon, and I connect without using username or password.
> I never got it to work when connecting from system account (minlogons default).
> My custom shell logs on as a user before connecting.
> Username and password are the same as on the machine connect is made to.
> Both net use and the API should work. (with the conditions above)
>
> Lasse.
>



Relevant Pages

  • Re: Problems connecting to network
    ... Elvis wrote: ... > I need to automate the connection of a network drive, ... I am using minlogon, and I connect without using username or password. ... I never got it to work when connecting from system account. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Minlogon and Explorer shell
    ... you are not saving much switching from Winlogon to MinLogon ... You could try having Command Shell as the shell and launch the Explorer ...
    (microsoft.public.windowsxp.embedded)
  • Re: Sanken CS3e and CanaTrans video transmitters
    ... as for connecting the shield to the shell of a Switchcraft, ... treatment was using the Switchcraft and connecting the shell to the ... Use star quad cable and a Switchcraft silver XLR female. ...
    (rec.arts.movies.production.sound)
  • Re: Returning values from function to Python shell/IPython
    ... Usually, I'm using standard Python testing modules, but sometimes that is ... want to play with and do that from IPython. ... somewhat automate this procedure is to have a function that creates all of ... them back to the shell). ...
    (comp.lang.python)
  • Re: To Shield to housing or not to Sheild to housing on XLR?
    ... They tell you how took hook up pins 1-3 ... consistient in connecting the shield to the shell on both ends. ... I usually don't connect anything to the shell. ... environments with some phantom power mics. ...
    (rec.audio.pro)