0
我在其中一台客户机(运行Windows Server 2012 R2的虚拟机)上安装了Web应用程序。该应用程序使用Azure存储。出于测试目的,决定使用Azure存储模拟器。如何在没有用户登录的情况下在远程计算机上运行Azure存储模拟器
我的问题是,当我注销远程机器时,存储模拟器停止。即使没有用户登录,如何保持Azure存储模拟器运行?
我在其中一台客户机(运行Windows Server 2012 R2的虚拟机)上安装了Web应用程序。该应用程序使用Azure存储。出于测试目的,决定使用Azure存储模拟器。如何在没有用户登录的情况下在远程计算机上运行Azure存储模拟器
我的问题是,当我注销远程机器时,存储模拟器停止。即使没有用户登录,如何保持Azure存储模拟器运行?
CristisS @,有两种可能的解决方案,我可以根据您的场景进行思考,第一种是将仿真器配置为启动程序的一部分,也就是说,如果虚拟机重新启动,应用程序将自动启动,所有你需要做的就是模拟器图标添加到启动目录: 启用查看隐藏文件和文件夹 导航到:C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
有粘贴仿真器图标。
另一种解决方案是通过配置自动登录和应用程序链接到一个特定的用户允许仿真器自动连接:https://docs.microsoft.com/en-us/sysinternals/downloads/autologon
Autologon enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically.
Autologon is easy enough to use. Just run autologon.exe, fill in the dialog, and hit Enable. To turn off auto-logon, hit Disable. Also, if the shift key is held down before the system performs an autologon, the autologon will be disabled for that logon. You can also pass the username, domain and password as command-line arguments:
autologon user domain password
不幸的是,我已经从该项目,并在瞬间移动了。关于你的第一个解决方案,我已经尝试了一些类似于这种方法的方法,但它不起作用。 我认为你的第二种方法是最好的方法,但暂时不能测试。我会upvote你的答案,但不选择它作为好的,因为我无法测试。感谢你的建议! – CristisS