plaguelord Posted March 7, 2010 Posted March 7, 2010 (edited) Hey AllCan you please help find what i need to install to fix this error?I get this error when I try to run a VBScript:Line: 27Char: 1Error: Not SupportedCode: 8004100CSource: SWbemServicesEx N.B. The script runs OK on a non nlited version of xpThe script looks like this:strComputer = "." strfile = "c:\\test.txt" ventetid = 10 afsender = "xxx@gmail.com"brugernavn = "xxx@gmail.com"kode = "xxx" modtager = "yyy@gmail.com" emne = "xxx" smtpserver = "smtp.gmail.com" smtpport = 465 ssl = True godkendelse = 1 Set objShell = CreateObject("Wscript.Shell")Const ForReading = 1Const cdoSendUsingPickup = 1Const cdoSendUsingPort = 2Set objFSO = CreateObject("Scripting.FileSystemObject")Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colMonitoredEvents = objWMIService.ExecNotificationQuery _("SELECT * FROM __InstanceModificationEvent WITHIN " & ventetid & " WHERE TargetInstance ISA 'CIM_DataFile' and TargetInstance.Name='" & strfile & "'")DoSet objLatestEvent = colMonitoredEvents.NextEventintReturn = objShell.Popup("aendring opfanget, der sendes en mail",10, "sender post",0)Set objFile = objFSO.OpenTextFile(strfile, ForReading)Do Until objFile.AtEndOfStreamstrLine = objFile.ReadLineLoopobjFile.Closesendpost(strLine)Loopsub sendpost(tekst)Set objMessage = CreateObject("CDO.Message")objMessage.Subject = emneobjMessage.From = """xxx"" <" & afsender & ">"objMessage.To = ModtagerobjMessage.TextBody = tekstobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpserverobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = godkendelseobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = brugernavnobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = kodeobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpportobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = sslobjMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60objMessage.Configuration.Fields.UpdateobjMessage.Sendend subThe things that are removed from my xp edition:The Following has been Removed From This OS...Applications:BriefcaseGamesInternet GamesPinballScreensaversDrivers:Asynchronous Transfer Mode (ATM)Display AdaptersDisplay Adapters (old)IBM PS/2 TrackPointIBM ThinkPadISDNLogitech WingManMicrosoft SideWinderModemsMultifunctionalPrintersScannersSerial Pen TabletSony Jog DialTape drivesToshiba DVD decoder cardHardware Support:ATM SupportBrother DevicesGravis Digital GamePortIomega Zip driveMulti-port serial adaptersRamdiskWindows CE USB HostMultimedia:AOL ART Image Format SupportImages and BackgroundsIntel Indeo codecsMedia CenterMouse CursorsMovie MakerMusic SamplesOld CDPlayer and Sound RecorderTablet PCWindows Media PlayerNetwork:Client for Netware NetworksCommunication toolsComtrol Test Terminal ProgramConnection ManagerFrontPage ExtensionsH323 MSPInternet Connection WizardInternet Information Services (IIS)IP ConferencingMSN ExplorerNetmeetingNetwork DiagnosticNWLink IPX/SPX/NetBIOS ProtocolPeer-to-PeerShare Creation WizardSynchronization ManagerVector Graphics Rendering (VML)Web FoldersWindows MessengerOperating System Options:NET FrameworkAdministrative TemplatesAdministrator VB scriptsBlaster/Nachi removal toolColor SchemesDesktop Cleanup WizardDocument TemplatesDR WatsonExtra FontsFAT to NTFS converterFile and Settings WizardFile System EncryptionHelp and SupportIExpress WizardManual Install and UpgradeMS AgentMS XML 2.0Out of Box Experience (OOBE)Private Character EditorRemote Installation Services (RIS)Search AssistantSecurity CenterService Pack MessagesShell Media HandlerSymbolic Debugger (NTSD)TourWeb ViewServices:Application Layer GatewayError ReportingIndexing ServiceMessengerNetwork DDERemote RegistryRemovable StorageRoute Listening ServiceRPC LocatorService Advertising ProtocolSimple TCP/IP ServicesTelnetDirectories:DOCSSUPPORTVALUEADDI have disabled and deleted the Classic Windows XP Install Screens with the info about XP and the blue Background.You will just see a black background now and the install will look similar to 2000. This saves Space and gives moreinfo while installing.The Minimum HD and RAM Requirements have been lifted. You can try and install this on whatever machine you like now.High ISO Compression has been enabled to save space.Patches:TCP/IP Half-Open Connections = 1000 (Default 10)UXTheme Patch (Allows Unsigned Themes to be applied to XP)Windows System File Checker Disabled (SFC)Tweaks:Boot and Shutdown-Auto-End tasks immediatelyBoot and Shutdown-Auto-Kill hung applications immediatelyBoot and Shutdown-Auto-Kill hung services immediatelyBoot and Shutdown-Ctrl-Alt-Del at logon-DisabledBoot and Shutdown-Logon Page-ClassicBoot and Shutdown-Setup Prefetch-Cache-DisabledBoot and Shutdown-Status Messages-ExtendedDesktop-Desktop icons size-32Desktop-Internet Explorer icon-HideDesktop-My Computer icon-ShowDesktop-My Documents icon-ShowDesktop-My Network Places icon-HideDesktop-Recycle Bin icon-ShowExplorer-Add (un)register libraries in Context MenuExplorer-Add 'Command Prompt' to folder context menuExplorer-Advanced Search: preconfigure optionsExplorer-Associate additional file types with NotepadExplorer-Change Windows Explorer folder view-DetailsExplorer-Classic Control PanelExplorer-Disable Accessibility keyboard shortcutsExplorer-Disable AutorunExplorer-Disable Prefix: Shortcut toExplorer-Disable shortcut arrowExplorer-Disable Web Files and Folders connectionExplorer-Display the contents of system foldersExplorer-Launch folder windows in a separate processExplorer-Show Drive Letters in front of Drive NamesExplorer-Show extensions of known file-typesExplorer-Show hidden files and foldersExplorer-Show Map Network Drives buttons in Explorer barExplorer-Show Statusbar in all windowsExplorer-Show the full path in the Address BarExplorer-Show the full path in the Title BarExplorer-Use small icons in Explorer barInternet Explorer-Disable information bar when popup is blockedInternet Explorer-Disable Market Place bookmarkInternet Explorer-Disable Media Player 6.4 created bookmarksInternet Explorer-Disable Outlook Express link creationInternet Explorer-Disable Password-CachingInternet Explorer-Disable sound when popup is blockedInternet Explorer-Enable Google URL-SearchInternet Explorer-Keep IE URL-History for-0 DaysInternet Explorer-Set Homepage-www.google.comInternet Explorer-Set Internet Explorer to accept 10 connects at a timeInternet Explorer-Set popup-blocker to highMy Computer-Add Administrative ToolsMy Computer-Add Control PanelMy Computer-Add Network ConnectionsMy Computer-Add Registry Editor to Context MenuMy Computer-Add Scheduled TasksNetwork-Allow receiving Remote Assistance-DisableNetwork-Disable restoring mapped network drives on logonPerformance-Disable Info Tips on Files and FoldersPerformance-Disable Last accessed Timestamp on filesPerformance-Disable Optimize harddisk when idlePerformance-Disable Tracking of Broken Shortcut LinksPerformance-Disable WBEM loggingPerformance-Do not cache thumbnailsPrivacy-Disable Driver Update Internet promptPrivacy-Disable File MRU-ListPrivacy-Remove AlexaSecurity-Always show Updates under SoftwareSecurity-Disable DCOMSecurity-Disable Web Open With promptSecurity-Disable Windows Script Host (WSH)Security-Re-Enable user:pass URLsStart Menu-Add Administrative Tools menuStart Menu-Clear most recently opened documents list on logoffStart Menu-Control Panel-Display as a menuStart Menu-Disable and remove Documents list from the Start MenuStart Menu-Disable Highlight newly installed programsStart Menu-Do not use Personalized MenusStart Menu-My Computer-Display as a menuStart Menu-My Documents-Display as a menuStart Menu-My Music-Don't display this itemStart Menu-My Network Places-Don't display this itemStart Menu-My Pictures-Don't display this itemStart Menu-Network Connections-Display as Connect to menuStart Menu-Printers and Faxes-Display as a menuStart Menu-Reduce popup delayStart Menu-Remove Search For People from SearchStart Menu-Remove Search the Internet from SearchStart Menu-Remove Set Program Access and DefaultsStart Menu-Remove Windows Catalog shortcutStart Menu-Scroll ProgramsStart Menu-Use small icons in Start PanelTaskbar-Disable Balloon TipsTaskbar-Disable Group similar Taskbar buttonsTaskbar-Disable Hide inactive iconsTaskbar-Disable Language-BarTaskbar-Hide Volume Control Icon in System TrayTaskbar-Lock the Taskbar-YesVisual Effects-Animate windows when minimizing and maximizing-DisableVisual Effects-Menu animation-DisableVisual Effects-Menu shadows-DisableVisual Effects-Menu style-FlatVisual Effects-Smooth edges of screen fonts-Clear Type Edited March 7, 2010 by Yzöwl code tags addes
cluberti Posted March 7, 2010 Posted March 7, 2010 First, welcome to the forums Next, please try to post nLite-related questions in the nLite forums next time. In big red letters at the top of the XP forum where this was originally posted: If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here.[Moved].
johnhc Posted March 7, 2010 Posted March 7, 2010 plaguelord, you have removed Administrator VB scripts which will not bring the system VB scripts into the ISO. In the future, please attach large files, such as the Last Session (notice the "attach (not paste)" above in RED. Enjoy, John.
plaguelord Posted March 7, 2010 Author Posted March 7, 2010 plaguelord, you have removed Administrator VB scripts which will not bring the system VB scripts into the ISO. In the future, please attach large files, such as the Last Session (notice the "attach (not paste)" above in RED. Enjoy, John.Sorry, I will remember to attach in the future.Can I install this administrator vbscript again, by downloading it from somewhere?
johnhc Posted March 7, 2010 Posted March 7, 2010 Can I install this administrator vbscript again, by downloading it from somewhere?Sorry, plaguelord, I do not know the answer. You can certainly try to copy all the .VBS files in your CDs I386 folder to your current System32 folder. I don't know if anything else needs to be done. I had a similar problem and I just copied the one file I needed to the System32 folder. Search your CDs I386 folder (I assume you are running 32 bit XP but since you did not show us the top of your Last Session, just guessing) for *.VB_, expand all the files and copy them into your System32 folder. I am running XP x64 and have about twenty odd files of *.VB_ in my AMD64 folder. Please let us know how it goes. Enjoy, John.
plaguelord Posted March 7, 2010 Author Posted March 7, 2010 Can I install this administrator vbscript again, by downloading it from somewhere?Sorry, plaguelord, I do not know the answer. You can certainly try to copy all the .VBS files in your CDs I386 folder to your current System32 folder. I don't know if anything else needs to be done. I had a similar problem and I just copied the one file I needed to the System32 folder. Search your CDs I386 folder (I assume you are running 32 bit XP but since you did not show us the top of your Last Session, just guessing) for *.VB_, expand all the files and copy them into your System32 folder. I am running XP x64 and have about twenty odd files of *.VB_ in my AMD64 folder. Please let us know how it goes. Enjoy, John.Cant I just copypaste the missings from a regular versions folder?
johnhc Posted March 7, 2010 Posted March 7, 2010 Cant I just copypaste the missings from a regular versions folder?plaguelord, I don't know what you mean by a "regular version folder". I suspect if the files are the same as the original on the CD, it will be OK. Enjoy, John.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now