Archive for category Visual Basic Script (vbs)
How to Add and Remove a Local Account from a Group
Posted by admin in Kaseya, Scripts, Visual Basic Script (vbs) on April 27th, 2009
Occasionally you may need to add a local user account to the local administrators group for a software install or temporary maintenance. The following vbs script can be used to add the local ‘user1’ account to the local ‘administrators’ group. Any user can be added to any local group, change the red to match your needs. The computer name is pulled from the workstation dynamically so this is also completely portable and can be run on any computer.
Read the rest of this entry »
Make a Local User Account With VBS
Posted by admin in Kaseya, Scripts, Visual Basic Script (vbs) on March 18th, 2009
I deployed a bunch of new computers to a network using terminal services. Since the real authentication is at the server we standardize the local computer login to the username user1 and the password user1, just to keep things simple. So I needed a easy way to create this account locally on 30+ workstations. Here is what I came up with:
Read the rest of this entry »
Reset a Local Account Password With VBS
Posted by admin in Kaseya, Scripts, Security, Visual Basic Script (vbs) on March 11th, 2009
Today I added a bunch of old computers with different local admin account passwords to our domain. So, since I am all for doing things the easy way I came up with a quick script. I added the computers that I needed the admin account reset on to an active directory OU and applied this script.
Read the rest of this entry »
