On last.fm: Check out Lil Wayne's Music for Free
2 Resources for

wscript

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

WScript Executing As IWAM Not Terminating
Hi all,Hopefully someone out there can help.From an ASP application I am spawning a WScript shell that can't seem to close itself. The script runs until it encounters a flag, at which point it calls WScript.Quit. This works a-okay when I start
Tags: wscript, vbscript, asp, programming, scripting, WScript Executing, IWAM, Hamish_NZ, WScript.Quit
Discussion threads 2006-11-19
Object lesson: Windows scripting for administrators, part 1
Scripts offer IT pros many opportunities to automate and simplify administrative tasks. Lamont Adams takes a look at the object building block and how you can leverage scripts to simplify your day.As many a Mac or UNIX devotee will tell you, one of Windows’ weaknesses is its lack of a...
Tags: Scripting languages, Operating systems, Lamont Adams, Windows Scripting, Microsoft Windows, WSH, Wscript
Technical articles 1999-08-20

Additional Resources

Dell Express Service Code
Does anyone know how to read the Dell Express service code using VBScript?We are currently reading the service tag and model from the bios but would like to get the express service code.We don't know the syntax to read that object.If anyone knows please let me know.This is what I...
Tags: dan.cox@..., Dell Computer Corp., Wscript.Echo
Discussion threads 2007-05-31
VBS script failure
I got a Vbs login script i want to use to execute commands in cmd with admin privileges. It sometimes fails to load properly and hangs at "enter the administrator password" and doesnt send the password while sometimes it works perfectly.Can anyone see what i have to change or do?Option...
Tags: mdegroodt@..., WScript.Sleep 100 oShell.Sendkeys
Discussion threads 2007-08-14
Finding CPU ID
I want to get the unique machine id or CPU ID through GUI based program. If it possible?. If so please guide me.RegardsRaja C S Ahere is a sample script in WMI that gives you all the info you need about your processor. To keep from getting a bunch...
Tags: CPU, csaraja@..., programming, Wscript.Echo
Q&A 2005-06-21
Logon Script
I want a script that appears when the user logs on that states a warning message and the user will have to click yes to get onto the desktop or if they click no it will log them out.Try This.You may need to modify it for exactly what you want...
Tags: cterreforte@..., Wscript.Echo
Discussion threads 2007-09-05
Using "wscript" to send a message
How can I use "wscript" to send a message from a Windows 2003 server to a specific computer on a network?Hi Kaypauluse a vbs script to call wscript.....wscript.echo "message goes here"save the above line in a file called something.vbs..... this will display a pop up box requiring users to click...
Tags: Servers, kaypaul@...
Discussion threads 2007-03-17
How to remove network printers via a VBS script?
Hi all,I need to create a VBS logon script for users here to remove network printer conncections if they exist for a user's AD account. I've figured out how to add network printer connections, but I've run into a brick wall with removing them. I'd like the script to remove...
Tags: Computer Dude, network, network printer, printer
Q&A 2005-03-30
Getting 80070003 Error with vbscript
All --I have a vbscript running in an ASP page that I am trying to get to access a virtual directory in IIS 6. I can get the metapath of the site, but when the script tries to access the virt dir, I get a path can not be found...
Tags: A1, cmptrwhz, Getting 80070003 Error, Microsoft VBScript, programming, Wscript.Echo
Q&A 2005-12-13
Help Writing a Script
I am new to scripting and I want to create a WHS logon script to run a .exe. can anyone point me in the right direction?here ya goSet oWshShell = WScript.CreateObject("WScript.Shell")sCommand = "yourexe.exe"oWshShell.RunsCommand
Tags: ken_hagins@...
Discussion threads 2007-04-24
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
Ping Network
How can i ping all IP Addresses on a network to see which are used and which are free?A vbscript will do it--------------Option ExplicitDim objShell, strSubnet, iSet objShell = CreateObject("WScript.Shell")strSubnet = "10.130.32." 'Obviously set this to yours! And note the trailing stopFor i = 1 to 255 If IsUp(strSubnet & i) Then wscript.echo strSubnet...
Tags: it management, network, Sprocket, strSubnet
Q&A 2005-11-07
Diskspace VBScript Help needed
How do I edit this script so that it will output the diskspace for each computer?To run the script the syntax is cscript diskspace.vbs computernameHere is the code: On Error Resume NextConst CONVERSION_FACTOR = 1048576Const WARNING_THRESHOLD = 100If WScript.Arguments.Count = 0 Then Wscript.Echo "Usage: FirstScript.vbs server1 [server2] [server3] ..." WScript.QuitEnd...
Tags: computer, Err.Number, keebmachine, Microsoft VBScript, programming, Wscript.Echo Computer
Q&A 2004-12-10
VB File Copy script failing
Can anyone otut there tell me why this ain't working? The echo's are so I could see how far it was getting. I have a 'Expected If' error but have had all sorts. Need to be able to pass it the filename from the command line. ...
Tags: fsoCopy.CopyFile strFilename, Option Explicit Dim strFilename Dim fsoCopy Dim strDestination, Set strFilename, Matt H, programming, InStr, Microsoft Visual Basic, ElseIf inStr
Q&A 2006-06-28
VB script problem
Hi,Is there any way include user name with password to map a network share in VB script. example: username: mejhone password: support, network shard: \csg_appmerchsharecan this be done?Thank you.No I would not recommend to do it that way. Best way is to assign permissions on ther server to allow users...
Tags: password, WScript.Network, Wscript.CreateObject
Q&A 2004-11-12
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
Scripting
Looking for a script that will rename and change password on all of the local administrators user accounts. I can do this through GPO I know, but I want to run this particular script on a list of servers without having to reboot. I have found a couple...
Tags: arrSubAut, BlitzSonik, bSID, CStr, err.description, Hex, oUser.objectSID, password, security
Q&A 2005-05-19
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
Deleting Reg Key
I need to delete a registry keys through a login script . I am not sure I have the right syntax.=========================================DelRegKey.vbs'' This script should handle deleting a registry key which may, or may not, exist' and does, or does not, have subkeys.Option ExplicitConst HKEY_CURRENT_USER = &H80000001Dim strComputerDim strKeyDim strValueNameDim strValueDim...
Tags: aSubKeys, ByVal strKey, Deleting Reg Key, networking, rocky5689, strKey, strKey End, vbs, Wscript.Echo
Discussion threads 2006-01-11
Windows script escape character.
Hi,Does any one know if there is such a thing.I want to create a script with this inobjshell.run "net localgroup mygroup "mydomaindomain users" /add"But it does not like the " around the domain users, I always get an expected end of statement error. Is it possible to escape it.I...
Tags: Microsoft Windows, daniel.davis@..., Chr
Discussion threads 2007-04-24
  • << Previous
  • page 1 of 1
  • Next >>


FastAnswer: Deleting User Accounts w/o Deleting Data Files
When you delete a user account on Windows XP, you can also lose the user's data if you're not careful. This FastAnswer show you how to keep from losing data when deleting a profile.
Buy Now
Windows XP Professional Administration
Microsoft Windows XP's enhanced functionality and business productivity improvements can provide a significant payoff for your organization--but only ...
Buy Now

Cracking Open Apple Tech