Auto logon to shared?

D

DL

Is it possible to auto logon to the shared folders/pc rather than having to
input user/password for the sys on which the folders reside?
Thanks
 
R

Richard G. Harper

Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup folder
it will execute when anyone logs onto the computer.
 
D

DL

Thanks, have now googled and found command reference, which as I'm not on a
server, but simply P2P/ethernet I see that I'll need.
I was particularly keen to auto logon to the network printer.

Richard G. Harper said:
Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Is it possible to auto logon to the shared folders/pc rather than having
to
input user/password for the sys on which the folders reside?
Thanks
 
D

DL

On reading further I see this is a server specific command?

Richard G. Harper said:
Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Is it possible to auto logon to the shared folders/pc rather than having
to
input user/password for the sys on which the folders reside?
Thanks
 
R

Richard G. Harper

To use a printer:

net use lpt1: \\servername\printershare <password> /user:<username>


--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Thanks, have now googled and found command reference, which as I'm not on
a
server, but simply P2P/ethernet I see that I'll need.
I was particularly keen to auto logon to the network printer.

Richard G. Harper said:
Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
R

Richard G. Harper

No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
On reading further I see this is a server specific command?

Richard G. Harper said:
Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
D

DL

Well I tried this;
net use USB1: \\servername\printershare <password> /user:<username>
Where 'servername' was the sys name in the workgroup, of the printer
'hosting' sys
Printer was unavailable.

It seems I have to logon - ,<username> <password> (as an administrator on
host) to access the host sys shared resources.
It seems unclear to me whether a Net Use command will cater for that?
(this is my Wifes/kids sys I dont mind them using printer and a couple of
folders, but keep them clear of anything else, including admin passwords!)
thanks

Richard G. Harper said:
No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
On reading further I see this is a server specific command?

Richard G. Harper said:
Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
R

Richard G. Harper

USB1 is not a valid host name for a network printer - it needs to be LPT1.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Well I tried this;
net use USB1: \\servername\printershare <password> /user:<username>
Where 'servername' was the sys name in the workgroup, of the printer
'hosting' sys
Printer was unavailable.

It seems I have to logon - ,<username> <password> (as an administrator on
host) to access the host sys shared resources.
It seems unclear to me whether a Net Use command will cater for that?
(this is my Wifes/kids sys I dont mind them using printer and a couple of
folders, but keep them clear of anything else, including admin passwords!)
thanks

Richard G. Harper said:
No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
On reading further I see this is a server specific command?

Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
D

DL

Thanks,was afraid it was something like that.
I take it I cannot utilise Net Use to auto logon to the workgroup/host sys?

Richard G. Harper said:
USB1 is not a valid host name for a network printer - it needs to be LPT1.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Well I tried this;
net use USB1: \\servername\printershare <password> /user:<username>
Where 'servername' was the sys name in the workgroup, of the printer
'hosting' sys
Printer was unavailable.

It seems I have to logon - ,<username> <password> (as an administrator
on
host) to access the host sys shared resources.
It seems unclear to me whether a Net Use command will cater for that?
(this is my Wifes/kids sys I dont mind them using printer and a couple of
folders, but keep them clear of anything else, including admin
passwords!)
thanks

Richard G. Harper said:
No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



On reading further I see this is a server specific command?

Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the
substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
R

Richard G. Harper

Why would you think that?

DL said:
Thanks,was afraid it was something like that.
I take it I cannot utilise Net Use to auto logon to the workgroup/host
sys?

Richard G. Harper said:
USB1 is not a valid host name for a network printer - it needs to be
LPT1.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



DL said:
Well I tried this;
net use USB1: \\servername\printershare <password> /user:<username>
Where 'servername' was the sys name in the workgroup, of the printer
'hosting' sys
Printer was unavailable.

It seems I have to logon - ,<username> <password> (as an administrator
on
host) to access the host sys shared resources.
It seems unclear to me whether a Net Use command will cater for that?
(this is my Wifes/kids sys I dont mind them using printer and a couple
of
folders, but keep them clear of anything else, including admin
passwords!)
thanks

No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



On reading further I see this is a server specific command?

Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the
substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
Thanks
 
D

DL

Perhaps cause I could'nt see a command that appeared relevent, but then I'm
a little fraught having spent considerable time attempting to get an Adaptec
Raid Controller working/config on a sys

Richard G. Harper said:
Why would you think that?

DL said:
Thanks,was afraid it was something like that.
I take it I cannot utilise Net Use to auto logon to the workgroup/host
sys?

Richard G. Harper said:
USB1 is not a valid host name for a network printer - it needs to be
LPT1.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Well I tried this;
net use USB1: \\servername\printershare <password> /user:<username>
Where 'servername' was the sys name in the workgroup, of the printer
'hosting' sys
Printer was unavailable.

It seems I have to logon - ,<username> <password> (as an administrator
on
host) to access the host sys shared resources.
It seems unclear to me whether a Net Use command will cater for that?
(this is my Wifes/kids sys I dont mind them using printer and a couple
of
folders, but keep them clear of anything else, including admin
passwords!)
thanks

No, it works on any Windows 2000/XP version.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



On reading further I see this is a server specific command?

Yes, use the NET USE command, like this:

net use v: \\servername\sharename <password> /user:<username>

Substitute the proper server name, share name, password and username
where
appropriate; and remove the brackets <> when making the
substitutions.

If you put this into a batch file in the All Users\Programs\Startup
folder
it will execute when anyone logs onto the computer.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* In fond memory ... Alex, you shall be sorely missed
* http://www.aumha.org/alex.htm



Is it possible to auto logon to the shared folders/pc rather than
having
to
input user/password for the sys on which the folders reside?
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

Top