How to set Paper size in vbs Guys, Thanks for the replies so far. I found out the way to accomplish this in VBS. 1. you need to download Windows resource kit tools. This is freely downloadable. http://www.microsoft.com/Downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en Have a look at the help file... 3 Sep 2009 05:22
Login error - "Loading script failed" Can anyone offer suggestions as to why one of my users reported this error: Loading script "\\TOR-SVR-DC1\MCWlogonPRO.vbs" failed (0xC0000006) ? The server in question is solely a Domain Controller for about 140 people. The same script is running from other regional DCs without issue. Is there an unofficia... 9 Feb 2009 13:49
Run command problem in vbs I only want the setup.exe to run if the version of the LDISCN32.EXE file <> "8.70.8.22". On the machine on which I have been testing this, I KNOW the version IS "8.70.8.22". So...it should NOT run. But EVERY time I try to run this...it executes the setup.exe. What am I doing wrong? Am I not checking the versi... 9 Feb 2009 00:04
IsMember query Hi I want to deploy a shortcut using the IsMember to 6 different security groups I've used the following to deploy to a single group, how can I include 6 different groups? If IsMember(strUserName, "Group1") = 1 Then StrShortCutName = "Group1) FSO.copyFile strStartMenuShortcutsFolder & strShortCutNa... 4 Feb 2009 19:06
xcopy ftp This might be a dumb question but, I can't find a simple answer anywhere. Is there a way via a bat or cmd (even vbs) to: 1) auto logon to a FTP server 2) do an "xcopy" from a ftp server to one directory on the local drive 3) auto logoff and close the ftp session I don't need the folders. I just need all of t... 5 Feb 2009 02:25
Connecting to Win32_DFSTarget on Windows Server 2008 I am using the following script for listing DFS on a server: strComputer = "SERVERNAME1" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colDfsNodes = objWMIService.ExecQuery _ ("Select * from Win32_DFSNode") For each objDfsNod... 28 Jan 2009 02:55
Vbscript to Search Excel Hi, I am trying to write a Vbscript which will search for some keywords in all the worksheets of a excel file and if a match is found then the script should write that row to a text file. I am able to find in which sheet the keywords are in. But i am not able to find a way to write the value of that row to t... 1 Feb 2009 02:03
Help desperately needed. I need a simple script that will export from a certain OU (including sub OUs) the sameaccountname and displayname values for all users into a CSV file. Sounds simple enought right, not for my with no vbscript skills. You'd think Google would help me but Google hates me. Any help would be great. ... 26 Jan 2009 09:56
Populating ComboBox Hi I am using the "Browser.vbs" file in the "WindowSystemObject (WSO)" from Mr Veretennikov - I have seen his name metioned with great respect in here before, indeed it was a posting in here that caused me to download and try WSO !! (How I wish I spoke Russian, I would then be able to create a copy of his .cf... 7 Jan 2009 10:47
WSUS List Computers that Need to Reboot I receive an Error invalid character, Line 1 Char: 87 Code 800A0408 when running the following Vbscript from microsoft. Does anyone know which character is invalad? [reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") | out-null if (!$wsus) { $wsus = [Microsoft.Upd... 29 Nov 2008 13:25 |