Link to home
Start Free TrialLog in
Avatar of Memran
Memran

asked on

Win 9x + network shares

Is there a way to make windows 9x prompt for username and password when accessing nt/2000/xp/linux shares instead of only asking for password and using login name as username?

Thanks
Rob
Avatar of Todos
Todos
Flag of Netherlands image

Memran,

Check the help within windows 9x for using the NET USE command in the command prompt. I beliebe options can be given while connecting to a share with this command in the command shell to use another username and pw.

grtz
Avatar of Memran
Memran

ASKER

Net Use /?

Connects or disconnects your computer from a shared
resource or displays information about your
connections.

NET USE [drive: | *] [\\computer\directory [password | ?]]
    [/SAVEPW:NO] [/YES] [/NO]
NET USE [port:] [\\computer\printer [password | ?]]
    [/SAVEPW:NO] [/YES] [/NO]

NET USE drive: | \\computer\directory /DELETE [/YES]
NET USE port: | \\computer\printer /DELETE [/YES]
NET USE * /DELETE [/YES]

NET USE drive: | * /HOME

  drive       Specifies the drive letter you assign to a
              shared directory.
  *           Specifies the next available drive letter.
              If used with /DELETE, specifies to
              disconnect all of your connections.
  port        Specifies the parallel (LPT) port name you
              assign to a shared printer.
  computer    Specifies the name of the computer sharing
              the resource.
  directory   Specifies the name of the shared directory.
  printer     Specifies the name of the shared printer.
  password    Specifies the password for the shared
              resource, if any.
  ?           Specifies that you want to be prompted for the
              password of the shared resource. You don't
              need to use this option unless the password is
              optional.
  /SAVEPW:NO  Specifies that the password you type
              should not be saved in your password-list
              file. You need to retype the password the
              next time you connect to this resource.
  /YES        Carries out the NET USE command without
              first prompting you to provide information or
              confirm actions.
  /DELETE     Breaks the specified connection to a shared
              resource.
  /NO         Carries out the NET USE command, responding
              with NO automatically when you are prompted
              to confirm actions.
  /HOME       Makes a connection to your HOME directory if
              one is specified in your LAN Manager or
              Windows NT user account.



There is nothing to change username here, only password.
Thanks anyway :)
Memran,

Isnt there something you can do with the NET USER command? Can be a wild chase, but i do believe there is a way to connect to shares as another user then the one logged on. Not 100% sure tough, so im sorry if im wrong:).

grtz
The password used by Windows 98 is the default user that is logged into the system.  So Windows 2000 will not prompt as Windows 98 is where the problem is....  but you can create users on the windows 2000 share that are equal to the users logon and all should work with no prompts at all.
Avatar of Memran

ASKER

That is correct.
Let me explain why I need this.
I need to be able to access two different shares, with different usernames. At the moment I have to reboot between sessions.
The usernames on the shares I am accessing are fixed.

Why was this so poorly implemented in win9x?
Because it is a predecessor to the current OS =-(  Assign usernames you create in W2K to both shares and away you go..  Short of that I will research further but this may be the only way to do it.


Hope this helps.
I think that win9X cannot cope with more than one user at a time (i.e. you cannot logon to a resource using other than
the username used to logon to the computer). That's why you're only prompted for password.
/RID
ASKER CERTIFIED SOLUTION
Avatar of John Gates, CISSP, CDPSE
John Gates, CISSP, CDPSE
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Memran

ASKER

Thanks for your input.

This is the fudge I have been using until now.
I am quite disappointed in this lack of funtionality in 9x, and upgrading to win2k or XP on every workstation is not really an option due to cost in my office (too many licences).

It seems there is no solution to this problem, only workarounds.

I guess I should accept an answer from dimante for trying to help the most :)
I will keep this question tagged and if I come up with something different I will post again =-)
Avatar of Memran

ASKER

Thanks :)