How can i set LogonCount to infinity?

Chiara Borrelli 0 Reputation points
2025-04-03T15:54:15.6266667+00:00

I'm using an unattend.xml (answer file) and i want to set the Autologon.

I used this link: https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-autologon.

My problem is that the LogonCount must be set to infinity.
Is it possible to set it to infinite?

If I don't enter the LogonCount parameter in my XML instead? Will it give me an error?

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
2,022 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.