Login script errors on a blank line I am getting an error on a blank line of my script. I'm getting an error line: 138 char: 3 error: Network path was not found code: 80070035 source: WSHNetwork.MapNetworkDrive When I use my status bar in Notepad it takes me to a blank line in the script. I've tried deleting it, commenting it ou... 23 Feb 2006 11:11
-2147463168 errors I keep getting -2147463168 errors when I attempt to run this script. This used to work but when I went back to actually continuing using it these errors keep happening. I saw the microsofty post about this issue but it did not correct my problem. The problem occurs during the GetObject Line. Set oUser = Ge... 16 Feb 2006 14:25
ActiveX component can't create object: Excel Aplication, Errog Code 800A01AD I Wish to crate users with sourse from excel in Active Directory Set objExcel = CreateObject("Excel.Application") .....................Error Set objWorkbook = objExcel.Workbooks.Open _ ("C:\Scripts\New_users.xls") intRow = 2 Do Until objExcel.Cells(intRow,1).Value = "" Set objOU = GetObject("ou=test, ... 13 Feb 2006 17:33
Active X component can't create object scripting.filesystemobject code 800A01AD When I run Set wshFileSys = CreateObject("Scripting.FileSystemObject") on an XP Pro machine I get the error "Active X component can't create object scripting.filesystemobject code 800A01AD". This works fine on many other XP Pro machines. Does anyone know what could cause this error? Thanks, Doug ... 10 Feb 2006 19:25
VBScript for Windows Updates (advert) Hello, There are a variety of Windows Update (WUA/WSUS) VBScripts out there, and here is ours from its recent commissioning @ Hull College: www.futuretime15.karoo.net For any newbies to VBScripting, its ValidArguments() function, which parses the command-line arguments, may also be worth a peek. =======... 8 Feb 2006 14:41
objUser.SetPassword "object dose not support this property or method" error Hello, When I am trying to use objUser.SetPassword = strPSW - strPSW is being picked up from Excel cell. I am getting "object dose not support this property or method" error. But when I define objUser.SetPassword = "Password" it works. Basically I have worked out random password generation in excel and I want ... 9 Feb 2006 02:37
Permission denied Code: 800A0046 Hello, I am Domain Administrator for our domain. I am trying to delete one user's profile folder using following code. Dim objFSO Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFolder("C:\Documents and Settings\Test1.Test1") When I run the vbscript I get following error. Script: pa... 3 Feb 2006 17:38
VB WMI script syntax Hi, I'm in the process of learning soem basic scripting from tutorials etc, and have borrowed the following script from a couple of MS technet pages: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\cimv2") Set colMoni... 1 Feb 2006 13:31
Permission Denied: Msgbox - Client-side Error I have an ASP application that I wrote for my company that's been in use for three years with this sporadic problem that I've never found a definitive answer to. I'm getting this error from the client-side vbscript, but only at this new site. When I change the msgbox function to alert, it works fine. I also have an... 25 Jan 2006 13:46
objDSO.OpenDSObject Query from workgroup computer............ I'm connecting to AD LDAP via the objDSObject query to get the UserDN for a given account. I have written the code that allows me to bind to the AD LDAP successfully but not sure how to query the UserDN for a given user............ this is my progress so far allowing me to bind to the AD LDAP sucessfully..... ... 25 Jan 2006 04:46 |