Logon interativo: limite de inatividade de computador: valor do Registro InactivityTimeoutSecsComputadorHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

Categoria
Configurações de segurança › Políticas locais › Opções de segurança
Escopo
Configuração do Computador
Fonte
Windows 11 (versão 26H2 · 26300.9457)

Registro

InactivityTimeoutSecs

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Logon interativo: limite de inatividade de computador
Tipo de valor
REG_DWORD
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"InactivityTimeoutSecs"=dword:<inserir valor>
CMD
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "InactivityTimeoutSecs" /t REG_DWORD /d "<inserir valor>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'InactivityTimeoutSecs' -PropertyType DWord -Value '<inserir valor>' -Force | Out-Null