General discussion

  • Creator
    Topic
  • #2292648

    PC logs back off after login script

    Locked

    by rob1150 ·

    I have a Windows 2003 server, and its has been working fine with me remotely
    connecting to it, until I added a logon script. Now when I logon, I enter my
    credentials, the computer accepts them, runs the logon script, (its in the
    form of a batchfile) and then immediately logs me back off again.

    The logon script is just to map some drives, that is all. I can still VPN
    into my network and then remote desktop to one of the computers behind the
    server, and then map to the server and edit the batch file for my logon
    script. I tried to put a “pause” in the logon script, and then “control – C”
    out of the batch file, but as soon as then dos window closes, then computer
    logs me back off again. For the life of me, I cannot remember what the
    Administrative password is, or I would log on with that, and then remove the
    logon script from my account, but I have no idea, why the server logs me back
    off after running the logon script.

    Any ideas would be appreciated.

All Comments

  • Author
    Replies
    • #3324478

      Reply To: PC logs back off after login script

      by curacao_dejavu ·

      In reply to PC logs back off after login script

      the only item describing something similar that I was able to find is this:
      http://tinyurl.com/jn53

      furthermore: check the eventviewer of both the pc and the server to see if they provide any hints on what’s going on.

      Leopold

    • #3337598

      Reply To: PC logs back off after login script

      by scottsman ·

      In reply to PC logs back off after login script

      do you have WINS setup on your server and the remote client that you are using to connect. DOS uses WINS to resolve the names of the servers. Try using IP addresses in your login script instead. That may work better.

      • #3337527

        Reply To: PC logs back off after login script

        by rob1150 ·

        In reply to Reply To: PC logs back off after login script

        You da man. I did not have WINS set up on my little network, so that is what was screwing me up. Here’s the points. Live long and prosper.

    • #3337526

      Reply To: PC logs back off after login script

      by rob1150 ·

      In reply to PC logs back off after login script

      This question was closed by the author

Viewing 2 reply threads