zeroblue2005

Eine Batch um eine Festplatte zu inialisieren bzw. aktivieren?

Hallo Zusammen,

möchte gerne eine Festplatte aus einem Wechselrahmen sicher einfernen können! Das klappt auch wunderbar! Habe ein gutes Teil gefunden! Nur ist das Ganze ein Server und um die Platte wieder täglich aus Backup gründen getauscht. Verständlich weise, wird ja der Server nicht täglich neu gestartet, daher muss ich die Platte immer von Hand im Gerätemanager einmal deaktivieren und aktivieren. Dann wird diese sofort wieder initialisiert!

Meine Frage kann ich das auch anders lösen via Batch oder so hat da einer eine Idee?

Danke
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 229283

Url: https://administrator.de/forum/eine-batch-um-eine-festplatte-zu-inialisieren-bzw-aktivieren-229283.html

Ausgedruckt am: 06.07.2025 um 14:07 Uhr

bastla
bastla 10.02.2014 um 19:20:01 Uhr
Hallo zeroblue2005!

Du könntest es zB mit dem folgenden Programm versuchen: HotSwap!

Einen einmaligen Neustart nach der Installation wird's aber vermutlich brauchen.

Grüße
bastla
Endoro
Endoro 10.02.2014 um 22:07:33 Uhr
Hey,

M$ hat dafür devcon erfunden:
Device Console Help:
devcon [-r] [-m:\\<machine>] <command> [<arg>...]
-r if specified will reboot machine after command is complete, if needed.
<machine> is name of target machine.
<command> is command to perform (see below).
<arg>... is one or more arguments if required by command.
For help on a specific command, type: devcon help <command>
classfilter          Allows modification of class filters.
classes              List all device setup classes.
disable              Disable devices that match the specific hardware or instance ID.
driverfiles          List driver files installed for devices.
drivernodes          Lists all the driver nodes of devices.
enable               Enable devices that match the specific hardware or instance ID.
find                 Find devices that match the specific hardware or instance ID.
findall              Find devices including those that are not present.
help                 Display this information.
hwids                Lists hardware ID's of devices.
install              Manually install a device.
listclass            List all devices for a setup class.
reboot               Reboot local machine.
remove               Remove devices that match the specific hardware or instance ID.
rescan               Scan for new hardware.
resources            Lists hardware resources of devices.
restart              Restart devices that match the specific hardware or instance ID.
sethwid              Modify Hardware ID's of listed root-enumerated devices.
stack                Lists expected driver stack of devices.
status               List running status of devices.
update               Manually update a device.
updateni             Manually update a device (non interactive).
zeroblue2005
zeroblue2005 11.02.2014 um 08:23:59 Uhr
Danke an euch beiden klappt beides Wunderbar.... face-smile