Is it possible to avoid sign-in screen in Hyper-V


barreleye

Well-known member
Member
Local time
10:14 PM
Posts
184
OS
Windows 11
I've got Windows 11 Pro 23H2 running under Hyper-V on Windows 11 Pro 23H2, and I've configured the VM with a password-less local account. I would like to avoid the Sign In screen at all times, and although I've disabled password entry with netplwiz and enabled NoLockScreen in the registry, I'm only avoiding it when I restart Windows from inside the VM. If I shut Windows down and restart it, or I save the VM and restart it, I get the Sign In screen. I managed to solve this problem in VMware Player for both Windows 11 and 10 VMs, but Hyper-V has got me flummoxed. Any ideas?
 

My Computer

System One

  • OS
    Windows 11
I've got Windows 11 Pro 23H2 running under Hyper-V on Windows 11 Pro 23H2, and I've configured the VM with a password-less local account. I would like to avoid the Sign In screen at all times, and although I've disabled password entry with netplwiz and enabled NoLockScreen in the registry, I'm only avoiding it when I restart Windows from inside the VM. If I shut Windows down and restart it, or I save the VM and restart it, I get the Sign In screen. I managed to solve this problem in VMware Player for both Windows 11 and 10 VMs, but Hyper-V has got me flummoxed. Any ideas?
It's nothing to do with Hyper-V, it's a setting in the sign-in options for Windows. The setting is only visible though if the account has a password, so temporarily set one, then use Option Three in this tutorial. Once you have set 'If you've been away, when should Windows require you to sign in again?' to 'Never' you can remove the password, the setting will remain in place.

 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, Canary, and Release Preview builds as a native boot .vhdx.
It's nothing to do with Hyper-V, it's a setting in the sign-in options for Windows. The setting is only visible though if the account has a password, so temporarily set one, then use Option Three in this tutorial. Once you have set 'If you've been away, when should Windows require you to sign in again?' to 'Never' you can remove the password, the setting will remain in place.

The option still doesn't show up after setting password and rebooting.
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Back
Top Bottom