Oturum kapatılırken, kullanıcının çevrimdışı dosyalarının yerel kopyasını sil: kayıt defteri değeri PurgeAtLogoff ve 1 tane dahaBilgisayarHKLM\Software\Policies\Microsoft\Windows\NetCache
- İlke Kimliği
- Pol_PurgeAtLogoff
- Kapsam
- Bilgisayar Yapılandırması
- Desteklenen işletim sistemleri
- Yalnızca Windows Server 2003, Windows XP ve Windows 2000
- Kaynak
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
- Kategori
- Ağ › Çevrimdışı Dosyalar
Kayıt defteri
PurgeAtLogoff
-BilgisayarHKLM\Software\Policies\Microsoft\Windows\NetCache Geçerli anahtar
PurgeOnlyAutoCacheAtLogoff
REG_DWORDBilgisayarHKLM\Software\Policies\Microsoft\Windows\NetCache Geçerli anahtar
- İşaretli
- 1
- İşaretsiz
- 0
- Öğe
- Yalnızca geçici çevrimdışı dosyaları sil.
- Değer türü
- REG_DWORD
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Seçenekler (yalnızca birini kullanın) ; İşaretli "PurgeOnlyAutoCacheAtLogoff"=dword:00000001 ; İşaretsiz "PurgeOnlyAutoCacheAtLogoff"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın) :: İşaretli reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "PurgeOnlyAutoCacheAtLogoff" /t REG_DWORD /d 1 /f :: İşaretsiz reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "PurgeOnlyAutoCacheAtLogoff" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # İşaretli New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'PurgeOnlyAutoCacheAtLogoff' -PropertyType DWord -Value 1 -Force | Out-Null # İşaretsiz New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'PurgeOnlyAutoCacheAtLogoff' -PropertyType DWord -Value 0 -Force | Out-Null