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 Wanet Telecoms Ltd 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. keybrdcowboy

    Registering .dll for all users help

    Hi... I have a script that runs as a computer startup script. The script runs an msi file that installs a piece of software, and then edits a registry entry and runs the regsrv32 command to register two dlls. The software installs fine, and the registry edits are made, however the dll...
  2. keybrdcowboy

    Changing more than one password - Access Denied??

    Hoping someone can help me out here. I am writing a script that will input a list of usernames into an array, and then for each user in the array, reset the password to a specified value. If I edit my input text file to have only 1 username in it, it works fine. But if I put two usernames in...
  3. keybrdcowboy

    Enumerate all users in AD - Not Working

    Would appreciate any help you can give here. I am trying to loop through all our users in AD without feeding in usernames via a text file. Below is my code. When I run the code, it only counts 8xx users. We have a little over 28xxx user accounts in our domain. Can anyone help explain why...
  4. keybrdcowboy

    'Null' Error..... Used to work

    I keep getting a '(null)' error in the following script. It used to work, but ever since we did a migration and the LDAP 'name' field changed, I am having all sorts of problems. Here's the code: Option Explicit Dim oFSO, readFile, outFile, iUpperBound, strUserDN, strUser, oConnection...
  5. keybrdcowboy

    Object Required error... Can anyone explain why?

    I have run into this issue several times. In the past I have just ended up redoing the whole script and connecting to the user account a different way, but I am hoping someone can explain what I have wrong and why this doesn't work. Here's my code: Option Explicit Dim FSO, oShell...
  6. keybrdcowboy

    Cannot perform request on RDN attribute of object

    Anyone seen this error message before? When I try and run a script that changes an Active Directory user's name or cn field, I get the following error message: "The directory server cannot perform the requested operation on the RDN attribute of an object" This happens with my regular user...
  7. keybrdcowboy

    Is there a way to "restart" a FOR loop?

    Hopefully someone can help me. I need a way to "restart" a for loop. I have a loop that processes each entry in an array, and does stuff to each account in the array. However, some of the accounts are not real accounts, and I get an error. I am trying to find a way to test for the error, and...
  8. keybrdcowboy

    Can anyone make this work? (AD Binding)

    This script is pulling a username from a textfile, connecting to our Exchange 5.5 server and pulling out info from there, then is supposed to connect back to that same user in our AD. I cannot get it to bind back to that user after making the connection with Exchange. Can anyone help me out...
  9. keybrdcowboy

    Connecting to user account in Active Directory

    I don't know why I always have a problem with this. Guess I just don't understand how it works. I have a username, and I am trying to connect to that account in AD. I need to update the account with information. Can someone please type out and explain if possible my different options for...
  10. keybrdcowboy

    Trying to read from Exchange 5.5

    I'm trying to get a script to pull data from an Exchange 5.5 server, and bascially have no idea where to start. Am I correct in assuming I can search/read from it just like AD? Can anyone provide some source code to get me started? Thanks.
  11. keybrdcowboy

    Quick help needed...binding to user in AD

    Here's my code. For whatever reason, I cannot get it to bind to AD for the user specified in the array. Can anyone help me out? Thanks. ' Script used to change the login script for a selected group of users. You must have the list of users in a text file named "usernames.txt" in order '...
  12. keybrdcowboy

    Need help with ADM file....

    Hi, I am hoping someone could help me out with this adm file not working correctly. We are using it to edit the sound schemes on machines. It has two sections, one for no sounds and one for WIN NT default. The no sounds one seems to be applied, but when selecting the win nt default one, I...
  13. keybrdcowboy

    I give up - Need help searching for an AD user

    I have been working on this for hours, and just don't know why it won't work. Keeps failing on the command.execut part, which tells me my search part is wrong. Just says there was a problem. Can anyone help? Thanks. Option Explicit Dim strFirstName, strLastName, strOfficeSymbol, strOrg...
  14. keybrdcowboy

    Norton install process.... or something

    Hope someone here can help me or point me in the right direction. Here's what I have going on. I am using a logon script to call a batch file which then runs our Norton Corporate Edition install file. The problem is that it seems to vary by machine on exactly how long it takes for the norton...
  15. keybrdcowboy

    Disable screen saver by machine, rather than user

    Ok, this sounds like it should be really simple, but I have been trying to figure this out for about 3 days now. We have a domain group policy that sets the password to come on after 5 mins, and lock the workstation. Well, for people doing briefings and such, that is inconveinent. I need to...
  16. keybrdcowboy

    Can anyone tell me why this doesn't work?

    I keep getting a "object doesn't support this property" error. I know what the error means, but I don't know why I keep getting it, or better yet, what I need to do to fix it. Can anyone help? The error is for the line that says to get the user's home drive and change it... Here's the code...
  17. keybrdcowboy

    Increasing font size in a message box?

    Is this possible? Thanks.
  18. keybrdcowboy

    Reading info from DOS Window

    This seems like it should be very simple, but I can't get it to work. I have a text file that contains a list of machine names, and I need to run a command line that does an nslookup and outputs the results to a text file. So far I am just trying to get the output to a file to work. I can do...
  19. keybrdcowboy

    Anyway to disable control + alt + del from VBScript?

    I am trying to prevent a user from pressing cntrl + alt + del and using task manager to cancel my script. I know with VB, you can disable cntrl + alt + del.... can I with VBScript? Also, is there anyway to get rid of the red "X" in the corner on a message box? Thanks.
  20. keybrdcowboy

    What is the best way to make sure a user doesn't cancel a script?

    Okay guys (and girls maybe) I have one more question left with this script. I wrote a login script that makes the user type a userID in, then it does a series of checks against a database to make sure that they have the training they are required to have that allows them access to the network...

Part and Inventory Search

Back
Top