Principale utente con più risposte
Script to delete the phantom divice - Cancellare i device fantasma con uno script

Domanda
-
Hi,
I have a windows 2003 server connected to a SAN.
This server mount many snapshots from SAN, make backup and umount the snapshots.
Every month I have to cancel the phantom devices manually.
I open a console and type:
set devmgr_show_nonpresent_devices=1
cd %!SystemRoot%\System32
start /wait devmgmt.msc
Can I create a script VBS that delete the phantom divice automatically?
Buon giorno,
ho un server windows 2003 collegato ad una SAN che salva su nastro le snapshots montate dalla SAN, quando concluso smonta la snapshot.
Mi ritrovo ogni mese a cancellare molti device fantasma manualmente.
Posso creare uno script VBS che cancelli in automatico questi device?
Grazie
Risposte
-
Si chiamano "nonpresent" device.
Da qui
con un paio di passaggi trovi uno script che pare faccia al caso tuo
https://andoria.digitalenginesoftware.com/projects/projects/show/removedevices
Fabrizio Volpe
MVP Directory Services
MCSE (NT4)(2000)(2003) - MCSA (2003)
MCTS (SQL 2005)(Exchange 2007)(Windows 2008)
Fortinet Certified Network Security Professional (FCNSP)
Fabrizio[_dot_]Volpe[_at_]GMX[_dot_]com- Proposto come risposta Fabrizio Volpe venerdì 21 gennaio 2011 03:42
- Contrassegnato come risposta Anca Popa mercoledì 26 gennaio 2011 07:16
Tutte le risposte
-
Si chiamano "nonpresent" device.
Da qui
con un paio di passaggi trovi uno script che pare faccia al caso tuo
https://andoria.digitalenginesoftware.com/projects/projects/show/removedevices
Fabrizio Volpe
MVP Directory Services
MCSE (NT4)(2000)(2003) - MCSA (2003)
MCTS (SQL 2005)(Exchange 2007)(Windows 2008)
Fortinet Certified Network Security Professional (FCNSP)
Fabrizio[_dot_]Volpe[_at_]GMX[_dot_]com- Proposto come risposta Fabrizio Volpe venerdì 21 gennaio 2011 03:42
- Contrassegnato come risposta Anca Popa mercoledì 26 gennaio 2011 07:16
-
Valuta anche questo script
http://techrepublic.com.com/5208-12843-0.html?forumID=102&threadID=264923&messageID=3272947
Fabrizio Volpe
MVP Directory Services
MCSE (NT4)(2000)(2003) - MCSA (2003)
MCTS (SQL 2005)(Exchange 2007)(Windows 2008)
Fortinet Certified Network Security Professional (FCNSP)
Fabrizio[_dot_]Volpe[_at_]GMX[_dot_]com