Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- 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
- 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
Additional Resources
- Script for finding the model for hundreds of servers
- HelloI have the script for finding the model of a server.. but copying the script & excuting it takes lot of time... Am copying the script hereSet objFSO = CreateObject("Scripting.FileSystemObject")Set objTextFile = objFSO.CreateTextFile("c:software1.xls", True)set obj=Wscript.CreateObject("Wscript.Network")set obj1=Wscript.StdOutstrComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\" & strComputer &...
- Tags: ananth1201@..., server
- Discussion threads 2007-06-25
- Reset local administrator passwords with VBScript
- One nice feature of Active Directory is the ability to rename local Administrator accounts on machines using Group Policy. Invariably, when I mention this feature to a client, the next question is: “Can we change the Administrator password too?” As a Group Policy item, the answer is no. You can,...
- Tags: Randy Barger, Microsoft VBScript, Now & vbTab, password, strComputer
- Technical articles 2004-04-14
- Reset local administrator passwords with VBScript
- One nice feature of Active Directory is the ability to rename local Administrator accounts on machines using Group Policy. Invariably, when I mention this feature to a client, the next question is: “Can we change the Administrator password too?” As a Group Policy item, the answer is no. You can,...
- Tags: Microsoft Windows NT, Microsoft VBScript, Randy Barger, strComputer, Now & vbTab, password
- Technical articles 2004-04-14
- User Last Logged In From...?
- Hello,Is there a feature in Windows Server 2000/2003 or maybe a program I can obtain that will give me the last computer that a person connected from? For instance, I want to keep track of what users are connecting from what computers. I would like to be able to select...
- Tags: PRODUCTIVITY, macbrando@..., Const ForAppending, sFileName, computer, CreateObject
- Discussion threads 2007-08-28
- 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
- WMI: Output to a file
- HI, Does anyone knows how to output the data to a file in the script below? I tried to find info on this but so far no luck. Thanks.-------------------------------------Option ExplicitDim strComputer, strKey, strSubKeyDim objRegistryDim arrSubKeysDim strDisplayName, strDisplayVersion, strInstallLocationConst HKEY_LOCAL_MACHINE = &H80000002strComputer = "."strKey = "SOFTWAREMicrosoftWindowsCurrentVersionUninstall"'*'* CALLOUT A'*Set objRegistry = GetObject("winmgmts:"...
- Tags: programming, psvoboda@..., strKey, strSubKey, strSubKey Dim objRegistry Dim arrSubKeys, WMI
- Q&A 2005-04-21
- Bulk-delete stale computer accounts with VBScript and NetPWAge
- Youve probably been looking at your Windows-based domainslately and wondering about all those inactive computer accounts. What are someof them? Are they merely shut down for the day, or have they been permanentlyremoved from the network? If you have hundreds or thousands of computeraccounts, the thought of tracking them all...
- Tags: computer, Microsoft VBScript, password, Randy Barger
- Technical articles 2004-07-21
- Open HTML File in VB .net
- Can anyone tell me; How to open an html file in vb .net application AND How we can get app path in vb .net (like vb 6.0).ThanksHEMAL SHAHFirst, to open an any file, even HTML:Imports SystemImports System.IOClass Test Public Shared Sub Main ...
- Tags: Console.WriteLine, HEMAL, Microsoft Visual Basic, programming, StreamReader
- Q&A 2005-04-25
- Remove desktop icons in preparation for a new app with this member-submitted script
- By Dan ParrTechRepublicrecently asked members to submit their favorite Network Administration scriptsfor possible publication. One of the first to make a submission was Dan Parr. For his effort, Lee earned $100and the satisfaction of seeing his scripts published on TechRepublic.Earn $100 for your admin scriptLet us payyou for your original...
- Tags: Dan Parr, desktop, Guest Contributor, new app, Profname
- Technical articles 2006-01-20
- How to know copy file to FTP Server done successfully or failed??? Help!
- Well, I'm using VB Script to automatically transfer file to FTP server and make a backup at local PC. The thing is no matter the file done the copy successfully or failed, the message always said it transfer successfully. There must be something wrong in the script, but I'm just...
- Tags: server, poppet_sundae@..., FTP server, sFileName, fso.DeleteFile, sToFolder, fso.FileExists, WshShell
- Discussion threads 2007-08-11
- How do I get a VBScript to read the wscript.echo output?
- How do I get a VBScript to read the message box's output after, first searching my computer for that output and second creating a new folder named after that output?I am trying to create a VBScript that displays the current month/year, searches my computer for that month/year folder and ...
- Tags: Scripting languages, husweety@..., Wscript.Echo, Microsoft VBScript, Set objFSO
- Discussion threads 2007-09-20
- Add Global Groups to computers with VBScript
- One of my clients has a common problem. Over the last fewyears in the NT 4.0 world, too many people had become members of the DomainAdmins group. Branch administrators were added because they needed to manageservers and user accounts. Help desk and desktop support staff were added,because no one wanted...
- Tags: computer, Microsoft VBScript, PC, Randy Barger, server
- Technical articles 2004-09-17
- Calculate period of time with .NET
- The inclusion of multiple time and date values in development projects often results in the need to calculate a difference. Learn how to complete this task with .NET's TimeSpan value type. A common feature of most development projects is the utilization of date and time values....
- Tags: Microsoft .NET, TimeSpan, DateTime, C#, Tony Patton, .NET, Programming languages, Microsoft development tools, J# syntax, .NET Newsletter, TechRepublic Inc., Microsoft .NET Framework, Sample Code, Microsoft Corp., Value, Console.WriteLine, Application Servers, Middleware, Software Development, Software/Web Development, Development Tools, Enterprise Software, Software
- Technical articles 2005-06-27
- Working with random numbers in .NET applications
- Random number generation is a common programming endeavor, but many developers are unaware of the true nature of the random numbers generated by a system. Learn more about random numbers and how to use them in your .NET applications. TechRepublic's free .NET newsletter, delivered each Wednesday, contains useful tips...
- Tags: Microsoft .NET Framework, Microsoft .NET, Middleware, Tony Patton, .NET, Application servers, Microsoft development tools, Programming languages, Random class, random number, .NET Newsletter, Method, TechRepublic Inc., Theory, Class, Value, Signature, Seed, Number Generation, Random, ToString, C#, Engineering, Software Development, Software/Web Development, Enterprise Software, Software, Development Tools
- Technical articles 2005-04-12
- CSV2TAB (exe)
- CSV2TAB is a csv file to tab file converter. Use it to convert your access comma separated files into TAB delimited files. Simply provide an input file, some field names and an output file name. CSV2TAB will then create a file containing TAB in the outfile from your csv data.
- Tags: Comma, CSV File, CSV2TAB
- Software downloads 2006-05-18
- Calculate period of time with .NET
- A common feature of most development projectsis the utilization of date and time values. You may utilize thisfeature in a variety of places, including report generation, dataentry, and calculations. The inclusion of multiple time and datevalues often results in the need to calculate a difference. The.NET Framework provides numerous approaches...
- Tags: DateTime, DateTime value, Microsoft .NET, TimeSpan, TimeSpan value, Tony Patton
- Technical articles 2005-06-27
- Window XP Scheduler problem
- I have a simple VBScript that calls up MS Excel, and runs an Excel macro to format some data. This script, as listed below, runs fine if I start it manually or scheduled it to run when I am logged on as a regular user (i.e. without Admin priviledge). If...
- Tags: Admin Privilege, Microsoft Corp., Microsoft Excel, Microsoft Windows, ttchu@..., window, windows
- Q&A 2005-11-04
- Report lines NOT in two compared files
- HiI'm quite new on this and I need to compare 2 text files that contains several lines and get a report of wich lines are NOT in both files. I've made a vbscript and can get to have wich lines are in both files; however I can't get to make...
- Tags: cornejo.alvaro@..., Microsoft VBScript, OrigLine, programming, SET OrigLine, vbscript
- Q&A 2006-02-03
- << Previous
- page 1 of 1
- Next >>