I have been using the net use command previously with no trouble about 2
months (Windows XP Pro), but yesterday I have not been able to access any of
the drives that need a specific password:
net use y: "\\server\allfiles"
net use z: "\\server\securefiles" * /user:securityuser
the all files (y drive) is accessible but not the z drive which needs the
securityuser password.
Any idea what might cause this?
Is there a way to forcibly remove all net shares for the users drive before
connecting with the above bat file?
"MM User" <mmuser@microsoft.com> wrote in
news:OBRM2IP9IHA.4092@TK2MSFTNGP02.phx.gbl:
> Hi,
>
> I have been using the net use command previously with no trouble
> about 2 months (Windows XP Pro), but yesterday I have not been
> able to access any of the drives that need a specific password:
>
> net use y: "\\server\allfiles"
> net use z: "\\server\securefiles" * /user:securityuser
>
>
> the all files (y drive) is accessible but not the z drive which
> needs the securityuser password.
>
> Any idea what might cause this?
>
> Is there a way to forcibly remove all net shares for the users
> drive before connecting with the above bat file?
>
> Thanks!
A couple of things pop into mind.
Windows XP Pro will only allow one set of credentials to be used to
connect to it at any given time. In the above example (assuming that
"server" is the same machine in both lines), the first line will
connect to "server" as either "guest" or the username you are using on
the client machine, then the second line will not accept a connection
as "securityuser" because you are already connected as "guest". You
must disconnect (delete) the first connection before connecting under a
different set of credentials. Simply switching the order of the two
lines will allow you to first connect as "securityuser" and, if
permissions are set up properly, you can then connect to the Y drive
using the same "securityuser" credentials.
Another thing you might try (assuming the two "server"s are different)
is to specify the computer name along with the user name to eliminate
any potential domain name conflicts:
net use z: \\server\securefiles * /user:server\securityuser
Thanks John for the heads up, I will reverse the lines to:
net use z: "\\server\securefiles" * /user:securityuser
net use y: "\\server\allfiles"
As the 'allfiles' folder is accessible to all but the 'securefiles' folder
is only accessible to the 'securityuser'.
Also in the above example am I using 2 sessions or just one (I know Win XP
Pro only allows 5 sessions)
Thanks in advance!
"John Wunderlich" <jwunderlich@lycos.com> wrote in message
news:Xns9AF08A103C227wunderpsdrscray@138.126.254.2 10...
> "MM User" <mmuser@microsoft.com> wrote in
> news:OBRM2IP9IHA.4092@TK2MSFTNGP02.phx.gbl:
>
>> Hi,
>>
>> I have been using the net use command previously with no trouble
>> about 2 months (Windows XP Pro), but yesterday I have not been
>> able to access any of the drives that need a specific password:
>>
>> net use y: "\\server\allfiles"
>> net use z: "\\server\securefiles" * /user:securityuser
>>
>>
>> the all files (y drive) is accessible but not the z drive which
>> needs the securityuser password.
>>
>> Any idea what might cause this?
>>
>> Is there a way to forcibly remove all net shares for the users
>> drive before connecting with the above bat file?
>>
>> Thanks!
>
> A couple of things pop into mind.
>
> Windows XP Pro will only allow one set of credentials to be used to
> connect to it at any given time. In the above example (assuming that
> "server" is the same machine in both lines), the first line will
> connect to "server" as either "guest" or the username you are using on
> the client machine, then the second line will not accept a connection
> as "securityuser" because you are already connected as "guest". You
> must disconnect (delete) the first connection before connecting under a
> different set of credentials. Simply switching the order of the two
> lines will allow you to first connect as "securityuser" and, if
> permissions are set up properly, you can then connect to the Y drive
> using the same "securityuser" credentials.
>
> Another thing you might try (assuming the two "server"s are different)
> is to specify the computer name along with the user name to eliminate
> any potential domain name conflicts:
>
> net use z: \\server\securefiles * /user:server\securityuser
>
> HTH,
> John
>
>
"MM User" <mmuser@microsoft.com> wrote in
news:uoaKAln9IHA.4824@TK2MSFTNGP03.phx.gbl:
> Thanks John for the heads up, I will reverse the lines to:
>
> net use z: "\\server\securefiles" * /user:securityuser
> net use y: "\\server\allfiles"
>
> As the 'allfiles' folder is accessible to all but the
> 'securefiles' folder is only accessible to the 'securityuser'.
>
> Also in the above example am I using 2 sessions or just one (I
> know Win XP Pro only allows 5 sessions)
>
Hmmm. I thought XP Pro allowed 10 sessions and XP Home allowed 5.
Anyway, count them yourself...
Right-click "My Computer" -> Manage -> System Tools -> Shared Folders
-> Sessions.
On Aug 4, 2:29*pm, "MM User" <mmu...@microsoft.com> wrote:
> Thanks John for the heads up, I will reverse the lines to:
>
> net use z: "\\server\securefiles" * /user:securityuser
> net use y: "\\server\allfiles"
>
You might also try explicitly deleting any existing connections
net use y: /d
net use z: /d
>
> Also in the above example am I using 2 sessions or just one (I know Win XP
> Pro only allows 5 sessions)
>
I was just reading about this for something else. Apparently for that
XP limitation if station A connects to two drives and a printer on
station B, that's one connection.
Looks like this means one session from a server is a connection to each PC
(no matter how many drives/folders are mapped or shared to the server)
Thanks!
"njem" <njem@q.com> wrote in message
news:3da33990-776a-4644-981e-adbcee69bb94@r15g2000prd.googlegroups.com...
> On Aug 4, 2:29 pm, "MM User" <mmu...@microsoft.com> wrote:
>> Thanks John for the heads up, I will reverse the lines to:
>>
>> net use z: "\\server\securefiles" * /user:securityuser
>> net use y: "\\server\allfiles"
>>
>
> You might also try explicitly deleting any existing connections
> net use y: /d
> net use z: /d
>
>>
>> Also in the above example am I using 2 sessions or just one (I know Win
>> XP
>> Pro only allows 5 sessions)
>>
>
>
> I was just reading about this for something else. Apparently for that
> XP limitation if station A connects to two drives and a printer on
> station B, that's one connection.
>
> Tom