Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8285213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:24:43+00:00 2026-06-08T11:24:43+00:00

Hi I want to login to a server automatically. For that I need a

  • 0

Hi I want to login to a server automatically. For that I need a batch file that will handle mouse clicks and logs into the system depending on pixels of the server. Can anyone give an example for this?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:24:45+00:00Added an answer on June 8, 2026 at 11:24 am

    You can’t do that in batch. Unless you are just calling a low level program in the script that does this, or P/Invoking DLL’s from C# (question tagged with C#?).

    If you want the server to log in automatically when it boots up, you can modify values in this registry key

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    You need to set AutoAdminLogon to 1. Then set DefaultUsername and DefaultPassword accordingly.

    This batch file will set those keys (requires admin rights)

    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUsername" /d "yourusername" /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "yourpassword" /f
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a webpage that I only want a specific group to log into.
I want to automatically login on a website (POST with cookie) then fill a
I'm implementing a login/authentication system for my little server-client program. I'm wondering how to
I want to develop one application where it will automatically (based on some logic)
I want to get list of Domino Servers on the network, and accordingly login
I want to login to Amazon seller central programmatically with C#. I don't want
I want to implement login using facebook in my windows phone 7.1 application When
I want to support login with an MSN account but MSN doesn't support OpenID.
I want to create login and password fields same as in facebook app for
on my web site I want to have login/registration form in modal window done

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.