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
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
Please also mark the comments that contributed to the solution of the article
Content-Key: 229283
Url: https://administrator.de/contentid/229283
Printed on: April 26, 2024 at 11:04 o'clock
3 Comments
Latest comment
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
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
Hey,
M$ hat dafür devcon erfunden:
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).