New Question
0

how can I turn off the administrator autologin?

asked 2020-08-21 15:15:23 +0300

my config: [DEFAULT] username=Administrator groups=Administrators injectuserpassword=true firstlogonbehaviour=always configdriverawhhd=true configdrivecdrom=true configdrivevfat=true bsdtarpath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe mtoolspath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\ verbose=true debug=true logdir=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log\ logfile=cloudbase-init.log defaultloglevels=comtypes=INFO,suds=INFO,iso8601=WARN,requests=WARN loggingserialportsettings= mtuusedhcpconfig=true ntpusedhcpconfig=true localscriptspath=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts\ metadataservices=cloudbaseinit.metadata.services.ovfservice.OvfService plugins=cloudbaseinit.plugins.windows.createuser.CreateUserPlugin,cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin,cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin,cloudbaseinit.plugins.common.userdata.UserDataPlugin checklatest_version=true

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-08-24 20:57:05 +0300

avladu gravatar image

Hello,

There should be no autologin if the image has been properly created using the Windows Imaging tools.

If you used https://github.com/cloudbase/windows-... make sure to check the documentation before starting the process.

New-WindowsCloudImage: This command does not require Hyper-V to be enabled, but the generated image is not ready to be deployed, as it needs to be started manually on another hypervisor. The image is ready to be used when it shuts down.

If you are creating an image for VMware, the process is more cumbersome and I suggest to use an already prepared image and not use the VMware image creation process in tandem with the Windows Imaging Tools.

You might be hitting the same problem better explained here:

https://github.com/cloudbase/cloudbas...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-08-21 15:15:23 +0300

Seen: 117 times

Last updated: Aug 24