De opgegeven stations verbergen in Deze computer: registerwaarde NoDrivesGebruikerHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Beleids-ID
NoDrives
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows 2000
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Bestandenverkenner

Register

NoDrives

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Kies een van deze combinaties
Opties
ItemOpgeslagen waarde
Beperken tot alleen stations A en B3
Beperken tot alleen station C4
Beperken tot alleen station D8
Beperken tot alleen stations A, B en C7
Beperken tot alleen stations A, B, C en D15
Alle stations beperken67108863
Stations niet beperken0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

; Opties (gebruik er maar één)
; Beperken tot alleen stations A en B
"NoDrives"=dword:00000003
; Beperken tot alleen station C
"NoDrives"=dword:00000004
; Beperken tot alleen station D
"NoDrives"=dword:00000008
; Beperken tot alleen stations A, B en C
"NoDrives"=dword:00000007
; Beperken tot alleen stations A, B, C en D
"NoDrives"=dword:0000000f
; Alle stations beperken
"NoDrives"=dword:03ffffff
; Stations niet beperken
"NoDrives"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Beperken tot alleen stations A en B
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 3 /f
:: Beperken tot alleen station C
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 4 /f
:: Beperken tot alleen station D
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 8 /f
:: Beperken tot alleen stations A, B en C
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 7 /f
:: Beperken tot alleen stations A, B, C en D
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 15 /f
:: Alle stations beperken
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 67108863 /f
:: Stations niet beperken
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Force | Out-Null

# Opties (gebruik er maar één)
# Beperken tot alleen stations A en B
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 3 -Force | Out-Null
# Beperken tot alleen station C
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 4 -Force | Out-Null
# Beperken tot alleen station D
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 8 -Force | Out-Null
# Beperken tot alleen stations A, B en C
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 7 -Force | Out-Null
# Beperken tot alleen stations A, B, C en D
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 15 -Force | Out-Null
# Alle stations beperken
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 67108863 -Force | Out-Null
# Stations niet beperken
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'NoDrives' -PropertyType DWord -Value 0 -Force | Out-Null