AddSystemHard.Policies.AddSystemHard• Machine
Configure the Windows Sudo command behavior
Download ADMXThis policy configures the behavior of the Sudo command introduced in Windows 11 24H2. Possible choices are: - Force a new elevated window to open (default behavior) - Disable inputs to the elevated process - Run in the current window - Disable the functionality It is recommended to use the default behavior and let the Sudo command open a new elevated window.
Policy Details
- Policy Name
- SudoCommand
- Registry Key
- SOFTWARE\Policies\Microsoft\Windows\Sudo
- Supported On
- At least Windows Server 2016, Windows 10
Configuration Elements
Select an option:
Type: enum
Allowed Values
- 1 Force a new elevated window
- 2 Disable inputs
- 3 Run in the current window
- 0 Disable the functionality