Servidor de red Microsoft: tiempo de inactividad requerido antes de suspender la sesión: valor del Registro AutoDisconnectEquipoHKLM\System\CurrentControlSet\Services\LanManServer\Parameters
- Categoría
- Configuración de seguridad › Directivas locales › Opciones de seguridad
- Ámbito
- Configuración del equipo
- Origen
- Windows 11 (versión 26H2 · 26300.9457)
Registro
AutoDisconnect
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Servidor de red Microsoft: tiempo de inactividad requerido antes de suspender la sesión
- Tipo de valor
- REG_DWORD
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] "AutoDisconnect"=dword:<introducir valor>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "AutoDisconnect" /t REG_DWORD /d "<introducir valor>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'AutoDisconnect' -PropertyType DWord -Value '<introducir valor>' -Force | Out-Null