Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Betriebssysteme (https://www.delphipraxis.net/27-betriebssysteme/)
-   -   Verflucht: Autoplay für externe Festplatte abschalten (https://www.delphipraxis.net/118130-verflucht-autoplay-fuer-externe-festplatte-abschalten.html)

Zacherl 1. Aug 2008 00:04


Verflucht: Autoplay für externe Festplatte abschalten
 
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 :wall:

Gruß Zacherl

SirThornberry 1. Aug 2008 05:59

Re: Verflucht: Autoplay für externe Festplatte abschalten
 
ich könnte mir vorstellen das du beim eintragen zwar 1024 getippt hast aber dabei Hexdecimal ausgewählt war. Hexdecimal wäre es jedoch die 400

Zacherl 1. Aug 2008 11:10

Re: Verflucht: Autoplay für externe Festplatte abschalten
 
Leider nein. Beide Werte sowohl untrer HKCU als auch unter HKLM haben den Hex Wert 0x400 und den Dezimalwert 1024. Dennoch startet Autoplay =/

omata 1. Aug 2008 13:29

Re: Verflucht: Autoplay für externe Festplatte abschalten
 
Schonmal Tweak versucht? hier, hier

Phantom1 1. Aug 2008 14:10

Re: Verflucht: Autoplay für externe Festplatte abschalten
 
Warum so kompliziert?

einfach "Systemsteuerung" -> "Standardprogramme" -> "Einstellungen für automatische Wiedergabe ändern"

mfg

Zacherl 1. Aug 2008 14:16

Re: Verflucht: Autoplay für externe Festplatte abschalten
 
@Phantom1: Das ist nicht das was ich meinte.

Grr hab mitlerweile auch den Fehler gefunden :wall:

Zitat:

System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\
Explorer]
Hatte ganz einfach das "Explorer" überlesen :roll:

Danke an alle! Gruß
Zacherl


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:32 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz