Browsed by
Category: VBS

A few BGInfo VBScripts for my VMs

A few BGInfo VBScripts for my VMs

I saw Ivo Beerens’ blog post about using BGInfo and VMware View: Display the protocol used on the VMware View desktop background and it made me think of some of the scripts I’ve used. I figured I would share them. I’ve used BGInfo for years, and have collected several scripts that I have used for various pieces of info that isn’t always the easiest to get from either the Windows registry or other places.  When I worked for a Service…

Read More Read More

Printer Migration Script

Printer Migration Script

Not sure if you’ve every had an issue where you have to move printers from one print server to another… I have had this come up a couple times… Here’s a little vbs that can be executed from a logon script, that will look at a mapped printer’s connection (which server it is on), remove it, and then map it to another system. Keep in mind, all the printers on NEWSERVER must have the same share names as the OLDSERVER….

Read More Read More

VBS: NIC Show Icon/Power Mgt Script

VBS: NIC Show Icon/Power Mgt Script

Here’s script that I wrote (and probably borrowed some of it) to turn all nics’ icons on, and disable power management for them. It only looks at nics with IP enabled. You can also download it here. (Just make sure you rename it to nicmod.vbs, or something similar) ‘************************************************************************ ‘* VBS Script to: ‘* Enable/Disable showing the icon in your system tray for connected NICs ‘* Enable/Disable Power Management for Connected NICs ‘* ‘* 8 MAY 06 – Jase McCarty…

Read More Read More

VBS: Update Services Password on Local/Remote Box

VBS: Update Services Password on Local/Remote Box

This script, will allow you to update passwords for services that “Log on As” set to use a domain account. You can download it here. ‘***********************************************************‘Written by Jase McCarty‘Date: 03/29/2006‘‘UPD8SVCS.vbs‘‘Description: Change the password on a local‘or remote system for a Service that has ‘”Logon As” set for a Domain Account‘Useful for Servers when a service account‘has a password change‘*********************************************************** Option Explicit Dim shellobj,envDim strUserDomain,strUserName,strPassword,strComputerDim CSComputerName,CSAccount,CSPassword,objWMIServiceDim objService ‘Check to make sure that we receive enough arguements (2 or more) If Wscript.Arguments.Count…

Read More Read More