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 SkipVought 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. rlee111

    San Backup what do I need?

    Hi I have a new bladecentre with 14 hs21 blades all windows 2003 these are fibre connected to 2 ds3400's (our SAN) I need to backup the SAN and I have conlcuded I will need 1 primary server and 13 distributed servers using r11.5. Do I need brightstor backup r11.5 for windows and SAN option on...
  2. rlee111

    Copy files from server to clients

    Ok thanks country73 for your help. I have done it this way Const OVERWRITE_EXISTING = True Set objFSO = CreateObject("Scripting.FileSystemObject") Set objShell = CreateObject("Wscript.Shell") ' global variables source = "\\servername\imaging\*.*" dest = "c:\windows\system\" objFSO.CopyFile...
  3. rlee111

    Copy files from server to clients

    Hi, There will be a directory on the server containing only the files I want to copy. Thanks Regards, Rob
  4. rlee111

    Copy files from server to clients

    Hi I need to copy a set of files, they are of different file types e.g. file.ocx file.exe file.dll from a server to clients I would like to check for the existance of these files and if they dont exist copy the files to the client, if they do exist obviously do nothing. I have been looking...
  5. rlee111

    creating users shares for all users in a domain

    Ok I want to go further with this script, by default the folder shares I have created give everyone full permissions on the share I know it is not easy to do but can anyone tell me what I need to do to set folder share permissions for just the domain user who the share is for and domain admin...
  6. rlee111

    creating users shares for all users in a domain

    Sorry mrmovie :-(
  7. rlee111

    creating users shares for all users in a domain

    Ok I have left some legacy code in there which is obviously not needed thanks tsuji, removed some silly mistakes, the code below works ok now just one thing this line: >NewShare.MaxUserCount = 1 'Sets the limit for the number of user connections How do I set to maximum allowed? Set objFSO...
  8. rlee111

    creating users shares for all users in a domain

    HI I am working on a script to create shared folders for all users in a domain, here is the script 'script to create users shares for all users in a domain Sub GetParentDir ParentDir = "\\modrl\drives\home\" If Not objFSO.FolderExists(ParentDir) Then GetParentDir End If End Sub Set...
  9. rlee111

    Create new user in form child domain

    Thanks for your help once again tsuji, I can use this script from the forest root to create users in the 2 child domains I have within the forest like this: scriptname.vbs /domain:childdomain1 or 2 /ou:ouname /user:usernames This works fine as I would expect but when using the script from a...
  10. rlee111

    Create new user in form child domain

    Hi tsuji The problem is I get the error 'This operation returned because the timeout period expired' at the line: Set objOU = objDSO.OpenDSObject(strPath, _ strAdmin, strPassword, ADS_USE_ENCRYPTION AND ADS_SECURE_AUTHENTICATION)
  11. rlee111

    Create new user in form child domain

    How do you edit your own posts? Subject of this thread should have read 'can you create a new user in a forest root domain from a child domain?'
  12. rlee111

    Create new user in form child domain

    Hi would it be possible to create a new user in a top level domain from a child domain with vbscript, I have the script to create new users in the child domain but would like to select the top level domain using named arguments and have the script provide authentication to enable me to do this...
  13. rlee111

    Using named arguments

    Ok I understand now thanks once again Rob
  14. rlee111

    Using named arguments

    Hi tsuji Just a quick question, what does 'if trim(sUser)="" then' do is it just checking for no user entered? Thanks Rob
  15. rlee111

    Listing permissions on folders

    Hi it says only compatible with 2000 2003 xp etc.. But thanks Rob
  16. rlee111

    Using named arguments

    Thankyou Tsuji Spot on, and also thanks for pointing out mistakes etc.. Regards Rob
  17. rlee111

    Listing permissions on folders

    Hi Would it be possible to search through a drive on a NT4 server and list all the folders and folder and security permissions for users and groups with a script? Regards Rob
  18. rlee111

    Using named arguments

    Hi I have tried what you have suggested but I get an error at this line in the script: objou.MoveHere f_user, vbNullString The error is 'an invalid dn syntax has been specified' I am running the script like this scriptname.vbs /ou:testou8 /user:testuser1;testuser2
  19. rlee111

    Using named arguments

    Hi I have a script to move users to ou's using command line arguments, I run it like this scriptmane.vbs ouname users, because I am using unamed arguments it has to be done in that order. Here is the script 'Move users to OU using command line arguments On Error Resume Next Set objArgs =...
  20. rlee111

    Help with add user to group script

    I think It was the error checking I had in place for the first one, not checking properly for if the group exists based on info extracted from the notes field in the telephone property of the users. I may not be explaining myself very well sorry Rob

Part and Inventory Search

Back
Top