I have enabled admin sharing in the remote machine so that I can copy files to the remote machine use PSEXEC to execute our application remotely.

Now, if the machine is poweredoff we need to poweriton.
So I checked whether the remote machine, it is of both VirtualBox or VMWare one.
For VirtualBox or VMware, I have found command line utities to poweron.

But to autologon by skipping the login screen.Can anyone suggest how to do the same.If it is a physical machine, then there is no need to poweron but autologon is required.

I am trying for windows machines.Win 7 at present.

For VirtualBox I checked below link with help og guestadditions but not working.
http://www.virtualbox.org/manual/ch09.html#autologon

The below procedure will save the password in that machine and it will logon automatically.

http://www.howtogeek.com/112919/how-to-make-your-windows-8-computer-logon-automatically/

But it will give access to everyne.But my opinion is he should access only if have credentias.I mean through any commandline from another machine he should trigger logon also by passing credentials.


Similarly this also

http://www.cnet.com/how-to/automatically-log-in-to-your-windows-10-pc/

http://superuser.com/questions/28647/how-do-i-enable-automatic-logon-in-windows-7-when-im-on-a-domain

http://pcsupport.about.com/od/windows7/ht/auto-logon-windows-7.htm

http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm

https://technet.microsoft.com/en-us/magazine/ee872306.aspx

Please guide me how to proceed.
6 Comments   [ + ] Show Comments

Comments

  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • I'm not sure what you are trying to accomplish. You want the machine to auto login but not be accessible?
    • lols, I'm pretty confused as well.
  • I want to login to the remote machine through my current machine through any command like we use psexec to start launch an app on that machine.

    Along with such command I will pass credentials along with the machine name.Then only it should be accessed.

    But in the links I provided, the credentials are being saved on that remote machine registries and any user can access that.

    But I want to make it accessbile remotely only to the user who will provide the machine credentials.
    • Yes, if you setup autologin it will login to the console machine with those credentials. You should be using Remote Desktop to connect to the machine if you need GUI access.
      • Not GUI access, I am wrting a script which will do all the configurations to the machine, that is through PSEXEC.

        After that I want the machine to login autmatically if I provide same credentials using my script(with autologin registry it is able to login without credentials). If the user don't have credentials, it should not be loggedin.

        Can we do like that?
      • You can't login automatically and require the user to have credentials. That is the entire point of having them login to the computer. If you want the computer to login just once you could use a script that would set the autologin credentials and then have another script that deletes those registry keys once the login is complete.
  • But it requires a reboot after adding registries to autologin
  • Is there anyway to login without saving the credentials on that machine.
  • Hi @chucksteel

    Present I am adding the registries through PSEXEC without logging into machine.
    After saving the credentials I need to reboot the machine to autologin.

    Is there anyway to skip the reboot process like just restarting a service.??
  • If the script you a using is silent (has no user interaction) whats the faff? you provide user creds to psexec?
    • Please read the post completely
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity