Login script

Posted on 2012-08-31
Last Modified: 2012-09-11
Is there a way to log onto another server at boot time on my server with a batch file or script?
Question by:lrbrister
    LVL 5

    Accepted Solution

    Without knowing your OS or version, I'll take a stab that its MS. You could try this:

    Be aware that some Security Polices may prevent this.
    LVL 65

    Assisted Solution

    Hi, if you're talking about launching remote desktop to log into another system, you can follow the instuction here to create the required RDP file:

    Then, in a logon script, you can have
    mstsc <pathtoRDPfile>

    to run it.



    Author Closing Comment

    Sorry for the late reply guys.
    Was pulled off to another project and forgot about this question.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now