VBS Questions

1

Script that can rename from CSV/serial join domain
Hi, I’m after a script that would be able to rename a computer based on the machines serial number collected from the machine then i want it to look up the reference in a CSV file rename to the given name, add to the domain and reboot all automatically. Does anyone have such a script? [...]

Answer Question   |  November 9, 2012  6:56 AM
.CSV files, VBS
asked by:
360 pts.

How Do You Query The Windows API For Active Devices?
Here’s the rub. I want to use a script, be it vbs, batch, etc. to find out or query what devices are currently active on a Windows XP machine. So, the code structure would look like this . . . IF PrinterIsPluggedIn: ShowDialog: “Yo, your HP is pugged in.” ELSE: Do nothing. That’s the basic [...]

Answer Question   |  November 6, 2011  10:52 PM
VBS, XP
asked by:
5 pts.

VBS – Taking input from one spreadsheet and output to another
Hello, I am hoping someone can shed some light as I am at a complete lost. I am using an excellent script written by Ralph Montgomery named NTUser.wsf for account audit purposes and I am attempting to modify it to suit my needs. The script, in its native format, prompts for a username upon execution [...]

Answer Question   |  May 17, 2011  8:25 PM
Development, VBS, VBScript, Visual Basic developers, Visual Basic Script
asked by:
15 pts.

How to remove specific lines from a text files using either vbs or bat.
We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a [...]

Answer Question   |  November 9, 2010  5:07 PM
Batch file, Batch job, SQL, Text manipulation, VBS, Visual Basic Script, Windows Server 2003 Standard Edition
asked by:
1,050 pts.

Delete link file using special folders name and .VBS
We have a db application that has two databases. One is “test” one is live. It has two different icons. The users train in test and then after traning, they go “live” I have a shortcut that is on “all users” desktop. It runs at user login and they are local admins, because the app [...]

Answer Question   |  April 20, 2011  8:18 PM
LINKS, script, shortcut, VBS
asked by:
1,050 pts.

How to add several registry values via VBs using GPO
Our clients run XP pro and Office 2003 or 2007 and on server 2003 domain. We have a macro enabled document that pulls the user name from the registry and applies it to the bottom of that document, similar to a signature. The script below pulls the user name from AD and sets it in [...]

Answer Question   |  May 9, 2013  3:51 PM
GPO, Group Policy, Group Policy Objects, RegEdit, VBS, Windows Server 2003 Domain, Windows Server 2003 GPO
asked by:
1,050 pts.

CreateObject(“Scripting.FilesystemObject”) in VBScript
I currenly have a HTA that has alot of code. Part of the code displays a pop up message with the usersname to confirm we are working with the correct client. I Couldnt use WMI since all of our laptops block WMI quiries so I had to get inventive. All computers here have a default share. [...]

Answer Question   |  May 10, 2011  9:37 PM
HTA, VBS, VBScript, WMI
asked by:
15 pts.

connection lose on domain
One of our newer domains is having a problem with connection to mapped drives, server, internet, and shared printer connection lose. Once the connection is dropped it will not re-sync or reconnect to mapped drives ect… untill a full reboot is done. We’ve not done much in the way of changing any settings on the [...]

Answer Question   |  September 9, 2009  2:57 PM
ASA, Group Policy, Mapped Drive, Network, Server 2003, Switches, VBS, Windows Server 2003
asked by:
220 pts.

vbs question and windows vista home
Hi i have a vbs that call an exe file to start a game…. i can run it in windows xp without issue and when i try to do the same on the vista home firse the vbs can’t run cause i need to run as administrator this i figure out but the exe is [...]

Answer Question   |  October 6, 2008  1:02 AM
VBS, Visual Basic Script, Windows Vista
asked by:
5 pts.

1