If you want a HP Data Protector job to fail on a mount request, you can do this by creating a script abort.bat to replace the default Mount.bat script. The contents if the abort.bat script should be the following:
@echo off
set THIS=%0
set USER=%1
set GROUP=%2
set HOSTNAME=%3
set STARTPID=%4
set DEVNAME=%5
set DEVHOST=%6
set DEVFILE=%7
set DEVCLSS=%8
set DEVCLASSNAME=%9
shift
shift
shift
shift
shift
shift
shift
shift
shift
set MEDID=%1
set MEDLABEL=%2
set MEDLOC=%3
set POOLNAME=%4
set POLICY=%5
set MEDCLASS=%6
set MEDCLASSNAME=%7
set SESSIONKEY=%8
omniabort.exe -session %SESSIONKEY%
Edit 20/07/2012 in DP 6.11 you need to leave out C:\Program Files\OmniBack\bin\ before omniabort.exe -session %SESSIONKEY% otherwise the script will not run.
(You maybe need to change the path of the omniabort.exe but on windows installation it's normally installed in this directory).
To change the script that's run on a mount request you need to go to the Device properties => Settings => Advanced => Other.
Source
Wednesday, May 23, 2012
Thursday, May 10, 2012
Windows 7 & Cisco, red cross on network shares
Since we started using Windows 7 at work we started noticing that network shares would have a red cross icon after booting. This caused some problems with programs that relied on these network drives. If a user clicked on the mapped drive it would become instantly available. After doing quite a bit of research we found that Win 7 wasn't the only culprit. At the time we started using Win 7 we also updated or network infrastructure from 3com to Cisco. Both 3com and Cisco had spanning tree configured, but with Cisco we had to turn on spanning-tree portfast. Once portfast was turned on, the red cross problem was gone. Spanning-tree portfast allows the port to which the client pc is patched to come up faster. I would advice to also turn on BPDU guard when turning on portfast.
Windows 7, where are my shortcuts?
One sparkling new feature of Windows 7 is that it feels the urge to delete desktop shortcuts to network folders every now and then.
You can disable this feature by going to control panel => Troubleshooting => Change settings (in the left column) and there turn off Computer Maintenance. Now all your shortcuts should remain on your desktop
You can disable this feature by going to control panel => Troubleshooting => Change settings (in the left column) and there turn off Computer Maintenance. Now all your shortcuts should remain on your desktop
Subscribe to:
Posts (Atom)