Lawnboy
Thanks I will set up a scheduled inventory on one of ocur clients to test if this fixes the situation
Steveot
Is it s Sony AIT 80GB SCSI driver version 5.0.1.1 attached to a HP Server with LSI Adaptor, Utlra320 SCSI Series, (With 1020/1030) controller and Smart Array 641 Controllers...
Do you mean evey time they put in a new tape they need to carry out an inventory ? that sould a little Over the top, anyway in this case we have on occasion ran the inventory nbut the tape still does not appears the only way we managed to get it to appea in the media list was to stop and start...
We have about 4 customers that are using various HP servers and Sony external Tape drives. When they put in new tapes the media is not recognised in veritas but a restart of all the veritas services will recognise that the tape is there
Any Ideas how to fix this ??
What can I say but thanks, this now works for me and I would like to take the opportunity to thank you all for adding comments but most of all PSC who actually rewrote this for me as you can see above - Thanks!
Mark,
Silly me I posted and though No your getting too lazy and I found that myself (I think that I am finally learning something) but even though I have remmed out lines 56 -62 this still will not function I get the drives mapped and the printers added but it still does not map any printer as...
tsuji
Yes I have remmed out the error ignore section the script looks like this now but does'nt like PSC scripting (or at least my attempt to use it)
' New Logon script
' On Error Resume Next
'4 initial object creation
Dim objNetwork, objGroup , UserObj
Set WSHShell =...
Mark,
atually it is just Company I ave tried altering this but to no avail had alook at your FAQ nice a clear will start rereading this amd my script. I think that the proble i sthat althought I tell it what to do if you ar eon the 1st floor the part that tells the script which floor you are on...
I have not done the case statement but I did check carefully that the case 1stFloor User was exactly as it appears in AD
I have added the lines you mentioned For Next loop but nothing appears at all!
Ok so I editied the line as advised and I have added a line at the end as below
MsgBox "Groupobj is" & GroupObj
This goes through without any errors but the msg box comes up empty and the default printer is not set
so I can see that the error is that the variable "GroupObj" is not being...
tsuji
Must admit to being a newby trying to get things done quick without really knowing it all
1. No I did not realsise that the WSHNetwork and objNetwork are the same so will need to edit this to get rid on one
2. Ok understand that
3. Again really a newby with scripts so no reason other...
I have cobbled to gether this script to allow me to automatically use 2003 AD (we have Win2k PC's) to map the default printer based on membership of 4 distribution groups
1st Floor User, 2ndFloor User etc
' New Logon script
On Error Resume Next
'4 initial object creation
Dim objNetwork...
Mark
Firstly I have cobbled this script from several places not just one (but thanks to all those I have copied from)
Secondly I was not trying to Hijack this thread I though that the fact we are both trying to script with a group membership check was simalar and therefore was a related...
I have tried to modify this script to allow me to automatically use 2003 AD to map the default printer based on membership of 4 distribution groups
' New Logon script
On Error Resume Next
'4 initial object creation
Dim objNetwork, objGroup , UserObj
Set WSHShell = CreateObject("WScript.Shell")...
Has anyone done this ? what I am trying to do is automate the regedt32 /s Registry.reg command from within a batch or cms file this will work if you run it from a command prompt but not the batch file
Anybody any ideas?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.