System Add or Remove Power Button on Sign-in Screen in Windows 11


Power_banner.png

This tutorial will show you how to add or remove the Power button on the sign-in screen for all users in Windows 10 and Windows 11.

The Power button on the sign-in screen can allow users to sleep, hibernate, shut down, or restart the computer without having to sign in to Windows.

The Shutdown: Allow system to be shut down without having to log on security policy setting determines whether a device can be shut down without having to log on to Windows.

Reference:


You must be signed in as an administrator to add or remove the Power button on the sign-in screen.

This does not apply to the Lock screen (Win+L).



Contents

  • Option One: Add or Remove Power Button on Sign-in Screen in Local Security Policy
  • Option Two: Add or Remove Power Button on Sign-in Screen using REG file


EXAMPLE: Power button on sign-in screen

Power_button_on_sign-in_screen.jpg





Option One

Add or Remove Power Button on Sign-in Screen in Local Security Policy


Local Security Policy is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Two to set the same policy.


1 Open Local Security Policy (secpol.msc).

2 Expand open Local Policies in the left pane, and click/tap on Security Options. (see screenshot below)

Power_button_on_sign-in_screen_secpol-1.png

3 In the right pane of Security Options, double click/tap on the Shutdown: Allow system to be shut down without having to log on policy to open its properties. (see screenshot above)

4 Select (dot) Enabled (add - default) or Disabled (remove) for what you want, and click/tap on OK. (see screenshot below)

Power_button_on_sign-in_screen_secpol-2.png

5 You can now close Local Security Policy if you like.




Option Two

Add or Remove Power Button on Sign-in Screen using REG file


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.

2 Add Power Button to Sign-in Screen

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Power_button_to_sign-in_screen.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"shutdownwithoutlogon"=dword:00000001

3 Remove Power Button from Sign-in Screen

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Power_button_from_sign-in_screen.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"shutdownwithoutlogon"=dword:00000000

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You could now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
I noticed my power button was missing so I tried this.
Rebooted and it wasn't there.
Not holding my mouth right?
Secpol'ed it again and checked the registry - definitely there and set correctly.
So I logged out to try it. Yes it IS there (but only appears when the password box is up).
OK - shutdown for the day, but today it's not there and the reg key is set to not defined again.
Sounds like something is overriding this...
Any ideas?
The joys of 24H2 strike again?
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
I noticed my power button was missing so I tried this.
Rebooted and it wasn't there.
Not holding my mouth right?
Secpol'ed it again and checked the registry - definitely there and set correctly.
So I logged out to try it. Yes it IS there (but only appears when the password box is up).
OK - shutdown for the day, but today it's not there and the reg key is set to not defined again.
Sounds like something is overriding this...
Any ideas?
The joys of 24H2 strike again?

Hello mate, :alien:

Normally, the Power button should be on the Sign-in screen by default. It's only removed if the policy is set to disabled.

Just to note, this is not for the Lock screen you see before the Sign-in screen. The Lock screen only has the network and battery (if applicable) icon.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Normally, the Power button should be on the Sign-in screen by default

It should be but it's not, which is why I'm trying to enable it. It's being altered by a restart.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
It should be but it's not, which is why I'm trying to enable it. It's being altered by a restart.

Do you have any other policies configured that remove items in the Power menu?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Nope.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite

You could test resetting secpol settings to default like below to see if it may allow the setting to stick afterwards.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I enabled the default Administrator account, logged in and changed the setting.
Seemed to work.
I have the sign in screen with 2 user choices, with the Power option now showing.
Give it a few days and we'll see if it holds.
Prolly 24H2 weirdness, like my prior Gpedit issue.
Jan rollup may fix it all. Heh.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
I enabled the default Administrator account, logged in and changed the setting.
Seemed to work.
I have the sign in screen with 2 user choices, with the Power option now showing.
Give it a few days and we'll see if it holds.
Prolly 24H2 weirdness, like my prior Gpedit issue.
Jan rollup may fix it all. Heh.
Fingers crossed.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Disappeared again...:rolleyes:
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Ok, I've been trying to find a solution for this for a month but no luck.
Looking at defltbase.inf, it's set to 4,1 which is correct. 4=Dword 32 bit, value 1, so no point resetting security prefs.
Verbose logging security policies during boot and examining with event viewer, I did notice this:
"Group Policy receiving applicable GPOs from the domain controller"
It apparently applied said GPO's too.
This pc is not on a domain and never has been, ditto for a LAN or WAN, excluding wifi for internet.
Weird. Maybe just Windows silliness.
So I disabled the wifi adaptor, enabled power button again in Secpol, and rebooted. No difference.
I think I'll go above Administrator privileges and go System. :eek1:
I suspect the cause is there.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
Ok, I've been trying to find a solution for this for a month but no luck.
Looking at defltbase.inf, it's set to 4,1 which is correct. 4=Dword 32 bit, value 1, so no point resetting security prefs.
Verbose logging security policies during boot and examining with event viewer, I did notice this:
"Group Policy receiving applicable GPOs from the domain controller"
It apparently applied said GPO's too.
This pc is not on a domain and never has been, ditto for a LAN or WAN, excluding wifi for internet.
Weird. Maybe just Windows silliness.
So I disabled the wifi adaptor, enabled power button again in Secpol, and rebooted. No difference.
I think I'll go above Administrator privileges and go System. :eek1:
I suspect the cause is there.
if you cant get it to work properly, read my post #10 here to add one manually:

 

My Computer

System One

  • OS
    Windows 11 Pro
Thanks for the suggestion but I prefer to fix the problem without disabling features, even if I don't need them.
The system privileges access at logon is interesting though.:cool:
I did a search but couldn't find a way to ADD an option (like shutdown) to the "ease of access" button, as that would be a decent solution.
In the realm of hackers for that one.
Maybe next week's patch rollout will fix it coincidentally.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
Thanks for the suggestion but I prefer to fix the problem without disabling features, even if I don't need them.
The system privileges access at logon is interesting though.:cool:
I did a search but couldn't find a way to ADD an option (like shutdown) to the "ease of access" button, as that would be a decent solution.
In the realm of hackers for that one.
Maybe next week's patch rollout will fix it coincidentally.
Check this registry entry

here's a breakdown of what you want to do with the above (in case you dont know):

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Embedded
  2. New > Key and name it “EmbeddedLogon”
  3. Right-click EmbeddedLogon folder in the left-hand pane and select New > DWORD (32-bit) Value and name it “BrandingNeutral
  4. Double-click BrandingNeutral and in the Value data box enter a decimal value listed below
  5. Click OK and close the Registry Editor.
  6. Restart the computer.
Values

The following table shows the possible values. You can combine these values using bitwise exclusive-OR logic to disable multiple Welcome screen UI elements.

Value Description

1 Disables all Welcome screen UI elements.

2 Disables the Power button.

4 Disables the Language button.

8 Disables the Ease of access button.

16 Disables the Switch user button.

17 Disables all Welcome screen UI elements and the Switch user button.

32 Disables the blocked shutdown resolver (BSDR) screen so that restarting or shutting down the system causes the OS to immediately force close any applications that are blocking system shut down. No UI is displayed and users are not given a chance to cancel the shutdown process. This can result in a loss of data if any open applications have unsaved data.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro
Check this registry entry

here's a breakdown of what you want to do with the above (in case you dont know):

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Embedded
  2. New > Key and name it “EmbeddedLogon”
  3. Right-click EmbeddedLogon folder in the left-hand pane and select New > DWORD (32-bit) Value and name it “BrandingNeutral
  4. Double-click BrandingNeutral and in the Value data box enter a decimal value listed below
  5. Click OK and close the Registry Editor.
  6. Restart the computer.
Values

The following table shows the possible values. You can combine these values using bitwise exclusive-OR logic to disable multiple Welcome screen UI elements.

Value Description

1 Disables all Welcome screen UI elements.

2 Disables the Power button.

4 Disables the Language button.

8 Disables the Ease of access button.

16 Disables the Switch user button.

17 Disables all Welcome screen UI elements and the Switch user button.

32 Disables the blocked shutdown resolver (BSDR) screen so that restarting or shutting down the system causes the OS to immediately force close any applications that are blocking system shut down. No UI is displayed and users are not given a chance to cancel the shutdown process. This can result in a loss of data if any open applications have unsaved data.

Hello, today I accidentally came across the Device Lockdown -> Custom Logon feature in the Windows Features list.
After reading the article about BrandingNeutral that you also linked, I tried several values/combined values for BrandingNeutral and none worked.
I guess this registry entry is deprecated.
Microsoft Forums Question/Confirmation

PS: I'm new so please correct me if I'm wrong.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 2700X
    Motherboard
    Asus Prime X470-Pro
    Memory
    Vengeance RGB Pro 32GB DDR4-2933 CL16 (CMW32GX4M2Z2933C16)
    Graphics Card(s)
    Nvidia RTX 3060 12GB
    Monitor(s) Displays
    1 Philips 288P6LJe +2 Eizo FlexScan M1700
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 980 Pro M.2 1TB
    Samsung SSD 860 Evo 500GB
    Samsung SSD 830 128GB
    Toshiba HDD 500GB
    +NAS
    PSU
    Thermaltake Berlin 630W
    Keyboard
    Logitech G15 'MK1'
    Mouse
    Razer Copperhead 'Chaos Green'
Checked it ages ago but it's not applicable to W11 PRO in any case, being Education/Enterprise BrandingNeutral options.

If I enable power button on logon screen and logout, it's there. Login, check registry - value still set. Logoff again, there.
Login, registry value intact. Reboot and bye bye power button most times.
I found that the value also changes from a Dword to a string.
Strange plus.
Something is changing it, but so far I don't know what.
Shutdownwithoutlogon isn't in .POL files so deleting and recreating them would be pointless, plus it seems that POL files are largely deprecated.
ProcessMonitor didn't turn up anything.
I went through the registry with System privileges and didn't find anything.
Disabled AV - no difference.
Disabled all startup 3rd party apps - no difference.
Check startup/shutdown/logout scripts - nothing.
Checked and fiddled with a few Windows security features - no fix.
Just looking at the issue again today and when I run either Gpedit.msc or Secpol.msc I can't seem to see either in Task Manager.
You'd think "Group policy editor" or "gpedit" but no.
Anyone know what they're called?
I want to check file i/o to see what they're changing apart from the registry.

Next up - check the registry value in safe mode to see if it's being changed during shutdown.
I'll scan the file contents of every single file on the system to find any references to the key value if I have to. :mad:
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
Use a batch to create the dword and set as a scheduled task to run at boot whether user is logged on or not and set if to run as SYSTEM. Then even if it gets changed it should be auto recreated
 

My Computer

System One

  • OS
    Windows 11 Pro
Use a batch to create the dword and set as a scheduled task to run at boot whether user is logged on or not and set if to run as SYSTEM. Then even if it gets changed it should be auto recreated

I had thought of that but I'm not sure at what point in the boot process it'd be executed.
The Win11 kernel loads the registry so it'd need to be before that, but does Task Scheduler allow that timing?
A custom driver would do it, but that's overkill.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    LG
    CPU
    i7 Ultra
    Memory
    16GB
    Graphics Card(s)
    Intel
    Sound Card
    Intel Realtek
    Monitor(s) Displays
    Laptop 17" & TB4 Dell 27" QHD Ultrasharp w/integral TB4 hub
    Screen Resolution
    2560x1600
    Hard Drives
    1TB SSD, 5 external WDs
    Mouse
    Logitech Master MX 3S
    Browser
    Vivaldi
    Antivirus
    Kaspersky Premium Suite
you can try this to create a task that launches at computer startup. i've only ever used it for powershell ps1, but you can try a batch. i changed powershell.exe to cmd.exe. just replace with your TaskName and your path\to\batchfile

Code:
schtasks /create /tn "TaskName" /sc onstart /delay 0000:01 /rl highest /ru system /tr "cmd.exe -file C:\Path\to\Script"
 

My Computer

System One

  • OS
    Windows 11 Pro

Latest Support Threads

Back
Top Bottom