Serwer sieci Microsoft: okres bezczynności wymagany dla wstrzymania sesji: wartość rejestru AutoDisconnectKomputerHKLM\System\CurrentControlSet\Services\LanManServer\Parameters
- Kategoria
- Ustawienia zabezpieczeń › Zasady lokalne › Opcje zabezpieczeń
- Zakres
- Konfiguracja komputera
- Źródło
- Windows 11 (wersja 26H2 · 26300.9457)
Rejestr
AutoDisconnect
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- Serwer sieci Microsoft: okres bezczynności wymagany dla wstrzymania sesji
- Typ wartości
- REG_DWORD
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] "AutoDisconnect"=dword:<wpisz wartość>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "AutoDisconnect" /t REG_DWORD /d "<wpisz wartość>" /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 '<wpisz wartość>' -Force | Out-Null