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