Share via

How to logout from network PC?

Anonymous
2010-05-27T18:36:16+00:00

Hello there,

I have a Linux server running, with Samba file sharing. This way people can connect to the server from their windows PC's and see whatever they account allows them to see.

Thought now we also have a public PC from witch different people connect to the samba server.

The problem with this last one is, that different people should login with different accounts to see what they are allowed to see. But, windows remembers the credentials and logs on automatically without having the option to login with a different account.

I was wondering if it is possible in windows 7 (and if anyone knows, in windows XP too) how to logout from this samba server? I'm sure windows stores the login information somewhere, so removing that information would be enough to let windows popup for new login information, right?

Thank you very much!

Jeffrey

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2010-06-09T15:16:08+00:00

    The command

    net use /persistent:no

    prevents Windows from remembering past share connections . It is unrelated to Windows rememberingpasswords (although I suppose that if you do not make a connection then you won't know that there is a remembered password hanging around . . . ). Note also that the above commands must be preceded just once by the command

    net use * /del /yes

    If you have remembered connections then they will hang around forever unless you knock them out explicitly.

    7 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2010-06-09T14:30:38+00:00

    "Remember My credentials" is selected by default. The quickest method to stop this is to run NET USE /PERSISTENT:NO at a command prompt. I have this in a logon batch file (with @Echo off for the first line) that runs each time a client logs onto the network. If a share requires a username/password, the client enters that information in the "black" box (command window).

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-05-27T22:41:39+00:00

    In your original post it was a little unclear whether you were talking about the Windows logon password or the share connection password. Since it is obviously the latter I suggest you have a look at this picture: http://cid-3cd766ca7cfc50fc.skydrive.live.com/self.aspx/.Public/NetworkPassword.png. The box pops up when you make a connection to a share and tick the box "Connect using different credentials". Note the tick box "Remember my credentials". You probably need to kill then connection, then remake it without ticking this box.

    0 comments No comments
  2. Anonymous
    2010-05-27T22:13:24+00:00

    Hello Pegasus,

    Thank you for your fast reply on this.

    In the upcoming screen (after running the command) the option "Users must enter a user name and password to use this computer" is checked already. Thought, I think that has to do with logging on this computer? And not with logging in from this computer on a fileserver, correct?

    Once I click the "Advanced" tab, and select "Manage Passwords" it does show the values I used to login on the fileserver. These I found below the "windows Credentials" header.

    I haven’t been logged in with the fileserver for an hour(?) now, and no explorer window is open that has to do with it. I deleted the credentials and opened a new explorer window to go to the fileserver. For some reason I was logged in directly (no popup for credentials). When I check the server with what credentials I logged on with, it turns out to be the credentials I deleted earlier…

    Could it be possible that these credentials are saved on another place, beside the Windows Vault?

    Thank you,

    Jeffrey

    p.s. After going to the server I checked if the credentials are saved in the Vault again. This turns out to be not true… its empty regarding to the fileserver logon…

    p.p.s. There is, i think, a slim change the Samba server reminds my pc... I disconnected from the network and reconnected again to gain another IP address. Even now I am automatically logged on with the server, and still the credentials are not visible in the Windows Vault.

    0 comments No comments
  3. Anonymous
    2010-05-27T21:48:40+00:00

    By default, Windows does not log people on automatically. Somebody actually modified the logon process to make it happen. You can undo it by running the command

    control userpasswords2

    from the Command Prompt, then ticking the box that forces users to enter a password.

    0 comments No comments