Code 800 Errors in VBScript / WSH
Troubleshooting Code 800 Errors found in VBScript
This page is designed to help you cure 800xxxxx error messages in your VBScript. To solve your problem look for clues in the Windows Script Host message box. In particular always check the Line: (number), the Source: and what the Error: message says.
The Symptoms of code 800 messages
The error happens when you execute, run, or double click a VBScript script (.vbs file). Most probably you are trying to create a Logon script. One possible scenario is that you are creating a Windows logon script and there is a typing mistake in the server name.
Alternatively, you are writing an Active Directory VBScript, which adds computers or amends users properties.
Yet another scenario is that you are creating a WMI scripts to interrogate the operating system. In each case, what you see is a message box with Windows Scripting Host in the title.
Categories of VBScript 800xxxxx error codes
This Engineer's Toolset v10 provides a comprehensive console of 50 utilities for troubleshooting computer problems. Guy says it helps me monitor what's occurring on the network, and each tool teaches me more about how the underlying system operates.
There are so many good gadgets; it's like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, network discovery, diagnostic, and Cisco tools. Try the SolarWinds Engineer's Toolset now!
Errors beginning with 80005xxx point to an ADSI error in your VBScript. While the message box calls them ADSI, I think of them as LDAP errors. For example, suppose that you are scripting a user's properties and you type givename instead of givenName (two ns), that mistake in the ADSI / LDAP name would generate an 80005xxx error.
Import users from a spreadsheet. Just provide a list of the users with their fields in the top row, and save as .csv file. Then launch this FREE utility and match your fields with AD's attributes, click and import the users.
Optionally, you can provide the name of the OU where the new accounts will be born. Download your FREE bulk import tool.
If you need more comprehensive software, download a free trial of SAM (Server & Application Monitor)
If your error begins with 8007xxxx then look for an factor outside VBScript. For instance, check the spelling of the name of your share or printer. Another possibility is that the server named in the script, is simply down or otherwise unavailable.
Guy Recommends: The Free IP Address Tracker (IPAT)
Calculating IP Address ranges is a black art, which many network managers solve by creating custom Excel spreadsheets. IPAT cracks this problem of allocating IP addresses in networks in two ways:
For Mr Organized there is a nifty subnet calculator, you enter the network address and the subnet mask, then IPAT works out the usable addresses and their ranges. For Mr Lazy IPAT discovers and then displays the IP addresses of existing computers.
In VBScript, there are 53 syntax errors all beginning with 800Axxxx. These errors should be among the easiest to cure because the message often includes the missing punctuation mark or bracket.