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 strongm 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. damienenglish

    Citrix Replication Fault Detection

    Good Morning All I have been asked to look into the options of Fault Detection within our Citrix environment. In the last couple of weeks, our CAG developed an issue where all users were unable to login remotely. It turned out that the profile within web interface had become corrupt and needed...
  2. damienenglish

    Remove a Security Group from all Users in a OU

    Good Morning I am putting together a leavers script, and want to remove one particular security group from all users within a leavers OU. I have found ways of removing all groups from an individual user, but not an individual group from all users in the OU. Please can anyone help? Many thanks.
  3. damienenglish

    VBScript - Add Security Group to All Users in OU

    Hello Again! I am trying to create a VBScript which will assign a particular Group in AD to all users within an OU. We have a 'Leavers' OU and wish for a Group called 'EmailArchive' to be assigned to each user in the OU. I was looking for a VBS that a can schedule to run each night. I have...
  4. damienenglish

    Remove All Security Groups from All Users in an OU

    Hello Everyone I am a real beginner at VBS but I have come up with the following script: Const ADS_UF_ACCOUNTDISABLE = 2 Set objOU = GetObject("LDAP://ou=blah,ou=blah,ou=blah,ou=Site,ou=mainOU,dc=domain,dc=NET") For Each objUser In objOU If objUser.class="user" then objUser.AccountDisabled...
  5. damienenglish

    Auto Disable Users in OU via Group Policy

    Hi 58sniper Many thanks for your advise. I will have a look into this today. Kind regards
  6. damienenglish

    Auto Disable Users in OU via Group Policy

    I haven't tried anything as yet, just looking at the best way to do it. I wasn't sure if its possible to have it setup, so whenever you move a user into the OU, it disables the account immediately. I am open to options and suggestions! Regards
  7. damienenglish

    Setting a Unique Local Admin Password via VBA

    Hi StongM Many Thanks - that now works. Sorry, I should have said in the beginning that I am a novice on VBS and still learning the commands. Many Thanks for all your help.
  8. damienenglish

    Setting a Unique Local Admin Password via VBA

    Hi StrongM Unfortunately that doesn't work. The message box is bringing up the correct password layout but its not actually changing the password for the local user account called 'ITAdmin'. This is what I have got: Set WshNetwork = CreateObject("WScript.Network") strComputer =...
  9. damienenglish

    Auto Disable Users in OU via Group Policy

    Afternoon All I am looking to come up with a way to 'auto-disable' a user account when it is put into a particular OU in Active Directory. We have an OU called 'Leavers' which contains accounts of users who have just left the company, prior to archiving out their email and various files. When...
  10. damienenglish

    VBS for Auto Disabling Users in Active Directory

    Afternoon All I am looking to come up with a way to 'auto-disable' a user account when it is put into a particular OU in Active Directory. We have an OU called 'Leavers' which contains accounts of users who have just left the company, prior to archiving out their email and various files. When...
  11. damienenglish

    Setting a Unique Local Admin Password via VBA

    I have one question!! With the selection of upper and lower case characters, will this randomly select the character type, or is this putting it in a particular order? For example: I want the password to be generated as - HoSt1password - The selection of upper and lowercase characters is to...
  12. damienenglish

    Setting a Unique Local Admin Password via VBA

    Hi StrongM!! Thanks so much for your response - I will give it a go. Regards
  13. damienenglish

    Setting a Unique Local Admin Password via VBA

    Hi All I have been asked to edit our existing VBS which is used to rename all local 'Admin' accounts and passwords on our PC's and Laptops. This is the script we currently have: Set WshNetwork = WScript.CreateObject("WScript.Network") strComputer = WshNetwork.ComputerName strComputer = "."...
  14. damienenglish

    Excel to Outlook VBScript

    Morning All I have a spreadsheet that contains multiple sets of customer data on the one worksheet. This data is emailed to the customer each week. I have create a VBScript in a text document, which searches the spreadsheet for the customer data, and then exports the data into a new email...
  15. damienenglish

    VBA to Outlook from Excel

    Many thanks for all your help. I will give that a go.
  16. damienenglish

    VBA to Outlook from Excel

    I agree with what you are saying, however, this spreadsheet has over 5000 lines of customer data and would take a long time to restructure it. I just need to know if my current setup can do what I need for now as it is only a temporary measure. Regards
  17. damienenglish

    VBA to Outlook from Excel

    OK The list of clients are within the spreadsheet as follows: Client1 Client Data CLient 2 Client Data Etc Etc I want to be able to export each of the client data and put each client data into a new outlook email, which will pickup the email address and subject field within the clients...
  18. damienenglish

    VBA to Outlook from Excel

    Hi There Many thanks for that. So how do I then tell it to export the data into individual Outlook new email windows? This is what I am most confused about. Many Thanks
  19. damienenglish

    VBA to Outlook from Excel

    I have open the CLW.xls workbook open.
  20. damienenglish

    VBA to Outlook from Excel

    Yeah I have just got to grips with that! I have copied the text into it with your ammendments. I am very new to VBA and using Excel in this type of depth. Never really had the reason to in the past! :)

Part and Inventory Search

Back
Top