Windows Server TechCenter > Windows Server Forums > Terminal Services > "Password is invalid" when attempting to connect to a disconnected session using server 2008
Ask a questionAsk a question
 

Answer"Password is invalid" when attempting to connect to a disconnected session using server 2008

  • Tuesday, June 30, 2009 6:41 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Why do I get a password is invalid when I try to connect to a disconnected user session? (Of course the password I am using is correct).

    From what I can tel the security log reports the user as having logged on successfully, and then logged off.

    I've even tested with the "disconnected user" being a domain administrator and I get this error.

    Thanks in advance.

    •  

Answers

  • Wednesday, July 15, 2009 5:49 PMMoshe Z [MSFT]MSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Are you trying to reconnect to a disconnectd RemoteApp session from TS manager?
    If so, that's not working by design, as you can't switch between RemoteApp & Full-Desktop sessions.
    (The error message could be better, note is taken).

  • Thursday, July 16, 2009 1:40 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I tested and found out that if I create a remoteapp for tsadmin.msc that I can then connect the the remote application sessions, but not as a desktop session.

    Yes a better error message would have been appreciated :-).

All Replies

  • Wednesday, July 01, 2009 8:00 AMAlex a.k.a Dr.Conti [MVP]MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    it was one of the three..

    please check if the setting in Terminal Server Configuration, RDP Setting -> Network Adapter -> "Maximum connections" allowe setting. - must be over 1.

    Also the Session Tad -> Allow reconnection from:

    and

    Terminal Server Configuration -> Server Configuration -> Restrict each user to one session.
  • Wednesday, July 01, 2009 12:47 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Ok I've check these out:

    Terminal Server Configuration, RDP Setting -> Network Adapter -> "Maximum connections" -->  This is set to "Unlimited"

    The selection for "Allow Reconnection from" is on my 2003 servers, howerver it is not present on my 2008 platform.

    I removed the restriction for each user to only have 1 session.

    I still get the error. Any other thoughts?

    How do I set the "Allow Reconnection from" setting on a 2008 server?
  • Wednesday, July 01, 2009 1:12 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The user does have the "Allow Reconnection from" setting and it is set to "Any client"
  • Wednesday, July 01, 2009 4:49 PMAlex a.k.a Dr.Conti [MVP]MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Do you have a Farm actually?


    Citrix Technology Professional, PubForum.net Founder , Love Microsoft &its people to bits!
  • Wednesday, July 01, 2009 5:00 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Single Server only, no Farm.
  • Wednesday, July 01, 2009 5:08 PMAlex a.k.a Dr.Conti [MVP]MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Did you configured the licensing properly? Like
    can a client get a license? Does the client get a license?
    Are you per Device licensing? Are you trying to connect
    on to a normal user session with Admin account?



    Citrix Technology Professional, PubForum.net Founder , Love Microsoft &its people to bits!
  • Wednesday, July 01, 2009 7:54 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm per user licensing.  The user works fine then disconnects, then I want to connect with my administratrive user.  I'm in Terminal Services Manager when I do this.  I right click on their name, choose connect, supply the password and then get the "password is invalid" response.

    Thanks for working with me!
  • Wednesday, July 01, 2009 8:00 PMAlex a.k.a Dr.Conti [MVP]MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Oh I see.
    I believe it is by design so. You can only connect to a disconnected users session with his credentials.

    MSFT may correct me.

    MSFT?


    P.S: last thing to try is to connect to the server with RDP and try from there. If the result is the same - see above.




    Citrix Technology Professional, PubForum.net Founder , Love Microsoft &its people to bits!
  • Thursday, July 02, 2009 7:52 PMChrista AndersonMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi, Ben,

    That setting does not apply to RDP, which is why you don't see it in the 2008 UI.

    Alex is correct that if you're attempting to connect to another user's session then you will need to provide their credentials. You can use your Administrator credentials to shadow another session (if you've enabled shadowing) but need the session owner's to actually connect.

    Hope this helps,
    Christa


    Christa Anderson [MSFT]
  • Monday, July 06, 2009 11:53 AMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm Just back from the holiday weekend.

    Thanks for all the suggestions so far.

    I am using the user's credentials I want to connect to.
  • Thursday, July 09, 2009 9:16 PMChrista AndersonMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, Ben,

    Are you having this problem with all users you try to connect to or just one? I just attempted to reproduce the problem with the following steps:

    1. Connect with Account1.
    2. Connect to the same server with Account2
    3. Disconnect Account1.
    4. From the Account2 session, right-click on Account1 in TS Manager and choose Connect.
    5. Supply the password when prompted.

    At that point, Im in the session and Account2 is disconnected. The only time I see the error message you cite is if I deliberately type the wrong password. Sorry to have to ask you this, but can you double-check that you're not using the Account2 password to connect to an Account1 session and confirm the steps you're following?

    Thanks,
    Christa


    Christa Anderson [MSFT] You can get the WS08 Terminal Services Resource Kit at http://www.amazon.com/gp/product/0735625859.
  • Tuesday, July 14, 2009 3:22 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Checked and checked again.

    Are you testing on a 2008 platform or 2003?

    My 2003 servers work just fine.
  • Tuesday, July 14, 2009 3:59 PMChrista AndersonMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for confirming, Ben. I was using WS08. I'll see if we can find out what's happening here, since following the steps I provided should work.
    Christa Anderson [MSFT] You can get the WS08 Terminal Services Resource Kit at http://www.amazon.com/gp/product/0735625859.
  • Tuesday, July 14, 2009 8:40 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you for all your efforts.

    I'd be willing to let you on the machine since it is a non-production server, if you wanted to poke around.

    I just had a thought and tested it.

    When I have a "full desktop" session I can connect to it.

    When it is a "remoteapp" I cannot.

    I'm used to my 2003 Citrix environment where I can connect to "seamless windows" sessions.

    Why wouldn't I be able to do the same thing in 2008 for " remoteapp" sessions?

    Once again "full desktop" I can connect, "remoteapp" I cannot, I get the "password is invalid".

    Thanks for the resource kit link, I ordered it.
  • Wednesday, July 15, 2009 5:59 AMGorlaz Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Try using the fully qualified user name; eg domain\username. I was getting invalid password errors using just username.
  • Wednesday, July 15, 2009 5:49 PMMoshe Z [MSFT]MSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Are you trying to reconnect to a disconnectd RemoteApp session from TS manager?
    If so, that's not working by design, as you can't switch between RemoteApp & Full-Desktop sessions.
    (The error message could be better, note is taken).

  • Thursday, July 16, 2009 1:40 PMBen Hunsberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I tested and found out that if I create a remoteapp for tsadmin.msc that I can then connect the the remote application sessions, but not as a desktop session.

    Yes a better error message would have been appreciated :-).