diff --git a/docs/windows/policy/en-US/tailscale.adml b/docs/windows/policy/en-US/tailscale.adml index c539eabc4..0f2f69a8b 100644 --- a/docs/windows/policy/en-US/tailscale.adml +++ b/docs/windows/policy/en-US/tailscale.adml @@ -219,6 +219,16 @@ If you enable this policy setting, you can specify which categories of network d If you disable or do not configure this policy setting, all devices will be displayed. Hiding a device from the UI does not remove it from the tailnet or block network connectivity.]]> + Hide the windowed user interface + Show the "Debug" submenu + + + + + + + + + + diff --git a/util/syspolicy/pkey/pkey.go b/util/syspolicy/pkey/pkey.go index 6124303be..1b38ed783 100644 --- a/util/syspolicy/pkey/pkey.go +++ b/util/syspolicy/pkey/pkey.go @@ -135,6 +135,9 @@ const ( LogSCMInteractions Key = "LogSCMInteractions" FlushDNSOnSessionUnlock Key = "FlushDNSOnSessionUnlock" + // HideWindowedUI is a boolean policy that hides the Windows windowed UI. + // It does not close an already-open window. + HideWindowedUI Key = "HideWindowedUI" // EncryptState is a boolean setting that specifies whether to encrypt the // tailscaled state file. // Windows and Linux use a TPM device, Apple uses the Keychain. diff --git a/util/syspolicy/policy_keys.go b/util/syspolicy/policy_keys.go index 6882c15bb..514a2f4b5 100644 --- a/util/syspolicy/policy_keys.go +++ b/util/syspolicy/policy_keys.go @@ -62,6 +62,7 @@ var implicitDefinitions = []*setting.Definition{ setting.NewDefinition(pkey.TestMenuVisibility, setting.UserSetting, setting.VisibilityValue), setting.NewDefinition(pkey.UpdateMenuVisibility, setting.UserSetting, setting.VisibilityValue), setting.NewDefinition(pkey.OnboardingFlowVisibility, setting.UserSetting, setting.VisibilityValue), + setting.NewDefinition(pkey.HideWindowedUI, setting.UserSetting, setting.BooleanValue), } func init() {