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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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
'...
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...
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...
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...
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...
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...
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...
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.
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...
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.