One of the things I enjoy most about the homelab community is discovering small projects that solve real problems.
This week I came across WinLocalLogon, a simple but incredibly useful batch script created by a Homelab Club community member, my tech inspirator, and friend of mine, Frank Bastiaens.
If you've ever installed Windows 11 for a new homelab project, you've probably run into Microsoft's forced online sign-in experience. When you're building a lab, testing virtual machines, or creating disposable environments, you often don't want to connect a Microsoft account. You simply want a local Administrator account and get started.
That's exactly what WinLocalLogon does.
You can find the project here:
🔗 https://github.com/Starf0x/WinLocalLogon
Quick walkthrough:
1️⃣ Download EnableLocalLogon.cmd from the GitHub repository.
2️⃣ Copy it to a USB stick (or mount it in your virtual machine).
3️⃣ Start installing Windows 11.
4️⃣ When the Microsoft account sign-in screen appears, press Shift + F10 to open Command Prompt.
5️⃣ Switch to your USB drive: cd D:
6️⃣ Run: EnableLocalLogon.cmd
7️⃣ Press Enter when prompted and create a password for the local administrator account.
8️⃣ Windows may display: "This user can't sign in because this account is currently disabled.". Simply click OK.
9️⃣ Sign in using the LocalAdmin account with the password you just created.
That's it!
You now have a local Administrator account and can continue building your homelab without linking a Microsoft account.
Projects like this are a perfect example of why I love the homelab community. Simple idea, practical solution, and shared freely to help others.
Huge thanks to the creator Frank for making this available!
#Homelab #Windows11 #SysAdmin #ITPro #Virtualization #GitHub #PowerShell #Windows #SelfHosting #HomeLabClub
0 comments