Add the following to the command

    /persistent:yes


You can type "net /?" to get the possible options. You can also use windows explorer to map drives.

If the XP machine is joined to a domain you shouldn't need to enter a user name and password.

On 06/18/2010 03:41 AM, Jelle de Jong wrote:
Hello everybody,

I use the bellow command to connect my samba share and system shares
to windows xp desktop machines:

net use o: \\samba-server\<share>  /user:<username>  <passwd>
net use o: \\<nebiosname>\E$ /user:<username>  <passwd>

This works fine until the system is restarted and it will ask for the
username and passwords again.

How can I make Microsoft Windows XP remember the login credentials of
it shares?

Is there some extra option in the net command I should use?

Thanks in advance,

With kind regards,

Jelle de Jong

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to