shares disappear

J

Jack Gostl

Actually, this problem involves Windows 2000, not XP, but I'm hoping someone
says "hey, they fixed that on XP".

I have a command line application running on W2K (not server) and it depends
on a share, accessed through a drive letter. The share "disappears" from
time to time, with no apparent reason. A reboot, reissuing the "net use"
fixes the problem.

Could someone give me some guidance in chasing this down?
 
P

Pegasus \(MVP\)

Jack Gostl said:
Actually, this problem involves Windows 2000, not XP, but I'm hoping someone
says "hey, they fixed that on XP".

I have a command line application running on W2K (not server) and it depends
on a share, accessed through a drive letter. The share "disappears" from
time to time, with no apparent reason. A reboot, reissuing the "net use"
fixes the problem.

Could someone give me some guidance in chasing this down?

What do you see when you type "net use" without any
parameters after your share has disappeared?
 
F

Frankster

You might consider writing a batch file logon script for (at least) that
machine or for the domain if you are on a domain. This script would auto-map
all the necessary drives upon logon.

The "other" method of mapping drives (the user method of choosing "map
drives") is held in the user's profile. If the profile is corrupt, or the
user changes the "connect at next logon" selection, your mapped drives will
fail to be mapped.

-Frank
 
J

Jack Gostl

Pegasus (MVP) said:
What do you see when you type "net use" without any
parameters after your share has disappeared?

Unfortunately, that's a whole other problem. I'm not onsite, and for reasons
known best to the security weenies the only way I can get in is through
telnet, and that doesn't see the the shares at all.
 
F

Frankster

Jack Gostl said:
Unfortunately, that's a whole other problem. I'm not onsite, and for
reasons known best to the security weenies the only way I can get in is
through telnet, and that doesn't see the the shares at all.
How 'bout "net share"? During a telnet session I can see my shares that
way... but not with net use.

-Frank
 
P

Pegasus \(MVP\)

Jack Gostl said:
Unfortunately, that's a whole other problem. I'm not onsite, and for reasons
known best to the security weenies the only way I can get in is through
telnet, and that doesn't see the the shares at all.

psexec.exe is your friend!
(www.sysinternals.com)
 

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