在启动/重新启动时自动登录 [英] Autologin at Start / Reboot
问题描述
我正在尝试将我的VM设置为在启动或重新引导时自动登录.该设置通常可以在我的本地计算机或专用服务器上运行,但不能在Azure上运行.我尝试了以下方法:
I'm trying to set up my VM to automatically login when started or rebooted. The setup usually works on my local computer or on a dedicated server but not with Azure. I've tried the following methods:
1.取消选中用户必须输入用户名和密码才能使用此计算机".转到"control.exe userpasswords2"后/ netplwiz运行.
1. Unchecking ""Users must enter a user name and password to use this computer" after going to "control.exe userpasswords2" / netplwiz on Run.
2.不需要本地安全策略"下的Ctrl + Alt + Delete.
2. Not requiring Ctrl+Alt+Delete under Local Security Policy.
3.在注册表中启用自动登录,并包括用户/密码.
3. Enabling auto-login in registry along with including user/pw.
要在Azure上运行此功能,我们还需要做其他事情吗?另外,是否有运行手册或其他方法可在VM启动时自动登录?
Is there something else we need to do to get this working on Azure? Alternatively is there a runbook or other method to automatically login when a VM is started?
推荐答案
这不是您可以实现的目标天蓝色.登录后,您可以使服务器保持登录状态,尽管我不建议这样做,因为这样做存在安全隐患.
This isnt something you are able to achieve in Azure. Once logged on you can make it so the server remain in logged in mode although I would not suggest that as it is a security risk.
有关详细信息,请参见此问题:> https://github.com/MicrosoftDocs/azure-docs/issues /17433
See this issue for details: https://github.com/MicrosoftDocs/azure-docs/issues/17433
您要达到的最终目标是什么?
What is the end goal that you are trying to achieve?
这篇关于在启动/重新启动时自动登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!