Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. NTman2000

    Veritas 9.1 and SONY hardware

    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...
  2. NTman2000

    Veritas 9.1 and SONY hardware

    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...
  3. NTman2000

    Veritas 9.1 and SONY hardware

    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 ??
  4. NTman2000

    Selecting a Default printer depending an group Membership

    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!
  5. NTman2000

    Selecting a Default printer depending an group Membership

    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...
  6. NTman2000

    Selecting a Default printer depending an group Membership

    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 =...
  7. NTman2000

    Selecting a Default printer depending an group Membership

    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...
  8. NTman2000

    Selecting a Default printer depending an group Membership

    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!
  9. NTman2000

    Selecting a Default printer depending an group Membership

    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...
  10. NTman2000

    Selecting a Default printer depending an group Membership

    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...
  11. NTman2000

    Selecting a Default printer depending an group Membership

    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...
  12. NTman2000

    mapped network drives disconnects after logon

    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...
  13. NTman2000

    mapped network drives disconnects after logon

    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")...
  14. NTman2000

    Running regedit from a *.bat or *.cmd File

    Thanks for that in the end my solution was as follows: regedit -s "\\Servername\Netlogon\filename.reg
  15. NTman2000

    Running regedit from a *.bat or *.cmd File

    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

Part and Inventory Search

Back
Top