Einzelnen Beitrag anzeigen

Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#1

Verflucht: Autoplay für externe Festplatte abschalten

  Alt 1. Aug 2008, 00:04
Hey,

ich bin grade nahe am Rand der Verzweifelung. Habe mein Vista mal wieder neu aufgesetzt und bekomme es nun nicht mehr hin, den Autoplay für meine Externe abzuschalten. Früher hatte ich es irgendwie immer hinbekommen, indem ich die NoDriveAutorun Police verändert habe.

Welchen Wert muss ich eintragen, um Laufwerk K vom Autoplay auszuschließen?

Folgendes habe ich gefunden:

Zitat:
Open your registry and find or create the key below.

The "NoDriveAutoRun" value uses a 32-bit word to control which drives the AutoPlay feature is enabled on. The lower 26 bits of the 32-bit word correspond to drive letters A through Z. If a bit is set to 0, the autorun feature is enabled on that drive. If a bit is set to 1, the autorun feature is disabled on that drive.

If your not happy working in Hex, add these decimal numbers to specify the drive(s):

A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863

For example to disable AutoRun on drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to "9".

To disable all the drives set the value to "67108863".

Restart Windows for the change to take effect.
Zitat:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\
Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\
Explorer]
Value Name: NoDriveAutoRun
Data Type: REG_DWORD (DWORD Value)
Value Data: 32-bit bitmask
Nach deren Beschreibung habe ich den Wert 1024 (Dec) eingetragen und neugestartet. Autoplay ist allerdings nach wie vor für Laufwerk K aktiviert

Gruß Zacherl
  Mit Zitat antworten Zitat