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
295 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
346 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
2k 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
521 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
2answers
269 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?
5
votes
1answer
352 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 ...
3
votes
1answer
745 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
57 views

Write log for curl on windows

I currently have a script that runs a curl function to fetch logs from another server, i am trying to debug some issues with this script and would like to enable logging for this curl function. I ...
1
vote
1answer
731 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
225 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
762 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
576 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
233 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
426 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
475 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
254 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
287 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
356 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
1k 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
299 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
418 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
331 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
574 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
2k 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 ...
2
votes
0answers
533 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
636 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
28 views

add a web location as a mapped network drive using a script

I am wondering is it possible to add a web location as a mapped network drive using VBScript or PowerShell? I know it is possible to create a URL shortcut on the desktop using usersDesktop = ...
0
votes
0answers
117 views

Executing VBS via Task Scheduler not working. It works if logon to server and launch

I am having a problem running a scheduled task using Task Scheduler. I have setup a new domain user with admin privileges on the server (Windows Server 2008): User1. The Task Scheduler runs a VBS ...
0
votes
0answers
92 views

Can UploadReadAheadSize be set on a physical directory?

In support of a large-file upload page, I have been asked to adjust UploadReadAheadSize...on the physical directory that contains the page. I can read and set UploadReadAheadSize on a site, a site ...
0
votes
0answers
290 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
441 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. ...