VBScript is a general-purpose scripting language developed by Microsoft that is modeled on Visual Basic. It is commonly used for Windows system administration. Some applications may use it as an internal scripting language allowing application automation.

learn more… | top users | synonyms (1)

3
votes
2answers
255 views

Is it possible to get CCM Updates Schedule using Powershel or VBScript?

I want to be able to check the CCM Updates Schedule as seen in Configuration Manager Updates tab. I've been looking around on google and I've not been able to find a consistent answer to this. I ...
2
votes
2answers
339 views

printer assignments for windows xp workstations within an active directory environment

I'm using the following script to handle removing any old networked printers from machines and then assigning the propper ones and making one of them the default. This script is assigned to the OU ...
0
votes
2answers
874 views

Cisco VPN client - how to automate vpn process

I use Cisco vpn client to connect some customer Vpnclient.exe required answer about the question “Do you wish to continue” (yes / no ) Is it possible to run the vpnclient.exe without question ? ...
0
votes
2answers
1k views

Get User Rights Assignment values in Local Computer Setting using VBScript and WMI

I'd like to get all the values of User Rights Assignment in Local Computer Setting using VBScript and WMI. Is there a way I can do this with VBScript and WMI? Thanks.
0
votes
2answers
1k views

WMI script to list of memberships of current computer?

I have a AD hosted on 2003R2 and 2008R2, I would like to check the membership for the domain computer (e.g. compA) when an user logs on using that computer (e.g. compA) and perform certain operations ...
0
votes
2answers
235 views

vbscript and secure connection

I don't know if anyone has been able to connect to a secure mssql server over the internet with vbscript using the adodb object is there pilicy that restrict script connecting to secure servers?
3
votes
1answer
618 views

“Unknown scripting language VBScript” IIS 7.5 + 2008 R2 SP1

Migrated an old classic ASP application from Server 2008 R2 to a new Server 2008 R2 SP1 and having serious issues now. All set ups and configs are identical between the "old" and new servers, no code ...
1
vote
1answer
136 views

App-V 5; change file after package install

I work as a student for a company that sells a proprietary software solution. My task is testing their appliation in APP-V. The client should have the availability to modify a parameter, and this ...
1
vote
1answer
678 views

Adding a second VHD to a Hyper-V VM programatically or from the command line

I have been scripting the creation of my Hyper-V VMs with vbscript successfully for sometime now. All the technician has to do is run my script, select the type of server they are building (EG. a Web ...
1
vote
1answer
213 views

Use vbscript to set local user's terminal services startup environment

If I was in AD, the parameters would look like: objUser.ConnectClientDrivesAtLogon = Enabled objUser.ConnectClientPrintersAtLogon = Enabled objUser.DefaultToMainPrinter = Enabled ...
1
vote
1answer
659 views

Download large files via VBscript

Has anyone been successful with downloading large files via VBScript? My script is below and it is erroring out downloading a file over a 1GB. Small files it works with no problem. Do I need to try ...
1
vote
1answer
545 views

Script for run script on vbs

Hello everybody I have a script on vbscript Dim WSHShell, WinDir, Value, wshProcEnv, fso, Spath Set WSHShell = CreateObject("WScript.Shell") Dim objFSO, objFileCopy Dim strFilePath, strDestination ...
0
votes
1answer
32 views

Scheduled Task fails to stop

I have a Scheduled Task on a Windows (64-bit) 2008 R12 (SP1) server. It’s a housekeeping task and I was expecting its first run to take some time catching up on backlog of actions , so set what I ...
0
votes
1answer
219 views

How Can I Open and Print a Word Document Using a VBScript Called From the Web?

The university I work for allows students to register their bikes for indoor storage during the winter. This is done through a website. At the end of the process, a DYMO label printer connected to the ...
0
votes
1answer
341 views

Disable “Windows Firewall with Advanced Security” for all profiles(Domain,Public,Standard) in local GP using script help! Windows 7 Clients

We need Windows7 with windows firewall to be turned off , so the GOLD image has windows firewall turned off for all profiles(Domain,Public,Standard) and Windows Service disabled No the same GOLD ...
0
votes
1answer
150 views

Trying to automate server tasks, stuck on gathering critical update information from WSUS

I asked this question at Stack Overflow but they said I would have better luck here. I am using VBScript to automate a lot of server tasks, I'm simply checking to make sure the server build team did ...
0
votes
1answer
215 views

How to Read XML and Generate SQL Insert for Call Data Records

I am trying to write a VB Script to read a XML file (downloaded daily) and insert the information into a MSSQL DB. The content of the XML is a list of CDRs (Call Data Records). I need to parse the ...
0
votes
1answer
303 views

NINite Integration, vbs script,copy file from server and replace existing

Lets forget about everything besides mapping a drive and running NINite. So here is what I have done. I have changed the task sequence to look like this: ...
0
votes
1answer
875 views

VBScript:Verifying if printer share exists

Is there a way to determine in VBScript, if a print share is in existence on a print server? The idea is to remove the connection to that printer in the event the share is removed from the server. A ...
0
votes
1answer
255 views

Delete folders with exclusions (case)

i found a VB script that uses FileSystemObject to delete every folder on a drive except ones i specify, my problem is that the FileSystemObject cannot see or enumerate folder with trailing / leading - ...
0
votes
1answer
393 views

how can I hide the cmd window when running a VBScript scheduled task on Win 2003 R2 SP2 x64?

I am running a VBScript (.vbs) file via Windows Scheduled Task. On a Windows XP SP3 x86 machine, a command window is not shown when the task executes. On a Windows Server 2003 R2 SP2 x64 machine, a ...
0
votes
1answer
351 views

Programmatically assigning an existing ssl cert to a website in iis6 via powershell or vbscript

I have the following powershell script that creates a new website in IIS6: https://github.com/dagda1/iis6/blob/master/create-site.ps1 Does anyone know how I can assign an existing ssl cert to the ...
0
votes
1answer
313 views

Script to copy file from server and install software

Here is what I want to do - I would like to install a software on every PC in my domain. I would like it fully automated. I am sure this can be done either using a batch file or a vbscript. Here is ...
0
votes
1answer
496 views

Remove OCS user programatically

I am looking for programatically removing user accounts from OCS 2007 R2. I would prefer vbscript solution as this will become part of larger deprovisioning script used for removing various user ...
-1
votes
1answer
1k views

Create Batch file to execute multiple batch files and VBS files

I have multiple batch files and vbs files , when i try to create a batch to call them it stop after the last batch file and dont execute the vbs. without giving any error if i put the vbs at the ...
5
votes
0answers
233 views

Windows Task Scheduler cannot access EFS encrypted folder despite running as a user with access

I have a batch file set to run via Task Scheduler in Windows Server 2008 R2. The batch file is being used to rotate and compress MySQL logs, and the folder containing these logs is encrypted using ...
2
votes
0answers
351 views

Is it possible to launch a hyperlink within the email body from a specific sender?

Goal: My goal is to have OUTLOOK filter an incoming message based on keywords (which can be done with rules) but, I need to run a script that will automatically open the link within the email. ...
1
vote
0answers
304 views

WinHTTP module not found (HRESULT 0x8007007e)

I've got a customer that gets a module not found error (0x8007007e) when running a vbscript at this line of code: set test = CreateObject("WinHttp.WinHttpRequest.5.1") The system is Windows 7 ...
1
vote
0answers
539 views

Constant permission denied error on VBS script

The file is created and copied to the network share but I need this to run without errors as I need to push out to users quietly. Permissions have been set to full everyone. No errors when copy to ...
0
votes
0answers
29 views

Duplicating a complex folder structure with only shortcuts

There are 2 shared drives. One of them has a very complex folder structure. I would like to replicate the entire folder structure of Share 1 to Share 2. However I don't want to make duplicate files, ...
0
votes
0answers
67 views

How do fix a bug in script from a SCOM 2012 management pack

I am trying to monitor MSMQ on a windows server 2012 . The monitored server is not part of the domain of the SCOM server. The agent is installed and is in connection with the SCOM server. When the ...
0
votes
0answers
202 views

Scripting for bulk NTFS permission xcacls.vbs vs PowerShell

I have a batch file with about 1000 lines using xcacls.vbs for customizing NTFS permissions for complex folder structure (removes of grants, removes of inheritance, then grants plus some explicit ...
0
votes
0answers
306 views

Group Policy Email Signature Script

I have a VBS script that builds an Outlook Email signature and saves it to the user's machine. I want this to be called each time the user logs in, using group policy, but so far I've had no luck. ...