Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows Scripts and Batch Files

Windows Scripts and Batch Files

The Windows® Scripting Guide provides technical resources, information and source code to help you automate the Windows® operating system using Windows® Script Host (WSH) and the VBScript and JScript scripting languages. Get started by browsing our script

article create batch file to stop and restart application and services
To create a bacth file that will...

(No rating)  2-14-2008    Views: 215   
article How to extract details from Active Directory using Script
' This will create a text file listing...

(No rating)  3-6-2008    Views: 97   
article VB Sript to set SERVICE STARTUP TYPE TO AUTOMATIC
Here is the VB Script to set the service...

(No rating)  3-10-2008    Views: 100   
article VB Script to Find Service Pack Version
strComputer = "."Set...

(No rating)  3-24-2008    Views: 106   
article VB Script to Get Computers Version Number
Option ExplicitDim objWMI, objItem,...

(No rating)  3-24-2008    Views: 69   
article VB Script to Block The Installation of XP Service Pack 2 - Requires Local Admin Rights
  Description: Blocks the...

(No rating)  3-24-2008    Views: 101   
article VB Script to Add Domain User to Local Administrators - Requires Local Admin Rights
  Description: Takes a domain user...

(No rating)  3-24-2008    Views: 102   
article VB Script to Check if Local User account Exists
  Description: Checks to see if a...

(No rating)  3-24-2008    Views: 93   
article Add VBScript to New File Context Menu - Requires Local Admin Rights
  filetype = ".vbs" '...

(No rating)  3-24-2008    Views: 94   
article VB Script to Find PC in Active Directory
On Error Resume Next PCName =...

(No rating)  3-24-2008    Views: 75   
article VB Script to Read a list of users from a spreadsheet, determine if they exist and if they're disabled, then write the result to the spreadsheet
  On Error Resume Next

(No rating)  3-24-2008    Views: 76   
article VB Script to Write to registry
Option Explicit Dim SysVarReg, Value...

(No rating)  3-24-2008    Views: 92   
article VB Script to Delete Registry Key
Option Explicit Dim RegPath

(No rating)  3-24-2008    Views: 172   
article VB Script to Delete Registry Value
Option Explicit Dim SysVarReg

(No rating)  3-24-2008    Views: 171   
article VB Script to Read From Registry
Option Explicit Dim SysVarReg, Value...

(No rating)  3-24-2008    Views: 75   
article VB Script to Display Network Variables
Set WshNtwk =...

(No rating)  3-24-2008    Views: 85   
article VB Script to Display IP Address
Option Explicit On Error Resume Next

(No rating)  3-24-2008    Views: 90   
article VB Script to Send Email
  Dim SendMail Set SendMail =...

(No rating)  3-24-2008    Views: 89   
article VB Script to Create and Write to File
' Create Text file called Temp.txtDim...

(No rating)  3-24-2008    Views: 103   
article VB Script to Get Free Space On a Drive
Option Explicit Dim FsoObject,...

(No rating)  3-24-2008    Views: 91   
article VB Script to Get Parent Folder
Dim FSO, File1, ParentFolderPath,...

(No rating)  3-24-2008    Views: 57   
article VB Script to Create a Random File Name
Option Explicit Dim objWshObject,...

(No rating)  3-24-2008    Views: 102   
article VB Script to Replace Text in a File
Dim FSO, ReplaceTab, ObjShl, AllText,...

(No rating)  3-24-2008    Views: 90   
article VB Script to Run NTBackup from VBScript and save backup to SNAP Server
Important Notes SNAP Server Share...

(No rating)  3-24-2008    Views: 229   
article Using VBScript for CD Autorun
i found that starting a VBScript from an...

(No rating)  3-24-2008    Views: 68   
article VB Script for EventLogging
Set WshShl =...

(No rating)  3-24-2008    Views: 56   
article VB Script to Remove the OS Version Check from an MSI file
Description: create vbs file and drag...

(No rating)  3-24-2008    Views: 73   
article Have the VBScript check to see if it is being run with CScript or WScript
Option ExplicitDim Script,...

(No rating)  3-24-2008    Views: 69   
article VB Script to Convert a Hexidecimal Value to a Decimal Value
'HexToDec.vbs - Convert Hexadecimal...

(No rating)  3-24-2008    Views: 46   
article VB Script to add NEW DNS IP address information
sDNSServers =...

(No rating)  3-24-2008    Views: 100   
article VB Script to Verify the Server name is reachable - if not, log information to the logfile
If err.number<>0 Then ...

(No rating)  3-24-2008    Views: 77   
article VB Script to GET Domain membership information
Set oResults=oSvc.ExecQuery _ ...

(No rating)  3-24-2008    Views: 133   
article VB Script to SET DNS info for Primary and Secondary DNS entries
For each oInstance in oResults ...

(No rating)  3-24-2008    Views: 77   
article VB Script for Logging events
Set fso =...

(No rating)  3-24-2008    Views: 94   
article Decide in script whether to accept command line
sTitle="Set Remote DNS...

(No rating)  3-24-2008    Views: 98   
article VBS Script To Send All AD Domain Controllers Disk Space Information To Excel
This VBS script will write all the Active...

(No rating)  4-21-2008    Views: 92   
article VBScript to List Network Shares
This script will interrogate the operating...

(No rating)  5-1-2008    Views: 75   
article VBScript to List Network Shares with InputBox
Instructions for displaying a list of a...

(No rating)  5-1-2008    Views: 58   
article VBScript to show the operating system version number
The purpose of this script is to...

(No rating)  5-1-2008    Views: 61   
article Quick all workstation inventory, Active Directory
It reports basic inventory data. If not, it...

(No rating)  5-2-2008    Views: 52   
article VBScript to Add user account or group to local computer group
This script allows you to add user accounts...

(No rating)  5-2-2008    Views: 100   
article VBScript to ArchiveEventLogs
The ArchiveLogs WSH package file is a...

(No rating)  5-2-2008    Views: 46   
article VBScript to create a Auto Login for Windows
This script will prompt you for the...

(No rating)  5-2-2008    Views: 42   
article Batch file to AutoLog to NT/2000/XP only and disable the Novell Login screen
Configure Auto-Login to NT/2000/XP only and...

(No rating)  5-2-2008    Views: 113   
article Batch to Disable System Restore
Here's a script that'll turn it off on...

(No rating)  5-2-2008    Views: 87   
article Bios Serial Read
This Script queries LDAP provider (with...

(No rating)  5-2-2008    Views: 59   
article VBScript to Change Admin Password on a list of Computers
Create a text file listing one computer...

(No rating)  5-2-2008    Views: 85   
article VBScript to Change Admin Password on AD Computers
The password is statically set in the...

(No rating)  5-2-2008    Views: 76   
article VBScript to delete all disabled users on a computer
This script will delete all disabled users...

(No rating)  5-4-2008    Views: 44   
article VBScript to find uptime for the list of server
On Error Resume NextConst...

(No rating)  5-5-2008    Views: 109   
article VBScript to change network card speed and duplex setting?
This change the network settings to...

(No rating)  8-1-2008    Views: 60