Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- How do I send the VBScript Output to my Email?
- I am using the below script to find out the status of the Windows Services in the Server. How can i send the output to my email instead of showing it on the desktop?strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" & strComputer & "rootcimv2")Set colServices...
- Tags: bhnizam79@..., Set objWMIService, strComputer, e-mail, Microsoft VBScript
- Discussion threads 2007-10-04
- Non-Domain WinXP: Creating Multiple Local User Accounts
- Have about 50 WinXP clients in a non-domain controled environment. What is required is that all Users have access to any PC using their own credentials. Does anyone know of a way to create a batch-file or a script that can be run on each machine to add to the...
- Tags: Microsoft Windows XP, battlel@..., strComputer, CreateObject, WinNT://, GetObject
- Discussion threads 2007-09-21
- Get PC Physical Memory Size via VB Script
- Hi guys, I had been trying to get the PC physical memory size via bwelow code://///////////////////////////////////////////// function getTotalMemory strComputer = "." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "rootcimv2") Set colSettings = objWMIService.ExecQuery("Select *...
- Tags: Web browsers, andrew.zou@..., strComputer, GetObject, PC, Microsoft Visual Basic, Microsoft VBScript
- Discussion threads 2007-09-11
- Got an error with this script, cannot connect to computer...
- PLEASE HELP!!!The computer list was created manually.'-------------------------------------------------------------------------------' Initialization - Declare variables'-------------------------------------------------------------------------------Dim fsoIn, fsoOutDim inFile, outFileDim arrComputerNamesDim objUserDim strComputerDim newPasswordDim ErrorOccurredConst ForReading = 1Const ForWriting = 2Const ForAppending = 8Const inFilename = "computers.txt"Const outFilename = "ChangePwdcomputers.log"'-------------------------------------------------------------------------------' Main script'-------------------------------------------------------------------------------On Error Resume NextErrorOccurred = False' Insert WARNING here...Msgbox ("WARNING: This script will change...
- Tags: julliadarc@..., strComputer, password, Now & vbTab, newPassword Dim ErrorOccurred Const ForReading, outFile.writeline Now & vbTab, computer
- Discussion threads 2007-06-15
- Active screensaver on an entire domain except for 3 computers
- I´m trying to do that in title and I´m wondering how... I know that it´s possible by GPO (user conf/admin templates/control panel/... and so on), but the point is... I need to exclude 3 computers from meeting rooms of that policy because they are used for presentations for several users....
- Tags: computer, adriano@..., screensaver, Const HKEY_CURRENT_USER, ValueName, strKeyPath objRegusers.CreateKey HKEY_USERS, strKeyPathusers, strComputer
- Discussion threads 2007-04-03
- Looking for a script that will report folder size from multiple computers
- I need a vbs script that will report the size of a folder on multiple computers. I have a script that will report this information when ran on a single computer. What I would like to do is to have this script read from a list of computers...
- Tags: computer, brood@..., Const ForAppending, networking, strComputer
- Discussion threads 2007-02-12
- Recovering from a forgotten Administrator password in Windows 2000 Pro
- or you can use chntpwBoot from a rescue cd that contains this nifty util; Trinity Rescue CD is one :-)or use ntpasswdOr you can download ntpasswd, This is a linux boot cd that lets you delete any passwordor even try WSH scriptOr try this WSH VB script.It can reset any...
- Tags: itsds, Microsoft Windows, Microsoft Windows 2000, Now & vbTab, password, software, strComputer
- Discussion threads 2007-01-16
- domain join
- i need to move several computer accounts from a workgroup and join them to a w2k domain. could someone send me a script for the task?Two possible solutions.You can take a look at this link: http://msdn2.microsoft.com/en-us/library/aa392154.aspx,
- Tags: kofi06@..., strComputer, strPassword
- Discussion threads 2007-01-02
- WMI
- Can i know how to ping remote systems on windows 2000 professional operating system using WMI can u please provide example in C++.i have the following script examplestrComputer = "PC1;PC2;" sArray = Split(strComputer, ";")strDomain = "WOrkA
- Tags: programming, networking, software, windows, WMI, strComputer, sArray, abhiramhi@..., InputBox, strPassword
- Discussion threads 2006-11-27
- pinging remote systems on windows 2000 using WMI
- Can i know how to ping remote systems on windows 2000 professional operating system using WMI can u please provide example in C++.i have the following script examplestrComputer = "PC1;PC2;" sArray = Split(strComputer, ";")strDomain = "WOrkA
- Tags: programming, networking, software, windows, WMI, strComputer, abhiramhi@..., InputBox, sArray, strPassword
- Discussion threads 2006-11-21
- KILLING Remote process using wmi script
- strComputer = "abc;def;ghi;jkl;mno" strDomain = "WOrkgroup" strUser = InputBox("Enter user name") strPassword = InputBox("Enter password") Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") For Each machine in strComputer
- Tags: programming, networking, software, windows, strComputer Set objWMIService, abhiramhi@..., strComputer, strPassword, WMI
- Discussion threads 2006-11-17
- Login Script
- I need a login script to add a group to the local administrators group on PC's. I want it to work when users login to the PC and save the visit to each PC manually. I know this can be done through the global policy but it might...
- Tags: Desktops, PC
- Q&A 2006-01-13
- script for shutting down clients Pc.
- As all the client systems logon to server for file and printer sharing. Server is win2k advance server. Pl. provide me how to prepare a script to force the client systems to shutdown through server. ThanxBharat PrasadCut n past this into notepad and save with the extension ".vbs". strComputer =...
- Tags: server, strComputer
- Q&A 2006-03-07
- Remote Password Change with CUSRMGR
- I'm a DoD contractor at a USAF hospital in the U.K. and I'm attempting to use CUSRMGR for changing admin passwords on over 800 PC's. It works just fine as long as you don't go over 12 characters in the batch file. The problem is the Air Force has now...
- Tags: CUSRMGR, dante.cinelli@..., password, windows
- Q&A 2006-01-23
- CPU Utilization Script
- Hi,I need assistance to write a script for CPU Utilization which will records events in every 5 mins and transfer data in some text file.Is there any kix or dos batch script which i can use.Thanks and Regards.Anurag.For this kind of job you need some knowledge about Windows API.For this...
- Tags: CPU, vbTab, strComputer
- Q&A 2006-01-04
- Netdde on W2000
- Hi all,we use an application named InTouch 7.1.It was written for NT, but we install it on W2000. It seems to work for the main features, but same secondary features based on NETDDE protocol doesn't run. The SW support told us that it doesn't work becasue w2000 doesn't support NETDDE,...
- Tags: 2000 os, ginone70, NetDDE, objService, strComputer, W2000, windows
- Discussion threads 2005-12-01
- Dell Service Tag
- Is there any way to retrieve a dell service tag number from a remote pc without user intervention?if you're using the default load from dell it should be under C:i386oeminfo.iniif you're using your own load...i don't think there is a way to get it.Dell open management software will get information...
- Tags: strComputer, Dell Computer Corp.
- Q&A 2005-09-14
- Scan for Windows SP1 on a network
- Hello, I'm working in a department of about 400 users and wanted to make sure everyone was running Windows Service Pack 2. Is there a possible way (a tool maybe?) to scan a network to search for computers that are still running Windows XP SP1? Thanks.From MS technetList...
- Tags: H-tech, Microsoft Windows, network, strComputer, windows, Windows SP1
- Discussion threads 2005-03-28
- ipp printing
- HiI have set up internet printing on a win2k server. All works well from within the lan. When I access from the internet I can see the printers, read their properties and manage them, but if I try to connect and thus print. I get the message 'Printer not found...
- Tags: it management, johnstr, printer, printing, strComputer
- Q&A 2005-03-25
- Improve your VBScript programming skills with these tips
- Systemadministrators are continuing to expand their use of scripting. Although you may not come from a programming background, understandingbasic programming makes a growing scripting infrastructure a lot easier tomanage and optimize. I won't start at the very beginning with tips such as properindentation for script readability and the use of...
- Tags: strComputer, Â Â Â Â Â Â Â Â Â Â Â GetSNwithComputerName, Pierre Dumoulin, Function, Microsoft VBScript, Â Â Â Â Â, Â Â Â Â Â ComputerName, ComputerA, ConnectToWMI, programming, WMI connection, rowSN
- Technical articles 2005-02-03