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


barreleye

Well-known member
Member
VIP
Local time
8:27 PM
Posts
226
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 2021 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, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

    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 Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB 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 Latitude 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. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. 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 Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB 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
Hi I am having this exact issue on my Hyper-V machine, Barreleye I am begging you did you figure out the solution?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    SBC
Hi I am having this exact issue on my Hyper-V machine, Barreleye I am begging you did you figure out the solution?

No, it's the same.

Another problem unique to Hyper-V is that when I restore the fullscreen Enhanced Session window from the minimized state, the entire window or various large areas of it often appear black. I typically press the Start button on my keyboard to restore enough of it to see what I'm doing, and continuing to interact with the window restores visibility of the rest. My understanding is that this is a Remote Desktop window, but it never happens with my two physical machines I access with Remote Desktop on the same Windows 11 machine I use as Hyper-V host. I googled the problem and tried clearing some cache files people mentioned, but it didn't help.

VMware Workstation has neither of these problems, but Hyper-V runs my Windows 10 and 11 VMs noticeably faster, and Hyper-V fullscreen windows pick up the keyboard focus when switched to, while VMware requires clicking in the window. Thus, I've switched to Hyper-V for most purposes.
 

My Computer

System One

  • OS
    Windows 11
VMware Workstation has neither of these problems, but Hyper-V runs my Windows 10 and 11 VMs noticeably faster
Do you have the latest vmware tools installed?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Built
    CPU
    Ryzen 7 5700 X3D
    Motherboard
    MSI MPG B550 GAMING PLUS
    Memory
    64 GB DDR4 3600mhz Gskill Ripjaws V
    Graphics Card(s)
    RTX 4070 Super , 12GB VRAM Asus EVO Overclock
    Monitor(s) Displays
    Gigabyte M27Q (rev. 2.0) 2560 x 1440 @ 170hz HDR
    Hard Drives
    2TB Samsung nvme ssd
    2TB XPG nvme ssd
    PSU
    CORSAIR RMx SHIFT Series™ RM750x 80 PLUS Gold Fully Modular ATX Power Supply
    Case
    CORSAIR 3500X ARGB Mid-Tower ATX PC Case – Black
    Cooling
    ID-COOLING FROSTFLOW X 240 CPU Water Cooler
    Internet Speed
    900mbps DOWN, 100mbps UP
  • Operating System
    Chrome OS
    Computer type
    Laptop
    Manufacturer/Model
    HP Chromebook
    CPU
    Intel Pentium Quad Core
    Memory
    4GB LPDDR4
    Monitor(s) Displays
    14 Inch HD SVA anti glare micro edge display
    Hard Drives
    64 GB emmc
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?
Best you can do in Hyper-V is login on guest with a local account and password. You will still get a sign-in button to press.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
Back
Top Bottom