Simple Time function (for you, maybe)

TheMSsForum.com: The Microsoft Software Forum

  • The MSS Forum ‹ VBscripts
    • Archive
      • Biz
      • MCSE
      • CRM
      • Drivers
      • Framework
      • ADO
      • ASP
      • Compact
      • Forms
      • Dotnet
      • C#
      • VB
      • FontpageGen
      • Excel
      • WorkSheet
      • Exchange
      • Setup
      • Fox
      • Fontpage
      • ASP
      • IIS
      • Entourage
      • Money
      • Messanger
      • PocketPC
      • Powerpoint
      • Project
      • Publisher
      • Excel
      • VB
      • Security
      • Portal
      • Services
      • SQLServerDev
      • SVCS
      • SQLServer
      • VB
      • VC
      • MFC
      • ExcelGen
    • Previous
      • 1
        • Generating a HTML file with accentuated characters? Hi! We wrote a VBScript that create an Active Directory report into a HTML file format, but users names containing accentuated characters are displayd incorrectly! What could we do to avoid that (codepage settings)? Thanks. Claude Lachapelle Systems Administrator, MCSE Tag: Simple Time function (for you, maybe) Tag: 206979
      • 2
        • backup a remote host's event logs Hello, With VBScript, I'm trying to back up all the workstations and member servers from the PDC FSMO role holder. My script enumerates the hosts on the domain and then passes each hostname to a method which tries to backup the event logs on that box (The script is also smart enough to know how many logs are on the box and tries to back them up one at a time). My script runs without complaining but it will only backup the log files on the box which the script is run -- not any of the remote boxes. I've looked at: http://groups.google.com/group/microsoft.public.win32.programmer.wmi/browse_thread/thread/f24756bda5859d8d/f74e6e83a58910c4 http://groups.google.com/group/microsoft.public.win32.programmer.wmi/browse_thread/thread/b3fe81a46fdeca2d/393d1380a58a207b One of the posts says you cannot do this with WMI and the other post implies they got it to work. A portion of my code is posted below (and is pretty much the same as what is in one of the links above). You'll notice I'm not ignoring errors and when I run the script here backupLog always returns zero -- this is the confusing thing, the script runs without complaining but it will only backup the log files on the box which the script is run -- not any of the remote boxes. ' h = hostname ' l = Win32_NTEventlogFile.LogfileName Sub backupLogs(h, l) Dim sFileName : sFileName = "C:\Temp\" &_ h & " " &_ l & " " &_ ".evt" Dim objWMI : Set objWMI = GetObject("winmgmts:" & "{impersonationLevel=impersonate,(Security, Backup)}!\\" & h & "\root \cimv2") Dim colLog : Set colLog = objWMI.ExecQuery("Select * from Win32_NTEventLogFile where LogFileName='" & l & "'") For Each log in colLog backupLog = log.BackupEventLog(sFileName) If backupLog <> 0 Then MsgBox "The " & l & " log on " & h & " could not be backed up." Else log.ClearEventLog() End If Next End Sub So what is it... is it indeed possible to backup event logs from remote machines? If so, any suggestions to where I went wrong with my script are greatly appreciated. Thanks! Tag: Simple Time function (for you, maybe) Tag: 206976
      • 3
        • Array Question I think this would be solved with an array, but I'm not sure. I have no idea how to implement one into this. I currently have a backup script going for my company. I'm just a IT person, not a programmer by any means. I'm working off of a previously created script. What this script does, is it calls another program called "Robocopy" to do the actual copying. Basically right now, the script backs up certain PC's. Afterwards, if there is an error it emails me, telling me which computers didn't complete the backup. It also creates text files with logs and stuff. I want to be able to have a list with the PC name's and corresponding email addresses of the owners of that PC. So if there is an error the script, it find the PC name that got the error, located the email address assigned to that PC name, and sends and email to that address, stating that there was an error. Here are my scripts ... This one specifies Source & Destination http://docs.google.com/Doc?id=dcc6zqw6_1fhdh4g This one is the actual script http://docs.google.com/Doc?id=dcc6zqw6_0czkw8m Tag: Simple Time function (for you, maybe) Tag: 206971
      • 4
        • How to change environment variables in text/.reg file before import I edited a regsitry key to look like the following (below). I have it saved as a .reg file. Everywhere it says %username%, I want it to change to the logged on user. Do you know of a simple way, where if a script or something runs while the user is logged on, I can get those variables to change to the logged on user. If so, I can then have the user import the .reg file into the registry with the actual username. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange] [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \024fa8a3cf910f49aef06914a7dded75] "001f3001"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,53,00,65,00,72,00,76,00,\ 65,00,72,00,00,00 "001f3d0a"=hex:65,00,6d,00,73,00,75,00,69,00,2e,00,64,00,6c,00,6c, 00,00,00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "001f3d0b"=hex:45,00,4d,00,53,00,43,00,66,00,67,00,00,00 "00033009"=hex:02,00,00,00 "101e3d0f"=hex:03,00,00,00,10,00,00,00,1a,00,00,00,25,00,00,00,65,6d, 73,75,69,\ 2e,64,6c,6c,00,65,6d,73,61,62,70,2e,64,6c,6c,00,65,6d,73,6d,64,62,2e, 64,6c,\ 6c,00 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "01023d01"=hex:f1,3b,83,05,47,9a,7e,44,87,c6,b7,39,d3,86,38,6f "01023d00"=hex:d9,39,c1,fc,a9,e7,05,47,b7,ea,33,98,d5,af,6d,68,40,fc, 29,8f,50,\ db,b8,41,8b,53,74,69,3e,c4,c6,6d "01023d02"=hex:88,f9,13,d5,2e,6b,33,42,9e,ee,e5,76,78,28,ba,75,2f, 4e,ff,a0,47,\ 93,b3,44,9b,54,8a,fa,4c,8b,cd,86 "01023d08"=hex:cb,24,74,f4,f0,a2,32,4a,b6,26,28,54,01,94,05,8e "01023d0d"=hex:13,db,b0,c8,aa,05,10,1a,9b,b0,00,aa,00,2f,c4,5a [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \0a0d020000000000c000000000000046] "000b0340"=hex:01,00 "000b0413"=hex:01,00 "000b0412"=hex:01,00 "000b0395"=hex:00,00 "00030397"=hex:06,00,00,00 "00030399"=hex:00,00,00,00 "0003036f"=hex:66,cd,01,00 "0003033d"=hex:02,00,00,00 "00030398"=hex:02,00,00,00 "001e0336"="IPF.Note" "0003040d"=hex:9c,00,00,00 "00400032"=hex:a5,37,17,59,3f,ac,c7,01 "001f041c"=hex:00,00 "000b0417"=hex:01,00 "000b0425"=hex:00,00 "0003041b"=hex:06,00,00,00 "000b0416"=hex:00,00 "000b042a"=hex:00,00 "0102041e"=hex:f4,81,fd,df,2a,ba, 60,41,98,6a,f7,1b,e9,26,3a,b2,00,00,00,f0,4d,\ 9d [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \13dbb0c8aa05101a9bb000aa002fc45a] "00036661"=hex:00,00,00,00 "00036600"=hex:01,05,00,00 "00036601"=hex:14,00,00,00 "00036605"=hex:03,00,00,00 "00036604"=hex:02,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "01023d01"=hex:f1,3b,83,05,47,9a,7e,44,87,c6,b7,39,d3,86,38,6f "01023d00"=hex:d9,39,c1,fc,a9,e7,05,47,b7,ea,33,98,d5,af,6d,68,40,fc, 29,8f,50,\ db,b8,41,8b,53,74,69,3e,c4,c6,6d "01023d02"=hex:88,f9,13,d5,2e,6b,33,42,9e,ee,e5,76,78,28,ba,75,2f, 4e,ff,a0,47,\ 93,b3,44,9b,54,8a,fa,4c,8b,cd,86 "001e6750"="Exchange" "001f6607"=hex:62,00,77,00,31,00,37,00,31,00,00,00 "001e6608"="Exchgservername.campus.ExchORG.ext" "00036606"=hex:00,01,00,00 "00036619"=hex:09,00,00,00 "001f6620"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,53,00,65,00,72,00,76,00,\ 65,00,72,00,00,00 "00036623"=hex:2f,00,00,00 "001f6622"=hex:6d,00,61,00,69,00,6c,00,2e,00,6d,00,67,00,74,00,2e, 00,67,00,61,\ 00,74,00,65,00,63,00,68,00,2e,00,65,00,64,00,75,00,00,00 "001f6625"=hex:6d,00,73,00,73,00,74,00,64,00,3a,00,6d, 00,61,00,69,00,6c,00,2e,\ 00,6d,00,67,00,74,00,2e,00,67,00,61,00,74,00,65,00,63,00,68,00,2e, 00,65,00,\ 64,00,75,00,00,00 "00036627"=hex:01,00,00,00 "001f662a"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 "001e6603"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Recipients/cn=%username%" "001f3001"=hex:57,00,61,00,73,00,68,00,69,00,6e,00,67,00,74,00,6f, 00,6e,00,2c,\ 00,20,00,42,00,6f,00,6f,00,6b,00,65,00,72,00,00,00 "001e6602"="Exchgservername" "001e6612"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Configuration/cn=Servers/cn=Exchgservername" "101e6613"=hex:06,00,00,00,1c,00,00,00,31,00,00,00,5b, 00,00,00,72,00,00,00,88,\ 00,00,00,9d,00,00,00,6e,63,61,6c,72,70,63,3a,41,45,41,54,4c,43,41,4d, 45,58,\ 31,30,00,6e,63,61,63,6e,5f,69,70,5f,74,63,70,3a,61,65,61,74,6c, 63,61,6d,65,\ 78,31,30,2e,63,61,6d,70,75,73,2e,67,74,72,69,2e,65,78,74,00,6e, 63,61,63,6e,\ 5f,73,70,78,3a,41,45,41,54,4c,43,41,4d,45,58,31,30,00,6e,63,61,63,6e, 5f,6e,\ 70,3a,41,45,41,54,4c,43,41,4d,45,58,31,30,00,6e,65,74,62,69,6f,73,3a, 41,45,\ 41,54,4c,43,41,4d,45,58,31,30,00,6e,63,61,63,6e,5f,76,6e,73,5f, 73,70,70,3a,\ 41,45,41,54,4c,43,41,4d,45,58,31,30,00 "01026689"=hex:61,02,00,00,00,00,00,00,00,00,82,00,6a, 00,65,00,08,e0,e2,34,00,\ 00,00,00,00,9f,a5,36,00,00,00,00,08,06,09,54,65,73,74,2c, 20,42,42,00,62,2c,\ 09,63,b6,5b,1a,46,ab,ce,87,89,fd,2d,79,b6,1c, 01,05,00,00,00,00,00,05,15,00,\ 00,00,ff,4a,ed,2a,99,10,4e,55,34,70,73,2b, 53,06,00,00,50,00,42,42,54,45,53,\ 54,b0,b4,08,06,09,54,65,73,74,2c,20,42,42,00,62,2c,09,63,b6,5b,1a, 46,ab,ce,\ 87,89,fd,2d,79,b6,1c,01,05,00,00,00,00,00,05,15,00,00,00,ff,4a,ed,2a, 99,10,\ 4e,55,34,70,73,2b, 53,06,00,00,50,00,42,42,54,45,53,54,b0,b4,08,06,09,54,65,\ 73,74,2c,20,42,42,00,62,2c,09,63,b6,5b,1a,46,ab,ce,87,89,fd,2d, 79,b6,1c,01,\ 05,00,00,00,00,00,05,15,00,00,00,ff,4a,ed,2a,99,10,4e,55,34,70,73,2b, 53,06,\ 00,00,50,00,42,42,54,45,53,54,b0,b4,08,06,09,54,65,73,74,2c, 20,42,42,00,62,\ 2c,09,63,b6,5b,1a,46,ab,ce,87,89,fd,2d,79,b6,1c, 01,05,00,00,00,00,00,05,15,\ 00,00,00,ff,4a,ed,2a,99,10,4e,55,34,70,73,2b, 53,06,00,00,50,00,42,42,54,45,\ 53,54,52,00,0b, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,08,\ 00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,bc, 01,00,00,0c,00,\ 00,00,90,00,00,00,08,00,00,00,2c, 00,00,00,06,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,d6,01,00,00,14,00,00,00,3c, 00,00,00,14,00,00,00,\ 0a, 00,00,00,09,00,00,00,02,00,00,00,02,00,00,00,03,00,00,66,00,00,00,00,e5,\ 01,00,00,14,00,00,00,18,00,00,00,20,00,00,00,0a, 00,00,00,09,00,00,00,02,00,\ 00,00,02,00,00,00,03,00,00,66,01,00,00,00,f2,01,00,00,30,00,00,00,10,00,00,\ 00,20,00,00,00,0c,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,1e, 00,02,66,\ 00,00,00,00,f6,01,00,00,46,00,00,00,30,00,00,00,20,00,00,00,30,00,00,00,04,\ 00,00,00,02,00,00,00,1e,00,06,66,03,00,08,66,03,00,04,66,fc, 01,00,00,0c,00,\ 00,00,90,00,00,00,40,00,00,00,2c, 00,00,00,06,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,15,02,00,00,14,00,00,00,50,00,00,00,4c, 00,00,00,\ 0a, 00,00,00,09,00,00,00,02,00,00,00,02,00,00,00,03,00,01,66,00,00,00,00,26,\ 02,00,00,14,00,00,00,18,00,00,00,58,00,00,00,0a, 00,00,00,09,00,00,00,02,00,\ 00,00,02,00,00,00,03,00,01,66,01,00,00,00,3e, 02,00,00,30,00,00,00,10,00,00,\ 00,58,00,00,00,0c,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,1e, 00,03,66,\ 00,00,00,00,42,02,00,00,46,00,00,00,30,00,00,00,58,00,00,00,30,00,00,00,04,\ 00,00,00,02,00,00,00,1e, 00,07,66,03,00,09,66,03,00,05,66,48,02,00,00,4d,69,\ 63,72,6f,73,6f,66,74,20,45,78,63,68,61,6e, 67,65,20,53,65,72,76,65,72,00,53,\ 65,6e,64,20,74,68,69,73,20,69,74,65,6d,00,49,26,6d,6d, 65,64,69,61,74,65,6c,\ 79,00,26,49,6e,00,5b,30,2d,39,5d,00,4d,69,6e,75,74,65,73,5c,48,6f, 75,72,73,\ 5c,44,61,79,73,5c,57,65,65,6b, 73,00,45,78,70,69,72,65,20,74,68,69,73,20,69,\ 74,65,6d,00,4e, 26,65,76,65,72,20,65,78,70,69,72,65,20,74,68,69,73,20,69,74,\ 65,6d,00,49,26,6e,00,5b,30,2d,39,5d,00,4d,69,6e,75,74,65,73,5c,48,6f, 75,72,\ 73,5c,44,61,79,73,5c,57,65,65,6b,73,00 "0102668a"=hex: 00,00,00,00,00,00,00,00,00,00,28,00,01,00,00,00,01,00,00,00,00,\ 00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,2a, 01,00,00,80,e0,00,54,00,00,\ 00,00,b0,a4,00,54,00,00,00,00,30,e6,00,54,00,00,00,00,80,e0,00,54,00,00,00,\ 00,2e,31,2e,33,fc,49,02,02,03,44,ec,d0,1f,f6,86,c3,ef,92,1e,85,1e, 39,07,5c,\ 9d,28,a3,68,a8,a5,8c, 08,43,c0,e0,28,ab,db,b4,f0,65,f6,2b,c8,98,75,f0,93,60,\ 13,32,ad,73,01,d0,80,32,09,38,ff,e9,d6,db,1b,29,5d,47,df,aa,1f,d4,8a, 98,e0,\ f4,1e,5b,7f,0a,fd, 81,10,01,be,d1,75,a1,74,55,22,04,12,d4,37,99,c1,06,00,00,\ 00,01,00,00,00,04,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,06,00,00,00,\ 01,00,00,00,24,37,66,32,6b,1d,28,31,dc,17,88,71,f8,6a, 65,ab,aa,d1,f2,49,52,\ 1a,58,0d,15,1d,01,12,af,fa,02,e9,47,cb,c5,ef,48,4b,b7,2f,0a,f2,7a, 00,89,7d,\ 40,ac,05,29,a8,4b,93,3d,e9,7d,a8,30,eb,45,82,4b,1f,f3,66,e1,2e,12,8d, 3a,2d,\ 71,52,14,95,e4,ef,46,6e,89,70,73,76,65,e2,2c,b7,32,16,7b,ce,68,2f,7b, 39,37,\ 42,61,00,f7 "0102668b"=hex: 80,01,00,00,00,00,00,00,00,00,65,00,02,00,00,00,00,00,00,00,00,\ 00,00,00,01,00,00,00,00,00,00,00,02,01,05,60,02,00,00,00,03,00,06,60,02,00,\ 00,00,03,00,07,60,02,00,00,00,03,00,08,60,02,00,00,00,e4,84,09,60,02,00,00,\ 00,03,00,0a,60,02,00,00,00,03,00,0b,60,02,00,00,00,e4,84,0c, 60,02,00,00,00,\ 03,00,0d, 60,02,00,00,00,02,01,10,60,02,00,00,00,03,00,11,60,02,00,00,00,03,\ 00,12,60,02,00,00,00,03,00,13,60,02,00,00,00,03,00,14,60,02,00,00,00,e4,84,\ 15,60,02,00,00,00,e4,84,16,60,02,00,00,00,03,00,17,60,02,00,00,00,03,00,18,\ 60,02,00,00,00,03,00,19,60,02,00,00,00,e4,84,1a, 60,02,00,00,00,e4,84,1b,60,\ 02,00,00,00,e4,84,1c,60,02,00,00,00,e4,84,1d,60,02,00,00,00,b0,84,1d, 60,02,\ 00,00,00,03,00,1e,60,02,00,00,00,03,00,1f, 60,02,00,00,00,03,00,20,60,02,00,\ 00,00,03,00,21,60,02,00,00,00,03,00,22,60,02,00,00,00,03,00,23,60,02,00,00,\ 00,03,00,24,60,02,00,00,00,40,00,25,60,02,00,00,00,03,00,26,60,02,00,00,00,\ 40,00,27,60,07,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,08,\ 00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,1c, 01,00,00,05,00,\ 00,00,a5,00,00,00,0f, 00,00,00,08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,25,01,00,00,05,00,00,00,af, 00,00,00,23,00,00,00,\ 37,00,00,00,06,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4a, \ 01,00,00,0a,00,00,00,a5,00,00,00,2d, 00,00,00,08,00,00,00,09,00,00,00,02,00,\ 00,00,04,00,00,00,03,00,02,59,00,00,00,00,5c,01,00,00,0a, 00,00,00,a5,00,00,\ 00,37,00,00,00,08,00,00,00,09,00,00,00,02,00,00,00,04,00,00,00,03,00,02,59,\ 01,00,00,00,68,01,00,00,0a, 00,00,00,a5,00,00,00,41,00,00,00,08,00,00,00,09,\ 00,00,00,02,00,00,00,04,00,00,00,03,00,02,59,02,00,00,00,6e, 01,00,00,0a,00,\ 00,00,a5,00,00,00,4b, 00,00,00,08,00,00,00,09,00,00,00,02,00,00,00,04,00,00,\ 00,03,00,02,59,03,00,00,00,78,01,00,00,49,6e,74,65,72,6e, 65,74,00,48,6f,77,\ 20,64,6f,20,79,6f,75,20,77,61,6e,74,20,74,6f,20,73,65,6e, 64,20,61,74,74,61,\ 63,68,6d,65,6e,74,73,3f,00,41,74,74,61,63,68,6d,65,6e,74,20,46,6f, 72,6d,61,\ 74,00,26,44,6f,6e,27,74,20,4b,6e,6f,77,00,26,4d,49,4d, 45,00,26,55,55,45,6e,\ 63,6f,64,65,00,26,42,49,4e,48,45,58,00 "00146686"=hex:dc,c0,b3,f8,da,9e,c7,01 "01026687"=hex:03,00,0d,00,45,58,00,58,34,30,30,00,53,4d,54,50,00 "0003661b"=hex:ad,82,00,00 "00036624"=hex:00,02,00,80 "01026611"=hex: 07,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,b7,\ 45,28,38,d9,53,70,4d,87,25,71,3a,64,54,87,6f, 00,00,00,00,00,01,00,00,b7,45,\ 28,38,d9,53,70,4d,87,25,71,3a,64,54,87,6f, 00,00,00,00,00,02,00,00,b7,45,28,\ 38,d9,53,70,4d,87,25,71,3a,64,54,87,6f, 00,00,00,00,00,03,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f4,81,fd,df, 2a,ba,\ 60,41,98,6a,f7,1b,e9,26,3a,b2,00,00,00,f0,43,1b, 00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f4,81,fd,df,2a,ba, 60,41,\ 98,6a,f7,1b,e9,26,3a,b2,00,00,00,f0,43,1d,00,00,f4,81,fd,df,2a,ba, 60,41,98,\ 6a,f7,1b,e9,26,3a,b2,00,00,00,f0,43,1a,00,00,f4,81,fd,df,2a,ba, 60,41,98,6a,\ f7,1b,e9,26,3a,b2,00,00,00,f0,43,12,00,00,f4,81,fd,df,2a,ba, 60,41,98,6a,f7,\ 1b,e9,26,3a,b2,00,00,00,f0,43,18,00,00,f4,81,fd,df,2a,ba, 60,41,98,6a,f7,1b,\ e9,26,3a,b2,00,00,00,f0,43,15,00,00,f4,81,fd,df,2a,ba, 60,41,98,6a,f7,1b,e9,\ 26,3a,b2,00,00,00,f0,43,16,00,00,f4,81,fd,df,2a,ba, 60,41,98,6a,f7,1b,e9,26,\ 3a,b2,00,00,00,f0,43,17,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,a9,6d,f5,4e,98,6e,0d,4a,97,13,3d,b3,9c, 43,4a,d0 "010267f0"=hex:a6,8e,57,a6,4f,90,80,fa,b7,5b,88,00,fe,db,62,5b "101f6637"=hex:05,00,00,00,18,00,00,00,c4,00,00,00,3a, 01,00,00,62,01,00,00,ae,\ 01,00,00,2f,00,6f,00,3d,00,47,00,54,00,52,00,49,00,2d, 00,45,00,58,00,54,00,\ 2f,00,6f,00,75,00,3d,00,45,00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,\ 00,41,00,64,00,6d,00,69,00,6e, 00,69,00,73,00,74,00,72,00,61,00,74,00,69,00,\ 76,00,65,00,20,00,47,00,72,00,6f, 00,75,00,70,00,20,00,28,00,46,00,59,00,44,\ 00,49,00,42,00,4f,00,48,00,46,00,32,00,33,00,53,00,50,00,44,00,4c, 00,54,00,\ 29,00,2f,00,63,00,6e,00,3d, 00,52,00,65,00,63,00,69,00,70,00,69,00,65,00,6e,\ 00,74,00,73,00,2f,00,63,00,6e,00,3d, 00,62,00,77,00,31,00,37,00,31,00,00,00,\ 58,00,34,00,30,00,30,00,3a,00,43,00,3d,00,55,00,53,00,3b,00,41,00,3d, 00,20,\ 00,3b,00,50,00,3d,00,47,00,54,00,52,00,49,00,2d, 00,45,00,58,00,54,00,3b,00,\ 4f,00,3d,00,45,00,78,00,63,00,68,00,61,00,6e,00,67,00,65,00,3b, 00,53,00,3d,\ 00,57,00,61,00,73,00,68,00,69,00,6e,00,67,00,74,00,6f,00,6e,00,3b, 00,47,00,\ 3d,00,42,00,6f,00,6f,00,6b,00,65,00,72,00,3b,00,00,00,73,00,6d, 00,74,00,70,\ 00,3a, 00,62,00,77,00,31,00,37,00,31,00,40,00,67,00,74,00,72,00,69,00,2e,00,\ 65,00,78,00,74,00,00,00,53,00,4d,00,54,00,50,00,3a,00,62,00,6f,00,6f, 00,6b,\ 00,65,00,72,00,2e,00,77,00,61,00,73,00,68,00,69,00,6e, 00,67,00,74,00,6f,00,\ 6e,00,40,00,6d,00,67,00,74,00,2e, 00,67,00,61,00,74,00,65,00,63,00,68,00,2e,\ 00,65,00,64,00,75,00,00,00,73,00,6d,00,74,00,70,00,3a,00,62,00,6f, 00,6f,00,\ 6b,00,65,00,72,00,2e,00,77,00,61,00,73,00,68,00,69,00,6e, 00,67,00,74,00,6f,\ 00,6e,00,40,00,6d,00,67,00,74,00,2e,00,67,00,74,00,72,00,69,00,2e, 00,6f,00,\ 72,00,67,00,00,00 "00406638"=hex:ca,17,73,57,3f,ac,c7,01 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \2f4effa04793b3449b548afa4c8bcd86] "001f3001"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,54,00,72,00,61,00,6e,00,\ 73,00,70,00,6f,00,72,00,74,00,00,00 "001f3006"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,54,00,72,00,61,00,6e,00,\ 73,00,70,00,6f,00,72,00,74,00,00,00 "001f300a"=hex:45,00,4d,00,53,00,4d,00,44,00,42,00,2e,00,44,00,4c, 00,4c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:24,00,00,00 "00036609"=hex:00,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "00033009"=hex:00,00,00,00 "001e660b"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Recipients/cn=%username%" "001e660c"="Exchgservername" "001f662b"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 "001e6614"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Configuration/cn=Servers/cn=Exchgservername" [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \3517490d76624c419a828607e2a54604] "001f6000"=hex:45,00,78,00,63,00,68,00,61,00,6e,00,67,00,65,00,7e, 00,37,00,00,\ 00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \40fc298f50dbb8418b5374693ec4c66d] "001f300a"=hex:45,00,4d,00,53,00,4d,00,44,00,42,00,2e,00,44,00,4c, 00,4c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:21,00,00,00 "00033009"=hex:06,10,00,00 "00036609"=hex:0c,00,00,00 "0003660a"=hex:01,00,00,00 "01023414"=hex:54,94,a1,c0,29,7f,10,1b,a5,87,08,00,2b,2a,25,17 "001f3001"=hex:4d,00,61,00,69,00,6c,00,62,00,6f,00,78,00,20,00,2d, 00,20,00,57,\ 00,61,00,73,00,68,00,69,00,6e,00,67,00,74,00,6f,00,6e,00,2c, 00,20,00,42,00,\ 6f,00,6f,00,6b,00,65,00,72,00,00,00 "001f3006"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,53,00,65,00,72,00,76,00,\ 65,00,72,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "001e660c"="Exchgservername" "001f662b"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 "001e6614"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Configuration/cn=Servers/cn=Exchgservername" "001e660b"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Recipients/cn=%username%" "01020fff"=hex:00,00,00,00,38,a1,bb,10,05,e5,10,1a,a1,bb,08,00,2b,2a, 56,c2,00,\ 00,45,4d,53,4d,44,42,2e,44,4c,4c,00,00,00,00,00,00,00,00,1b,55,fa, 20,aa,66,\ 11,cd,9b,c8,00,aa,00,2f,c4,5a,0c,00,00,00,41,45,41,54,4c,43,41,4d, 45,58,31,\ 30,00,2f,6f,3d,47,54,52,49,2d,45,58,54,2f,6f,75,3d,45,78,63,68,61,6e, 67,65,\ 20,41,64,6d,69,6e,69,73,74,72,61,74,69,76,65,20,47,72,6f, 75,70,20,28,46,59,\ 44,49,42,4f,48,46,32,33,53,50,44,4c,54,29,2f,63,6e,3d, 52,65,63,69,70,69,65,\ 6e,74,73,2f,63,6e,3d,62,77,31,37,31,00,d8,35,21,f3,bb, 00,00,00,01,00,00,00,\ 14,00,00,00,7f,00,00,00,2f,6f,3d,47,54,52,49,2d,45,58,54,2f,6f,75,3d, 45,78,\ 63,68,61,6e,67,65,20,41,64,6d,69,6e, 69,73,74,72,61,74,69,76,65,20,47,72,6f,\ 75,70,20,28,46,59,44,49,42,4f,48,46,32,33,53,50,44,4c,54,29,2f,63,6e, 3d,43,\ 6f,6e,66,69,67,75,72,61,74,69,6f,6e,2f,63,6e,3d, 53,65,72,76,65,72,73,2f,63,\ 6e,3d,41,45,41,54,4c,43,41,4d, 45,58,31,30,00,61,00,65,00,61,00,74,00,6c,00,\ 63,00,61,00,6d,00,65,00,78,00,31,00,30,00,2e,00,63,00,61,00,6d, 00,70,00,75,\ 00,73,00,2e,00,67,00,74,00,72,00,69,00,2e, 00,65,00,78,00,74,00,00,00,00,00 "01020ff9"=hex:b3,4a,86,88,e1,28,b4,44,87,9b,9c,34,ea,73,53,aa "00036688"=hex:01,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \5acf76a3665511cea39a00aa004acafa] "001e6710"="" "000b6716"=hex:01,00 "000b6717"=hex:00,00 "000b6718"=hex:01,00 "00036719"=hex:00,00,00,00 "000b6729"=hex:01,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \6cef6bcef9d8ea47b40875ab9c6e22e4] "001f300a"=hex:63,00,6f,00,6e,00,74,00,61,00,62,00,2e,00,64,00,6c, 00,6c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,36,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:23,00,00,00 "001f3006"=hex:4f,00,75,00,74,00,6c,00,6f,00,6f,00,6b, 00,20,00,41,00,64,00,64,\ 00,72,00,65,00,73,00,73,00,20,00,42,00,6f,00,6f,00,6b,00,00,00 "01023d0c"=hex:ab,1d,fe,e0,50,aa,9c,47,ae,6a,16,f6,c5,37,ac,b7 "001f3d09"=hex:43,00,4f,00,4e,00,54,00,41,00,42,00,00,00 "001f3001"=hex:4f,00,75,00,74,00,6c,00,6f,00,6f,00,6b, 00,20,00,41,00,64,00,64,\ 00,72,00,65,00,73,00,73,00,20,00,42,00,6f,00,6f,00,6b,00,00,00 "00033009"=hex:00,00,00,00 "01026601"=hex:43,4a,38,07,61,ac,38,40,ad,e3,75,a2,82,40,83,5e "11026620"=hex:01,00,00,00,2e,00,00,00,0c,00,00,00,00,00,00,00,b3,4a, 86,88,e1,\ 28,b4,44,87,9b,9c,34,ea,73,53,aa,01,00,f4,81,fd,df,2a,ba, 60,41,98,6a,f7,1b,\ e9,26,3a,b2,00,00,00,f0,27,38,00,00,00,00 "10036621"=hex:0f,01,04,80 "101f6627"=hex:01,00,00,00,08,00,00,00,4d,00,61,00,69,00,6c, 00,62,00,6f,00,78,\ 00,20,00,2d,00,20,00,57,00,61,00,73,00,68,00,69,00,6e, 00,67,00,74,00,6f,00,\ 6e,00,2c,00,20,00,42,00,6f,00,6f,00,6b,00,65,00,72,00,00,00 "101f6628"=hex:01,00,00,00,08,00,00,00,43,00,6f,00,6e, 00,74,00,61,00,63,00,74,\ 00,73,00,00,00 "101f6629"=hex:01,00,00,00,08,00,00,00,43,00,6f,00,6e, 00,74,00,61,00,63,00,74,\ 00,73,00,00,00 "10036625"=hex:01,00,00,00 "11026626"=hex:01,00,00,00,5a,01,00,00,0c, 00,00,00,00,00,00,00,38,a1,bb,10,05,\ e5,10,1a,a1,bb,08,00,2b,2a,56,c2,00,00,45,4d,53,4d,44,42,2e,44,4c,4c, 00,00,\ 00,00,00,00,00,00,1b,55,fa,20,aa,66,11,cd,9b,c8,00,aa,00,2f,c4,5a,0c, 00,00,\ 00,41,45,41,54,4c,43,41,4d,45,58,31,30,00,2f,6f,3d,47,54,52,49,2d, 45,58,54,\ 2f,6f,75,3d,45,78,63,68,61,6e,67,65,20,41,64,6d,69,6e, 69,73,74,72,61,74,69,\ 76,65,20,47,72,6f,75,70,20,28,46,59,44,49,42,4f, 48,46,32,33,53,50,44,4c,54,\ 29,2f,63,6e,3d,52,65,63,69,70,69,65,6e,74,73,2f,63,6e,3d, 62,77,31,37,31,00,\ d8,35,21,f3,bb,00,00,00,01,00,00,00,14,00,00,00,7f,00,00,00,2f,6f,3d, 47,54,\ 52,49,2d,45,58,54,2f,6f,75,3d,45,78,63,68,61,6e,67,65,20,41,64,6d, 69,6e,69,\ 73,74,72,61,74,69,76,65,20,47,72,6f,75,70,20,28,46,59,44,49,42,4f, 48,46,32,\ 33,53,50,44,4c,54,29,2f,63,6e,3d,43,6f,6e,66,69,67,75,72,61,74,69,6f, 6e,2f,\ 63,6e,3d,53,65,72,76,65,72,73,2f,63,6e,3d,41,45,41,54,4c,43,41,4d, 45,58,31,\ 30,00,61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,00,30,\ 00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,69,00,\ 2e,00,65,00,78,00,74,00,00,00,00,00,00,00 "101e6622"=hex:01,00,00,00,08,00,00,00,4d,61,69,6c,62,6f,78,20,2d, 20,57,61,73,\ 68,69,6e,67,74,6f,6e,2c,20,42,6f,6f,6b,65,72,00 "101e6623"=hex:01,00,00,00,08,00,00,00,43,6f,6e,74,61,63,74,73,00 "101e6624"=hex:01,00,00,00,08,00,00,00,43,6f,6e,74,61,63,74,73,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \8503020000000000c000000000000046] "0102300b"=hex:a9,6d,f5,4e,98,6e,0d,4a,97,13,3d,b3,9c,43,4a,d0 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \88f913d52e6b33429eeee5767828ba75] "001f3001"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e,00,67,00,65,00,20,00,52,00,65,00,6d, 00,6f,00,\ 74,00,65,00,20,00,54,00,72,00,61,00,6e,00,73,00,70,00,6f, 00,72,00,74,00,00,\ 00 "001f3006"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e,00,67,00,65,00,20,00,52,00,65,00,6d, 00,6f,00,\ 74,00,65,00,20,00,54,00,72,00,61,00,6e,00,73,00,70,00,6f, 00,72,00,74,00,00,\ 00 "001f300a"=hex:45,00,4d,00,53,00,55,00,49,00,2e,00,44,00,4c,00,4c, 00,00,00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:24,00,00,00 "00036609"=hex:40,00,00,00 "0003660a"=hex:0a,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "00033009"=hex:00,00,00,00 "001e660b"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Recipients/cn=%username%" "001e660c"="Exchgservername" "001f662b"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 "001e6614"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Configuration/cn=Servers/cn=Exchgservername" [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \9207f3e0a3b11019908b08002b2a56c2] "01023d01"=hex:6c,ef,6b,ce,f9,d8,ea,47,b4,08,75,ab,9c,6e,22,e4,f1,3b, 83,05,47,\ 9a,7e,44,87,c6,b7,39,d3,86,38,6f "01023d0e"=hex:ab,1d,fe,e0,50,aa,9c,47,ae,6a, 16,f6,c5,37,ac,b7,02,4f,a8,a3,cf,\ 91,0f,49,ae,f0,69,14,a7,dd,ed,75 "01023d00"=hex:d9,39,c1,fc,a9,e7,05,47,b7,ea,33,98,d5,af,6d,68,40,fc, 29,8f,50,\ db,b8,41,8b,53,74,69,3e,c4,c6,6d "01023d02"=hex:88,f9,13,d5,2e,6b,33,42,9e,ee,e5,76,78,28,ba,75,2f, 4e,ff,a0,47,\ 93,b3,44,9b,54,8a,fa,4c,8b,cd,86 "01023d08"=hex:cb,24,74,f4,f0,a2,32,4a,b6,26,28,54,01,94,05,8e "11023d05"=hex:02,00,00,00,1e,00,00,00,14,00,00,00,5a, 00,00,00,34,00,00,00,00,\ 00,00,00,dc,a7,40,c8,c0,42,10,1a,b4,b9,08,00,2b, 2f,e1,82,01,00,00,00,00,01,\ 00,00,2f,00,00,00,00,00,00,00,fe,42,aa,0a,18,c7,1a,10,e8,85,0b,65,1c, 24,00,\ 00,03,00,00,00,03,00,00,00,43,4a,38,07,61,ac, 38,40,ad,e3,75,a2,82,40,83,5e,\ 00,00,00,00,b3,4a,86,88,e1,28,b4,44,87,9b,9c,34,ea,73,53,aa, 01,00,f4,81,fd,\ df,2a,ba,60,41,98,6a,f7,1b,e9,26,3a,b2,00,00,00,f0,27,38,00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \9375CFF0413111d3B88A00104B2A6676] "{ED475418-B0D6-11D2-8C3B-00104B2A6676}"=hex:02,00,00,00 "LastChangeVer"=hex:0c,00,00,00,00,00,00,00 "{ED475419-B0D6-11D2-8C3B-00104B2A6676}"=hex:01,00,00,00 "{ED475420-B0D6-11D2-8C3B-00104B2A6676}"=hex:02,00,00,00 "NextAccountID"=dword:00000003 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \9375CFF0413111d3B88A00104B2A6676\00000001] "clsid"="{ED475414-B0D6-11D2-8C3B-00104B2A6676}" "Mini UID"=dword:7c81368c "Service Name"=hex:43,00,4f,00,4e,00,54,00,41,00,42,00,00,00 "Service UID"=hex:ab,1d,fe,e0,50,aa,9c,47,ae,6a,16,f6,c5,37,ac,b7 "MAPI Provider"=dword:00000002 "Account Name"=hex:4f,00,75,00,74,00,6c,00,6f,00,6f,00,6b, 00,20,00,41,00,64,00,\ 64,00,72,00,65,00,73,00,73,00,20,00,42,00,6f,00,6f,00,6b,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \9375CFF0413111d3B88A00104B2A6676\00000002] "clsid"="{ED475414-B0D6-11D2-8C3B-00104B2A6676}" "Mini UID"=dword:fc047238 "Service Name"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "Service UID"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "MAPI Provider"=dword:00000005 "Identity Eid"=hex:00,00,00,00,dc,a7,40,c8,c0,42,10,1a,b4,b9,08,00,2b, 2f,e1,82,\ 01,00,00,00,00,00,00,00,2f,4f,3d,47,54,52,49,2d,45,58,54,2f,4f,55,3d, 45,58,\ 43,48,41,4e,47,45,20,41,44,4d,49,4e, 49,53,54,52,41,54,49,56,45,20,47,52,4f,\ 55,50,20,28,46,59,44,49,42,4f,48,46,32,33,53,50,44,4c,54,29,2f,43,4e, 3d,52,\ 45,43,49,50,49,45,4e,54,53,2f,43,4e,3d,42,57,31,37,31,00 "XP Provider UID"=hex:88,f9,13,d5,2e,6b,33,42,9e,ee,e5,76,78,28,ba, 75,2f,4e,ff,\ a0,47,93,b3,44,9b,54,8a,fa,4c,8b,cd,86 "Account Name"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,\ 45,00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,53,00,65,00,72,00,76,\ 00,65,00,72,00,00,00 "XP Status"=dword:00000001 "XP Capabilities"=dword:00000002 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \ab1dfee050aa9c47ae6a16f6c537acb7] "001f3d0a"=hex:63,00,6f,00,6e,00,74,00,61,00,62,00,2e,00,64,00,6c, 00,6c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,36,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "101e3d0f"=hex:01,00,00,00,08,00,00,00,63,6f,6e,74,61,62,2e,64,6c,6c, 00 "001f3d0b"=hex:53,00,65,00,72,00,76,00,69,00,63,00,65,00,45,00,6e, 00,74,00,72,\ 00,79,00,00,00 "00033009"=hex:22,00,00,00 "001f3d09"=hex:43,00,4f,00,4e,00,54,00,41,00,42,00,00,00 "001f3001"=hex:4f,00,75,00,74,00,6c,00,6f,00,6f,00,6b, 00,20,00,41,00,64,00,64,\ 00,72,00,65,00,73,00,73,00,20,00,42,00,6f,00,6f,00,6b,00,00,00 "01023d01"=hex:6c,ef,6b,ce,f9,d8,ea,47,b4,08,75,ab,9c,6e,22,e4 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \cb2474f4f0a2324ab62628540194058e] "001f3001"=hex:4d,00,53,00,20,00,45,00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,\ 00,20,00,48,00,6f,00,6f,00,6b,00,00,00 "001f3006"=hex:4d,00,53,00,20,00,45,00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,\ 00,20,00,48,00,6f,00,6f,00,6b,00,00,00 "001f300a"=hex:45,00,4d,00,53,00,4d,00,44,00,42,00,2e,00,44,00,4c, 00,4c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:28,00,00,00 "00033009"=hex:00,02,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \d939c1fca9e70547b7ea3398d5af6d68] "00033e03"=hex:21,00,00,00 "001f300a"=hex:45,00,4d,00,53,00,4d,00,44,00,42,00,2e,00,44,00,4c, 00,4c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033009"=hex:40,00,00,00 "00036609"=hex:06,00,00,00 "0003660a"=hex:03,00,00,00 "01023414"=hex:78,b2,fa,70,af,f7,11,cd,9b,c8,00,aa,00,2f,c4,5a "001f3001"=hex:50,00,75,00,62,00,6c,00,69,00,63,00,20,00,46,00,6f, 00,6c,00,64,\ 00,65,00,72,00,73,00,00,00 "001f3006"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,53,00,65,00,72,00,76,00,\ 65,00,72,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "001e660c"="Exchgservername" "001f662b"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 "001e6614"="/o=ExchORG-EXT/ou=Exchange Administrative Group (RndmSetofLetters)/cn=Configuration/cn=Servers/cn=Exchgservername" "01020fff"=hex:00,00,00,00,38,a1,bb,10,05,e5,10,1a,a1,bb,08,00,2b,2a, 56,c2,00,\ 00,45,4d,53,4d,44,42,2e,44,4c,4c,00,00,00,00,00,00,00,00,1c, 83,02,10,aa,66,\ 11,cd,9b,c8,00,aa,00,2f,c4,5a,06,00,00,00,41,45,41,54,4c,43,41,4d, 45,58,31,\ 30,00,d8,35,21,f3,bb,00,00,00,01,00,00,00,14,00,00,00,7f,00,00,00,2f, 6f,3d,\ 47,54,52,49,2d,45,58,54,2f,6f,75,3d,45,78,63,68,61,6e, 67,65,20,41,64,6d,69,\ 6e,69,73,74,72,61,74,69,76,65,20,47,72,6f, 75,70,20,28,46,59,44,49,42,4f,48,\ 46,32,33,53,50,44,4c,54,29,2f,63,6e,3d,43,6f,6e, 66,69,67,75,72,61,74,69,6f,\ 6e,2f,63,6e,3d,53,65,72,76,65,72,73,2f,63,6e,3d,41,45,41,54,4c, 43,41,4d,45,\ 58,31,30,00,61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00,00,00 "01020ff9"=hex:1a,44,73,90,aa,66,11,cd,9b,c8,00,aa,00,2f,c4,5a "00036688"=hex:01,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \dca740c8c042101ab4b908002b2fe182] "001f662a"=hex:61,00,65,00,61,00,74,00,6c,00,63,00,61,00,6d, 00,65,00,78,00,31,\ 00,30,00,2e,00,63,00,61,00,6d,00,70,00,75,00,73,00,2e, 00,67,00,74,00,72,00,\ 69,00,2e,00,65,00,78,00,74,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \f13b8305479a7e4487c6b739d386386f] "001f3001"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,44,00,69,00,72,00,65,00,\ 63,00,74,00,6f, 00,72,00,79,00,20,00,53,00,65,00,72,00,76,00,69,00,63,00,65,\ 00,00,00 "001f3006"=hex:4d,00,69,00,63,00,72,00,6f,00,73,00,6f, 00,66,00,74,00,20,00,45,\ 00,78,00,63,00,68,00,61,00,6e, 00,67,00,65,00,20,00,44,00,69,00,72,00,65,00,\ 63,00,74,00,6f, 00,72,00,79,00,20,00,53,00,65,00,72,00,76,00,69,00,63,00,65,\ 00,00,00 "001f300a"=hex:45,00,4d,00,53,00,41,00,42,00,50,00,2e,00,44,00,4c, 00,4c,00,00,\ 00 "001f3d13"=hex:7b, 00,36,00,34,00,38,00,35,00,44,00,32,00,36,00,41,00,2d,00,43,\ 00,32,00,41,00,43,00,2d,00,31,00,31,00,44,00,31,00,2d, 00,41,00,44,00,33,00,\ 45,00,2d, 00,31,00,30,00,41,00,30,00,43,00,39,00,31,00,31,00,43,00,39,00,43,\ 00,30,00,7d,00,00,00 "00033e03"=hex:23,00,00,00 "01023d0c"=hex:02,4f,a8,a3,cf,91,0f,49,ae,f0,69,14,a7,dd,ed,75 "001f3d09"=hex:4d,00,53,00,45,00,4d,00,53,00,00,00 "00033009"=hex:00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Windows Messaging Subsystem\Profiles\Exchange \f86ed2903a4a11cfb57e524153480001] Tag: Simple Time function (for you, maybe) Tag: 206969
      • 5
        • logoff/shutdown script My manager has asked me to write a script that will run every time someone tries to log off or shutdown a computer. In the past people have logged off computers while virtual machines were running and usually automation would be running at the time or people would be doing manual QE testing so it would always be a real pain when they were shut off without warning. He wants me to write a script (shutdown or logoff or even both) that would check for one of VMware's executable files that only appear when a VM is running and then prompt a warning to the user to stop them from shutting down or logging off. I've done a some reading on the internet about logoff/shutdown scripts and I've emailed some people that I know. I know that it should be either a vbscript or jscript file. I know where to save the script when I'm done and how to configure group policy so that it runs on all the computers. I even know how to format the script (1. get a process list, 2. search the list for the VMware process 3. if process is found alert the user and cancel shutdown/logoff 4. if not, do nothing). The only problem is I DON'T KNOW HOW TO WRITE ONE. Do you guys have any suggestions as far as websites or reading material? Any thoughts would be appreciated. Tag: Simple Time function (for you, maybe) Tag: 206957
      • 6
        • Error Handling - IADS bug ? I have a script to create users. ....... On Error Resume Next set objUser = objCIADS.Create("User", "CN=" & strFname & " " &strLname) objUser.Put "samAccountName", strAccName objUser.SetInfo if (Err.Number<>0) then Wscript.Echo "User Creation failed for " & strFname & " " & strLname & vbcrdlf & _ "With Error " & Err.Description & " - continuing" ....... It works just fine. If I try and create a user that already exists then the error event is not triggered. If I omit the On Error Resume Next I get an error saying the object already exists. Is this a bug or have I got something wrong? Tag: Simple Time function (for you, maybe) Tag: 206954
      • 7
        • scripting folder date If I use the following script --> Const CONVERT_TO_LOCAL_TIME = True Set dtmStart = CreateObject("WbemScripting.SWbemDateTime") dtmStart.SetVarDate Now, CONVERT_TO_LOCAL_TIME dtmRegular = dtmStart.GetVarDate(CONVERT_TO_LOCAL_TIME) dtmNew = DateAdd("d", -37, dtmRegular) Wscript.Echo dtmNew wscript.quit <-- I get an output something similar to 5/6/2007 10:11:10 AM Is there a way to trim off the time information? I'm writing a script to determine the date of a folder, and then if it is older than say 4 months, delete it. Unfortunately, the time information is also there, and so the script never deletes the folder. Any Ideas how I can trim that time info off of there? Thanks Tag: Simple Time function (for you, maybe) Tag: 206953
      • 8
        • Hex program Hi, I want to know if there's any method to open a file in Hex with VBScript Thx Omar Abid Tag: Simple Time function (for you, maybe) Tag: 206945
      • 9
        • Need a vb-script to read user + data (phone-number etc.) from active We need a dynamic phone list for an internal website with user-names and corresponding phone number. to keep administrative effort low it would be best to generate it automatically from active directory entries. has anyone a script that can do that? eventually another one to search data for a given name? thx, mk (ts) Tag: Simple Time function (for you, maybe) Tag: 206941
      • 10
        • Parse text find match extract line I am looking for a way to loop through a file and do the following (vbs script?) 1) Find string match A, then move down 4 lines and save the contents of that new line (Line 5) 2) Find string match B then save that same line Save 1 and 2 above to a new file, separated by a comma. For example if a file looks like this: ********************* HEADER_BEGIN header1line1 header1line2 header1line3 header1line4 HEADER_END DATA_BEGIN data line1 data line2 data line3 DATA_END HEADER_BEGIN header2line1 header2line2 header2line3 header2line4 header2line5 header2line6 HEADER_END DATA_BEGIN data line1 data line2 data line3 DATA_END **************** Tricky because the headers may be different lengths (some 3 lines, some 10 lines) "HEADER_BEGIN" is always the same. (I want the 4th line underneath) "data line3" is always the same (I want this whole line) My output file would read like this: ******** header1line4, data line3 header2line4, data line3 ********** I've spent hours searching for answers and have been unsuccessful. File is thousands of lines long. I have hundreds of files in one folder. (Ideally I could loop through all the files) Tag: Simple Time function (for you, maybe) Tag: 206939
      • 11
        • Register event sink in Exchange Hello! I'm working on my first event sink, written in VBScript. Following some examples found in the Web I was able to write a simple script, which should check every new message and if it finds a known value in TO: field, write a mail to the sender (something like an out-of-office but selective). Now I'm trying to register my script in Exchange, I followed the steps in this KB article: http://support.microsoft.com/kb/895239 but when I try to send this command: C:\Scripts>cscript regevent.vbs add OnSave ExOleDB.ScriptEventSink.1 "file://./BackOfficeStorage/mycompany.local/MBX/kurtz" -m deep -file "c:\scripts\autoreply.vbs" I always get this error: Error Opening Connection : -2147217895 Unable to find an object or data correspondly to name, interval or selection criteria specified (I'm translating from my language...) I'd like to connect my script only to my mail folder (named kurtz). Where Am I wrong? Thanks! PS: Maybe this isn't the correct NG? Better in exchange ng? Tag: Simple Time function (for you, maybe) Tag: 206938
      • 12
        • Copying a Link's Target File I want to: 1. iterate through a folder of shortcuts 2. Get the target path 3. Copy the target file back to the folder of links. Here is my attempt. Any suggestions? Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFolderOfLinks = oFSO.GetFolder("C:\Documents and Settings\Dan \Desktop\Links") Set colFiles = oFolderOfLinks.Files For Each oFile in colFiles If strcomp(right(oFile.name,4),".lnk", vbTextCompare) = 0 Then Set oLink = oFile.TargetPath Set oLinkedFile = oFSO.GetFile(oLink) oLink.Copy oFolderOfLinks End If Next Tag: Simple Time function (for you, maybe) Tag: 206937
      • 13
        • get event log NAMES Hello, I have a script for backing up and clearing log files. I was wondering... is there any way (WQL perhaps) to get the names of the event logs. In the domain, there are domain controllers and member servers. The domain controllers have 6 physical logs and the member servers have 3 physical logs. It would be cool to create a collection which holds all the event view logs on the host automatically -- instead of hardcoding event log names or maintaining two different scripts where the only difference is the number of *.evt files. I tried looking at some of the very verbose scriptomatic stuff but didn't see a method to get all the event log names off of a host. Suggestions are greatly appreciated! Tag: Simple Time function (for you, maybe) Tag: 206932
      • 14
        • octet string - Echo or Dump Contents How Echo the value of the Attrib. I do not need to convert to a string. I just need the HEX raw data. FYI the attrib is extensionData(SmartDL Filter) Thanks in Advance... RT Tag: Simple Time function (for you, maybe) Tag: 206928
      • 15
        • VBScript Working Progress Hi Does anyone know how to make to IE progress bar to display the VBScript running progress? Kururu Tag: Simple Time function (for you, maybe) Tag: 206925
      • 16
        • Including STYLE tag in script I am creating an InternetExplorer object to show progress. I am trying to hide the scrollbars and can do this via CSS but do not know how to include this in the script. How can I include this: <STYLE TYPE='text/ css'><!--body {overflow:hidden}--> to get rid of the scrollbars? objExplorer.Document.style.innerhtml? Tag: Simple Time function (for you, maybe) Tag: 206909
      • 17
        • Retrieving two (or more) Arguments from a Text File hello, i've a script that read line and return line as argument _______________________________________________ Const ForReading = 1 Set objDictionary = CreateObject("Scripting.Dictionary") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTextFile = objFSO.OpenTextFile _ ("list.txt", ForReading) i = 0 Do Until objTextFile.AtEndOfStream strNextLine = objTextFile.Readline objDictionary.Add i, strNextLine i = i + 1 Loop For Each objItem in objDictionary StrComputer = objDictionary.Item(objItem) msgbox strComputer Next ________________________________________________________ return line by line the content of list.txt file. 10.119.1.1;i'mfirstcomouter 10.119.1.2;i'mSecondcomputer 10.119.1.3;i'm........... Is possible to have 2 (or more) arguments with input file separated by ; or other symbol ? Thank you for any suggestions, A. Tag: Simple Time function (for you, maybe) Tag: 206906
      • 18
        • Learn scripting from scratch (VB) wich study book ? Trying to find out what the best study book is to learn scripting (VB) from scratch, Need a good study book. Which one ?? Rik Tag: Simple Time function (for you, maybe) Tag: 206904
      • 19
        • Serious HTA/CSS Help... I'm trying to use show/hide layers with CSS to make something like a tabbed interface for my HTA. I found and modified a nice bit of javascript and CSS that uses changes the "display" property of some div tags to either "block" or "none". I'm been using it on my website (thepip3r.com) -- you can see it working if you click projects -> HTAs -> RunAs_Admin. That tabbed interface is what I'm trying to incorporate into my HTA. The problem is that I got all of the code into my HTA and CSS files for the HTA but when I run the HTA, all of my Div tags are displayed at the start instead of not displaying like the display:none property does on my site. I'm not sure what's going on or if CSS is just qwerky with HTAs. I've verified that my div display property is initially set to "none" and that my javascript function is correctly setting only layer1's display property to "block" on the initial page load. So I'm not sure where my problem lies. If anyone can offer any insight, please do so -- i'm at a loss. Also... ironically, even though the page shows everything as "block" on the inital HTA load, once you start clicking the layer tabs, each div starts disappearing like it's supposed to be doing so I have no idea what I'm doing wrong if anything. Thanx in advance. Tag: Simple Time function (for you, maybe) Tag: 206895
      • 20
        • Script will not continue - Please Help!!! What I want to happen it to open the Adobe Reader, print a PDF, then continue on my merry way. What happened is that the reader would not close after the file printed. I looked on the net and found that this is a common problem with AcroRd32.exe. So, I thought I would try to kill the process after the file printed. The code to kill the process works, but I cant get that far. Once the PDF opens, the script waits and will not continue until Adobe closes. Once I manually close Adobe my "OK" message comes up and the code continues. I can't figure out how to make this work. Can someone please help. This is the code that I am using. Function printPDF ( exportName ) set wshShell = CreateObject( "WScript.Shell" ) cmdLine = """" & "AcroRd32.exe" & """" & " /t " &_ """" & exportName & """" & " " &_ """" & "Kyocera Mita KM-4035" & """" & " " &_ """" & "Kyocera Mita KM-4035" & """" & " " &_ """" & "IP_XXX.XX.X.XX" & """" 'msgbox cmdLine ok = wshShell.Run( cmdLine, 1, true ) set wshShell = Nothing msgbox "OK" 'kills the adobe process Dim objWMIService, objProcess, colProcess, strComputer, strProcessKill strComputer = "." strProcessKill = "'AcroRd32.exe'" Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcess = objWMIService.ExecQuery ("Select * from Win32_Process Where Name = " & strProcessKill ) For Each objProcess in colProcess objProcess.Terminate() Next End Function Tag: Simple Time function (for you, maybe) Tag: 206890
      • 21
        • problems comparing bytes Hi, Next problem in an ongoing saga of trying to work with binary files in VBS. I've created a function in VB6 to read an original copy of a file and return it in blocks so that I can compare it to the same file in an ODBC data source. Public Function GetBytesFromFile(bytesReadTotal As Variant, _ blockSize As Variant, _ FILE As Variant) As Byte() On Error GoTo EH Dim offset, size As Long Dim fileIndex As Integer Dim arrBin() As Byte offset = CLng(bytesReadTotal) + 1 size = CLng(blockSize) FilePath = CStr(FILE) ReDim arrBin(size - 1) fileIndex = 1 Open FilePath For Binary Access Read As #fileIndex Get #fileIndex, offset, arrBin Close GetBytesFromFile = arrBin Exit Function EH: MsgBox Err.Number & ": " & Err.Description & vbNewLine & Err.Source, vbCritical Resume Next End Function I'm calling this once for every block of data read, and then comparing it to the database copy, but i can't get past the second Byte, withough it failing as so... "Invalid procedure call or argument: 'Asc'" iReturn = TestFunctions.GetBytesFromFile(bytesReadTotal, _ blockSize, FILE) msgbox "data type is: " & typeName(iReturn) ' type is "Byte()" as expected msgbox "length of iReturn: " & LenB(iReturn) ' len is 4 bytes as expected temp = Chr(Asc(MidB(iReturn, 3, 1))) ' Bytes one and two go through this fine, but bytes 3 and 4 cause the above error. The block coming from the database does the same thing at the same place. Since a byte is notihng but a number 0-255 what could cause the assignment to fail? Thank You Eric Tag: Simple Time function (for you, maybe) Tag: 206874
      • 22
        • Anyone here have InstallShield experience and knows WMI scripting? Hello, I've asked this question in the InstallShield forums but haven't got a reply that is the least bit cogent. I'm making a project that will be a Windows service. I also want this project to be zero configuration on the user end after install. I need to manipulate the service after install and though doing that via WMI would be a slam dunk. I'm not going to post the whole script. But my VBScript has these two lines: Dim objWMI : Set objWMI = GetObject("winmgmts:\\" & sName & "\root \CIMV2") Dim objService : Set objService = objWMI.Get("Win32_Service.Name='Message Handler Service'") In the second line, InstallShield does not like the "objWMI.Get" part. This script runs fine from the desktop but not from within my *.msi file. Does anyone know of a workaround? Suggestions are greatly appreciated! Tag: Simple Time function (for you, maybe) Tag: 206864
      • 23
        • Writing a script to monitor system tasks and shutdown process Hello Everyone; I would like to write a script that monitors, on my command, the system performance to track down programs that eat up too many system resources; also, another script that monitors the system shutdown process to see if something crashes or won't shutdown and let the computer power down. Now, I a little about scripting, but nothing about the classes or objects embedded within the scripts to accomplish these tasks. Does anyone know of such items that can be envoked within the script and be used to monitor these actions? Any input is highly appreciated. Thank you; Bray. Tag: Simple Time function (for you, maybe) Tag: 206861
      • 24
        • sharing variables between scripts with dynawrap case study #3 an old problem revisited... two scripts: server.vbs which set shared string and client.vbs which get shared string enjoy server.vbs: Option Explicit Const INVALID_HANDLE_VALUE=-1 Const PAGE_READWRITE=4 Const FILE_MAP_WRITE=2 Function GetBSTRPtr(ByRef sData) Dim pSource,pDest pSource=oApi.lstrcat(sData,"") pDest=oApi.lstrcat(GetBSTRPtr,"") GetBSTRPtr=CLng(0) oApi.RtlMoveMemory pDest+8,pSource+8,4 End Function Sub SetShared(ByRef sVar) oApi.RtlMoveMemory lMapView,GetBSTRPtr(sVar),LenB(sVar) End Sub Dim oApi,hFile,sSharedSpace,lMapView Dim sTest sSharedSpace="ACME" Set oApi=CreateObject("DynamicWrapper") oApi.Register "kernel32.dll","CreateFileMappingA","f=s","i=hlllls","r=h" oApi.Register "kernel32.dll","MapViewOfFile","f=s","i=hllll","r=l" oApi.Register "kernel32.dll","UnmapViewOfFile","f=s","i=l","r=l" oApi.Register "kernel32.dll","CloseHandle","f=s","i=h","r=l" oApi.Register "kernel32.dll","lstrcat","f=s","i=ws","r=l" oApi.Register "kernel32.dll","RtlMoveMemory","f=s","i=lll","r=l" hFile=oApi.CreateFileMappingA(INVALID_HANDLE_VALUE,Null,PAGE_READWRITE, 0,4096,sSharedSpace&"") lMapView=oApi.MapViewOfFile(hFile,FILE_MAP_WRITE,0,0,0) sTest="This is an omen999 share test" SetShared sTest Msgbox "Server waiting... " oApi.UnmapViewOfFile lMapView oApi.CloseHandle hFile client.vbs: Option Explicit Const INVALID_HANDLE_VALUE=-1 Const PAGE_READWRITE=4 Const FILE_MAP_WRITE=2 Function GetBSTRPtr(ByRef sData) Dim pSource,pDest pSource=oApi.lstrcat(sData,"") pDest=oApi.lstrcat(GetBSTRPtr,"") GetBSTRPtr=CLng(0) oApi.RtlMoveMemory pDest+8,pSource+8,4 End Function Function GetShared() GetShared=String(58,chr(0)) oApi.RtlMoveMemory GetBSTRPtr(GetShared),lMapView,58 End Function Dim oApi,hFile,sSharedSpace,lMapView Dim sTest 'shared string variable sSharedSpace="ACME" Set oApi=CreateObject("DynamicWrapper") oApi.Register "kernel32.dll","CreateFileMappingA","f=s","i=hlllls","r=h" oApi.Register "kernel32.dll","MapViewOfFile","f=s","i=hllll","r=l" oApi.Register "kernel32.dll","UnmapViewOfFile","f=s","i=l","r=l" oApi.Register "kernel32.dll","CloseHandle","f=s","i=h","r=l" oApi.Register "kernel32.dll","lstrcat","f=s","i=ws","r=l" oApi.Register "kernel32.dll","RtlMoveMemory","f=s","i=lll","r=l" hFile=oApi.CreateFileMappingA(INVALID_HANDLE_VALUE,Null,PAGE_READWRITE, 0,4096,sSharedSpace&"") lMapView=oApi.MapViewOfFile(hFile,FILE_MAP_WRITE,0,0,0) sTest=GetShared oApi.UnmapViewOfFile lMapView oApi.CloseHandle hFile Msgbox sTest Tag: Simple Time function (for you, maybe) Tag: 206859
      • 25
        • Copy all but one file. I am trying to copy all the files form the desktop from one computer to another. The old computer is put in by an input box then inserted into the script. Is it possible to copy all the files in the Desktop folder except for the desktop.ini? Or mayby I'll be lucky and some one will have a script that copies a user profile from one PC to another, without relying on the windows file transfer utility. My script: Set objNetwork = CreateObject("Wscript.Network") strUserName = objNetwork.UserName Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "\\" & strOldName & "\c$\Documents And Settings\"& _ strUserName & "\Desktop\*.*" , "C:\Documents And Settings\" & strUserName & "\Desktop" -------- Thanks TimM Tag: Simple Time function (for you, maybe) Tag: 206857
    • Next
      • 1
        • Finding the lowest OU a user is in Hey I'm pretty new to VBScript. They gave me a book 1.5 weeks ago at work, and told me I had to learn it. Anyway part of the script that I'm working on right now is a login script. The part I'm having trouble with is finding the User's OU. The scripting guys have a script for doing this here. Use the first script on the page. http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct04/hey1021.mspx But when I run the script instead of getting a distinguished name like: CN=kenmyer,OU=Finance,DC=fabrikam,DC=com mine looks more like: CN=RobertParker,OU=Users,OU=Location1,OU=HUB,OU=US,DC=xxxxxx,DC=xxxxx I think the OUs are set as follows: Location1 is a subgroup of HUB, which is a subgroup of US, which is a subgroup of USERS The only one I want is the one is the lowest level group: OU=Location1 I started writing some code to try and filter out the wrong OUs, but as our OU setup is very complicated it would be very sloppy to program, and likely not work on many machines. Any update to AD to could cause the code to break. I stopped doing that and now I am stuck. I'm also pretty new to AD btw. How can I find the lowest OU that a user is in? Tag: Simple Time function (for you, maybe) Tag: 206856
      • 2
        • send mail resolving exchange address list Hi, I'm using this vbscript code in order to send an e-mail message with Outlook 2003 It works fine sending messages to a specific recipient name.surname@company.com My problem is that I want to send a message to an EXCHANGE distribution list and the ResolveAll method doesn't seem able to do that I tried putting LIST or LIST@company.com but the message stay in my Draft folder and I get the error pop-up: "Could not resolve the message recipients" I'm able to resolve LIST from my Outlook client instead Thanks, Nicola Attico ********** Dim rMail Dim oItem Dim ns Dim Sync Set rMail =3D CreateObject("Redemption.SafeMailItem") set Application =3D CreateObject("Outlook.Application") set NS =3D Application.GetNamespace("MAPI") NS.Logon Set oItem =3D Application.CreateItem(0) rMail.Item =3D oItem rmail.recipients.Add "name.surname@company.com" rmail.recipients.ResolveAll strmessage =3D "test" strsubject =3D ("scusate, =E8 una prova di invio mail ad una lista di distribuzione Exchange per un prospect..") rmail.subject =3D strsubject rmail.body =3D strmessage rmail.Send Set Sync =3D ns.SyncObjects.Item(1) Set Utils =3D CreateObject("Redemption.MAPIUtils") Utils.DeliverNow Tag: Simple Time function (for you, maybe) Tag: 206852
      • 3
        • ADODB Recordset / Text field bug... This is driving me nuts!!! I have one text field and one varchar field in my SELECT statement (SELECT * FROM Table...) and only the first line is returning a value from the recordset. For the sake of this example fieldA is text and fieldB is varchar(250). I have the statements: rs("fieldA").Value - I get the value from here rs("fieldB").Value - This is blank (when I *know* there is data in it!) I try it again as: rs("fieldB").Value - This returns a value rs("fieldA").Value - This is blank If I have an Int field or anything else like, rs("IntField").Value, it returns a value like it should no matter where the line is. However, it is not true for a text field. Is this a known bug? Is there a patch / workaround for this? What the FUDGE is going on here!?! Tag: Simple Time function (for you, maybe) Tag: 206851
      • 4
        • ADSI EnableRemoteControl Method This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C7A9A5.90A4DCD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable So I'm thoroughly stumped here. I'm trying to set the Remote Control = properties for active directory users & everywhere I look I find the = following code: Const EnableInputNotify =3D 1 Const EnableInputNoNotify =3D 2=20 Const EnableNoInputNotify =3D 3 Const EnableNoInputNoNotify =3D 4 =20 Set objUser =3D GetObject _ = ("LDAP://CN=3Dtestuser,OU=3D2014,OU=3DSES,OU=3Dstudents,OU=3D01-users,DC=3D= nonprod,DC=3DPSD,DC=3Dlocal") objUser.EnableRemoteControl =3D EnableNoInputNoNotify =20 objUser.SetInfo But when I execute the code I get the following error: C:\Dev\Scripts\EnableRemoteControl.vbs(20, 1) Microsoft VBScript runtime = error: Object doesn't support this property or method: = 'objUser.EnableRemoteControl' I must be doing something wrong, but I can't figure out what it is. Any = ideas? Thanks! ------=_NextPart_000_0006_01C7A9A5.90A4DCD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16441" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>So I'm thoroughly stumped here.&nbsp; = I'm trying to=20 set the Remote Control properties for active directory users &amp; = everywhere I=20 look I find the following code:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT size=3D2><FONT face=3DTerminal>Const EnableInputNotify =3D = 1<BR>Const=20 EnableInputNoNotify =3D 2 <BR>Const EnableNoInputNotify =3D 3<BR>Const=20 EnableNoInputNoNotify =3D 4<BR>&nbsp;<BR>Set objUser =3D GetObject = _<BR>&nbsp;=20 ("</FONT><A=20 href=3D"ldap://CN=3Dtestuser,OU=3D2014,OU=3DSES,OU=3Dstudents,OU=3D01-use= rs,DC=3Dnonprod,DC=3DPSD,DC=3Dlocal"><FONT=20 face=3DTerminal>LDAP://CN=3Dtestuser,OU=3D2014,OU=3DSES,OU=3Dstudents,OU=3D= 01-users,DC=3Dnonprod,DC=3DPSD,DC=3Dlocal</FONT></A><FONT=20 face=3DTerminal>")<BR>objUser.EnableRemoteControl =3D=20 EnableNoInputNoNotify<BR>&nbsp;<BR>objUser.SetInfo</FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>But when I execute the code I get the = following=20 error:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DTerminal = size=3D2>C:\Dev\Scripts\EnableRemoteControl.vbs(20, 1)=20 Microsoft VBScript runtime error: Object doesn't support this property = or=20 method: 'objUser.EnableRemoteControl'</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I must be doing something wrong, but I = can't figure=20 out what it is.&nbsp; Any ideas?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV></BODY></HTML> ------=_NextPart_000_0006_01C7A9A5.90A4DCD0-- Tag: Simple Time function (for you, maybe) Tag: 206849
      • 5
        • MI5 Persecution: Goldfish and Piranha 29/9/95 (5578) I just thought I'd let you know what I've been reading into the "Crusader" spam. I don't want to post this to usenet because somebody might try to tie that in to my posts in some way (someone already has, in uk.misc). First of all, I'd like to ask you to believe that my phone line in my apartment is bugged, and has been for many months. I have moved a couple of times this year, but "they" have faithfully been on my trail. Anyway, let's suppose my phone line is bugged. Now, when I talk to my internet service provider, it's over a SLIP (now PPP) connection. So if you wanted to bug what was said, either you'd listen in over the line and have to decode the transmission, or you could go to the service provider (more difficult) and ask them to decode a particular user's connection. OK, so now they're listening to everything I do over my SLIP/PPP connection. A couple of months ago I was messing around with faking articles through nntp servers and through anonymous remailers. I chose a nice inconspicuous newsgroup for my little tests, something no-one would ever notice. Guess which newsgroup I chose??? Yes, _FISH_!!! or rec.aquaria to be precise And guess what articles I tried to post? Goldfish, Koi carp and, you'll never guess... PIRANHA!!! The goldfish article and the Koi went through, but the piranha didn';t appear. by now you probably think this is too silly for words. But if you look in the papers a few eeks ago you will find John Major, Tonny Blair and Paddy Ashdown sharing a "private joke" about Major's sunburnt goldfish. We haven't had anything about Koi yet (they must be too dull ). Now, sent by someone who clearly knew what they were doing (they chose an Italian backbone site for their launch point) we have many thousands of messages to people all over the globe. All about piranha, and with the punchline "that gives you something to think about, doesn't it?" The way it works is that they're trying to kill two birds with one stone again. I don't knoiw why they should be against these national alliance people, but my interpretation is that they simultaneously try to discredit them, and stem the flow of Corley articles. ================================================================= In article <DFnE55.8tF.0.bloor@torfree.net>, Mike Corley <bu765@torfree.net> wrote: > >John J Smith (J.J.Smith@ftel.co.uk) wrote: > >: b) we do know who you are. Or are you someone else we don't know about? >: You are currently known as "That bloody persistant net nutter, who's >: expanding from uk.misc to the rest of the world". > >I think the point I was trying to make is that I could tell you things >from my personal life, at home and at work, which would add credibility >to my story. But if I named people, then (a) they would object violently >to being included in this shenanigans, and (b) I would be revealing my >identity which would be bad for my personal life and my work life. Of >course some people in my personal life, and at work, do know who "mike >corley" is. But at least we're observing a studied silence for now. :People can always be called "MR X", to save them being named. : :I'm completely perplexed as to what you mean by b). Revealing identity? :To who? And why would this be bad for any part of your life when you :already have a less than respectful reputation here? I'll just enumerate one or two things that I can still remember. Sometime around August/Sept 1992 I was living in a house in Oxford, and coming out of the house was physically attacked by someone - not punched, just grabbed by the coat, with some verbals thrown in for good measure. That was something the people at work shouldn't have known about... but soon after a couple of people were talking right in front of me about, "yeah, I heard he was attacked". Again, one I went for a walk in some woods outside Oxford. The next day, at work, someone said "you know he went to the forest yesterday". I don't want to put details on usenet of what happened because to do so would be to risk it happening again. If you put ideas in peoples' heads then you can find them reflecting back at you, and I don't want that. Also I can't remember that much from three years ago. From november 1992 I started taking "major tranquilizers" and just blotted the whole thing from my mind. >This is a feature time and time again, that the security services >(presumed) get at you by manipulating other people around you to get at >you. If you have their contacts, manpower, resources and technology then >you can do that sort of thing. :But why? Are you a threat? They pretend they "have" to get at me. After the first few weeks they had to find a reason to spy and abuse. You can't abuse someone unless they're in the wrong in some way. What I did "wrong" was to be ill. So it became "nutter" and "monster" and "he's going to attack us" coupled with "ha ha ha, he can't do anything to defend himself, it was so funny". That obvious contradiction within their propaganda is something they blithely ignore. :So, the Security Services never *actually* appear, and you assume that :they get someone else to do your dirty work. This is a bit of a big :logical step, here: That person doesn't like me, or is causing me trouble, :it's not because they've got problems themselves, it must be the "Security :Services". Yes. Because people are infallible. Or is there more? A single source is indicated because of the range of harassment. BBC + Capital + manipulated_public_at_large + set_up_situations, what does that add up to? Add in the technology to carry out the covert spying and the manpower and knowhow to follow you around for five years without being spotted. It smells very much of the security services, because there is no other organization (to my knowledge) which does the things I've seen these people do. Remember, they have deliberately chosen the softest of soft targets to victimize. They purposely chose a mentally ill person who they thought would be likely to kill himself anyway, so that they could get away with murder. And in all likelihood it will have started as a personal vendetta by someone. Who could that be? I don't know, but I can give you some clues. The first possibility (deep breath) is that someone from my college set me up. Six years ago I graduated from university in the UK, during the last year there I was steadily getting more and more ill. I know that I was talking in my sleep; although I don't know what I was saying, it got me a reputation, and if someone from my college talked afterwards to the "wrong" people then that could be the reason for all that has followed. I think that's the strongest contender for source. Directly beneath my room lived another bloke who frequently had his friends round late at night, after the time that I went to sleep. So they could have heard what I was saying in my sleep, and that could have got me the reputation for "talking to myself". What I don't know is why that should have rebounded a year after I left. You'd think it would have happened sooner; it's a bit odd to wait for a year and then start abuse. That leads me to question what in particular happened around May/June 1990 for them to start then. >What I don't know is how it looks from the other side, from the side of >the people who are being manipulated to get at me. On a couple of >occasions I have challenged people to tell the truth of the matter, but >they have alwats ducked the challenge. :Have you ever considered the possibility, that you have made a mistake, and :the people don't know what you are talking about? Yes. I am currently considering the possibility that some people around me know only what is being posted on Usenet, and have not been "contacted" by "them". But I _know_ that others have been contacted. :What words? Are they in common use? Could they be a catchphrase of a :popular comedian?: "Nice to see you, to see you nice"? In England the all-time No. 1 is "nutter". Easter this year, returning home from Clapham police station to report five years of harassment ("we're not saying it's happening and we're not saying it isn't happening"), another "not happening" incident of harassment when a cowardly little slut did her country proud by yelling "nutter, nutter, nutter" in the face of the hated enemy. What can you do about that? You can't yell abuse back in their face, because they know they're supported by their peers, by the media, by the murderers in the security forces. You can't put them down when the fascist establishment is on their side. You can't hit them, because they would deny their abuse, they would deny knowing anything, and bring charges against the "nutter" who attacked them "at random". >You know, you're >passing saomeone, they're hardly going to construct an argument for your >benefit, so they work a word of abuse into the conversation which they >can giggle at. :Abuse such as what? We're all adults here, we can take it. Is this abuse :aimed at you? How can you tell it is? I think I've said already what the words are. Thing is, at any given time the language is consistent. In January everyone's calling you X, then a few weeks later people stop calling you X and start calling you Y. You can tell it's aimed at me, because when people repeatedly say the same words are you walk past, then laugh, you would have to be hard of understanding not to recognize it. >Or they repeat something that's been said somewhere else... the PE thing >being a case in point. PE says it, then other people pick up the refrain. :Remind me who PE is again. PE = "Private Eye" >: >To give you an example, which I mentioned in another posting. In around >: >October 1992, Private Eye ran a cover with the heading "Major's support >: >lowest ever", with John calling to Norma on the cover "come back, Norma". >: >Only one obvious interpretation to that, isn';;t there? I certainly >: >thought so when I saw that cover. Wrongo!! Down the pub with people from work >: >Simon says to phil, "don';t you think it's wrong then?" phil says, "well >: >private eye are usuallyright"..."hislop strikes again.. > >: Erm. Mike? Heeeelllllooo? What are you on about. What is the other >: interpretation then? Norma having an affair? Seems a bit wrong, with the >: heading "Majors support Lowest ever"... > >No, this one isn't obvious , it really does need to be explained. I >certainly didn't understand it when I first saw it. You see, the kernel >of vitriol is in the words "come back". At the time, the themes of >abuse were centred around interpretations of those two words (stretch your >mind a little bit, I don't have to spell it out for you, surely). :You did in your mail item. : :You seem to be scouting about something called a "Double Entendre". The :inference being "Come" = Ejaculation, "Back" = Anus (not the first part :of the body I would have went for, I would have foolishly gone for "Back", :silly old me). : :You see to have picked a sodomy double entendre out of a Private Eye :headline. They are everywhere. The English language has much double :meaning in it, and if you put your mind to it, you could pull a double :entendre out of a randomly chosen page of the bible. So what? >The point is that when Simon pointed it out to Phil, he did recognise >what it meant after a moment's thought... and so did I... and so did the >people who repeated it several times later... so however murky it may >seem to you, that is the meaning they intended it to have... I still don't really know if the meaning was intended when that headline was written, or if it was simply "found" after the fact. The reason I think it might be the former is that I got quite a lot of abuse along the lines of "sound-alike" or "double-entendre" at work, in particularly from Steve. So "double" inevitably came to mean split-personality, "two people in one"; "back" inevitably came to mean "backside", "come" inevitably meant you-know- what, "split" (well, we'd better split now) again you can guess, "bent" (of a similar bent), the list goes on forever. These aren't "nice" double- entendres intended for comedy, they're nasty words to humiliate and cause pain. If I could turn the clock back three years then I would sue my former employers for harassment and I would almost certainly win. I had to take pills after a year of Oxford, so they wouldn't be able to lie their way out of it. Actually, I could still take them to court - the main obstacle being that three years after the fact is a bit late and much of what happened, the details that would be necessary for a case to go to court, has just been obliterated by time. : Smid ============================================== From: flames@flames.cityscape.co.uk (Peter Kr|ger) Newsgroups: uk.misc,soc.culture.british,alt.conspiracy,uk.media,uk.legal Subject: Re: Mike Corley - a (helpful) suggestion Date: Mon Oct 2 05:43:42 1995 In article <812551172snz@objmedia.demon.co.uk>, Snail <snail@objmedia.demon.co.uk> says: >Indeed, I feel that my Usenet access is censored simply because I don't want >to download groups he is partaking in, because of his behaviour. > >I wasn't that bothered, but I am starting to get seriously pissed off >with him. Which takes a lot. Hi Snail This person Corley seems quite interesting for three reasons. I put the following at the end of a post in another thread just to see if he was reading any other threads in uk.media. It seems he is probably not. ----------------------------------------------------------------------- Heres an interesting little story from back in the early days of CCD technology. There was this miniature camera which was designed to fit behind the infrared receiver lens of the remote control system (just beside the IR sensor itself) the camera clocked out the data in 256 lines of 256 pixels from a Fairchild chip and fed it out, a line at a time, into the VBI within the TV set itself. The signal could be picked up remotely from a standard license detector van from where it was stripped out of the surrounding RF signal and relayed back to the TV station where it was displayed as a slowscan monochrome image in a corner of the news readers monitor. 5578 Tag: Simple Time function (for you, maybe) Tag: 206845
      • 6
        • MI5 Persecution: Watch Out, Forger About 27/9/95 (4064) From: ray@ultimate-tech.com (Ray Dunn) Newsgroups: uk.misc,soc.culture.british Subject: Re: An apology from Mike Corley Date: Wed Sep 27 14:20:36 1995 In referenced article, David Wooding says... >Well, Mike Corley might or might not have written the apologies, but I >think not. I thought the following line both witty and imaginative. > >>>It was the razor blades stuffed down between the keys that told me. Corley himself denies posting this "apology", but I'm impressed if it is a forgery. Here's the header of my received email. It looks very genuine except for the fact that postings to newsgroups are directed through demon's mail to news gateway, which is strange. Also the message id is <m0sxbx2-000JEeC@bloor.torfree.net> which seems to be in a different format from previous Corley postings, e.g. <DFJJB3.6Ft.0.bloor@torfree.net The mail seems to have been received directly from mail.torfree.net. One way of telling for sure would be if anyone on the recipient list contacted torfree, but did not publish any complaints on the newsgroups - he would not have had access to their address in that case. >Received: from SpoolDir by ULTIMATE (Mercury 1.20); 26 Sep 95 12:00:14 +0500 >Return-path: <bu765@torfree.net> >Received: from mail.torfree.net by smtp.ultimate-tech.com (Mercury 1.20); > 26 Sep 95 12:00:04 +0500 >Received: from bloor.torfree.net ([199.71.188.18]) by mail.torfree.net > (/\==/\ Smail3.1.28.1 #28.6; 16-jun-94) > via sendmail with smtp id <m0sxbyy-000LXSC@mail.torfree.net> > for <ray@ultimate-tech.com>; Tue, 26 Sep 95 11:31 EDT >Received: from torfree.net by bloor.torfree.net with smtp > (Smail3.1.28.1 #6) id m0sxbx2-000JEeC; Tue, 26 Sep 95 11:29 EDT >Message-Id: <m0sxbx2-000JEeC@bloor.torfree.net> >Apparently-To: bu765@torfree.net, snail@objmedia.demon.co.uk, > ray@ultimate-tech.com, Frank@acclaim.demon.co.uk, > p.marshall@axion.bt.co.uk, me93jrb@brunel.ac.uk, > mikeh@mordor.com, > michael@everyman.demon.co.uk, tim@xara.co.uk, > Alan.Holmes@brunel.ac.uk, uk.misc@news.demon.co.uk, > uk-misc@news.demon.co.uk, uk-media@news.demon.co.uk, > uk.media@news.demon.co.uk, uk.legal@news.demon.co.uk, > uk-legal@news.demon.co.uk, alt-conspiracy@news.demon.co.uk, > alt.conspiracy@news.demon.co.uk, > soc.culture.british@news.demon.co.uk, > soc-culture-british@news.demon.co.uk, > soc-culture-canada@news.demon.co.uk, > soc.culture.canada@news.demon.co.uk >Newsgroups: uk.misc, uk.media, soc.culture.british, soc.culture.canada, uk.legal, alt.conspiracy >From: bu765@torfree.net (Mike Corley) >Subject: Oops! Sorry! >Organization: Toronto Free-Net >X-Newsreader: TIN [version 1.2 PL2] >Date: Thu, 26 Sep 1995 01:23:45 GMT >Lines: 27 >X-PMFLAGS: 33554560 -- Ray Dunn (opinions are my own) | Phone: (514) 938 9050 Montreal | Phax : (514) 938 5225 ray@ultimate-tech.com | Home : (514) 630 3749 4064 Tag: Simple Time function (for you, maybe) Tag: 206842
      • 7
        • MI5 Persecution: Question and Answer 27/9/95 (2550) In article <DFGxnF.Cr8.0.bloor@torfree.net> bu765@torfree.net "Mike Corley" writes: >>> ##: There were also a few other things said at the trial >>> ##: relating to this which I won't repeat here; it was in the papers >>> ##: at the time anyway. This quote and others said by and about this >>> ##: witness were repeating things that had been said by and about >>> ##: me at around that time. When, where and by whom ? Let's have some details that can be checked. I'm not going to repeat them. They're hurtful to me because they contained abuse that was directed against me by someone else at the time and which got picked up and thrown again in the trial. It is a matter of record but I won't repeat it here. >>> PM: >Who's character is being assassinated? It isn't clear from the post. >>> PM: >Are we talking about Grenville Janner? I thought he was a spook >>> PM: >himself? He's certainly able to hold his own on the issue you cite. >>> ##: Mine, mainly. The reason for putting that episode at the top >>> ##: of the posting is that they tried to kill two birds with one stone >>> ##: at the Beck trial - they simultaneously put words into the mouth >>> ##: of their invented "witness" to smear Janner, and repeated exactly, >>> ##: word-for-word, stuff which had been said by and about me. Why would "they" wish to assassinate your character? Well, let's put it this way - just because this is the first time it's happened in this way, from these people, on this scale, doesn't mean that it hasn't happened before, on a lesser scale. At university there were people who quite overtly hated me and would have wished something nasty to happen to me. Because of where I went making the wrong sort of enemies is pretty deadly. "They" would wish to assassinate my character because it had all been done before, and because they knew I would not be able to react in any other way than I'd reacted previously. >>> ##: They invaded my home with their bugs, they repeated what I >>> ##: was saying in the privacy of my home, and they laughed that it >>> ##: was "so funny", that I was impotent and could not even communicate >>> ##: what was going on. Who did this? Our friends on BBC television, >>> ##: our friends in ITN, last but not least our friends in Capital >>> ##: Radio in London and on Radio 1. Please give details of when, where and by whom these comments were made, so that they can be checked. This was four, five years ago... sorry, I don't remember. I can remember individual incidents, words which were repeated by different people at different times in different locations. Around the end of 1992 Private Eye rtan a front-cover with John and Norma Major, with the title "Major's support lowest ever" and John saying to Norma "Come back norma" on the front cover. What can you read in to that? Not a lot, seems like standard fare for PE. The first time I saw it I was in the pub with some people from work. One was expressing doubts to the other (let's call the first one Simon, shall we? and the second one Phil?) about whether what was going on was right. Phil's answer was that if Private Eye was doing it then it must be ok, "they're usually right". A few days later, again near work, there were some students laughing in the street, "Were you COMING BACK later? But I thought you said you were COMING BACK ha ha ha?" Play on words, you see. Not very nice, either. I had start medication soon afterwards. Clever people, these chaps who think up PE titles. Just slightly lacking in any sense of morality. >>> ##: How did they do this? I'll give you an example. About a year ago, >>> ##: I was listening to Chris Tarrant (Capital Radio DJ among other >>> ##: pursuits) on his radio morning show, when he said, talking about >>> ##: someone he didn't identify, "you know this bloke? he says we're >>> ##: trying to kill him. We should be done for attempted manslaughter" >>> ##: which mirrored something I had said a day or two before. >>> ##: Now that got broadcast to the whole of London - if any recordings >>> ##: are kept of the shows then it'll be there. What was the date of the broadcast ? Out of 2 million plus listeners, why should you be the only one that Tarrant was allegedly referring to ? Sometyime in spring 1994. I can't remember the date, I heard the broadcast in the car - I was going into the office from London that day and just happened to snap on the radio, and hey presto! Mr Tarrant gives us the benefit of his excellent understanding. >>> ##: That's exactly what we did. We went to a competent, professional >>> ##: detective agency in London, paid them over 400 quid to debug our house. >>> ##: They found nothing. What was the name of the detective agency and their address ? I don't see why I should tell you that, but they're in Yellow Pages; they're a well-established outfit. >>> PM: >What? Spend a quarter mil. a year to amuse themselves? And why not >>> PM: >change every now and again? Why keep watching you? (Unless you _are_ >>> PM: >doing something, and I don't think you are, though you may have some >>> PM: >deep, dark secret in your past.) >>> >>> ##: See the above. Is there a deep dark secret in your past ? Apart from "it's all happened before in a different way", no. >>> ##: In a couple of cases people have even known my name - when I was in >>> ##: London over Easter somebody (no idea who they were, just some bloke with >>> ##: his girlfriend) called me by name - quite clearly, and my name is >>> ##: distinctive. Is your name truly Mike Corley, or are you using it as an alias ? It's an alias. I'm not English by ethnic origin. If someone manages to pronounce my name as well as that guy did then they must have been really trying. >>> ##: There's a little story behind this. First of all, in 1992 I worked >>> ##: for a company where the people made clear they knew what was going on, >>> ##: first of all directly (the very first evening I was there I went out to >>> ##: the pub with them and the Technical Director said to another guy, >>> ##: "is this the bloke who's been on TV?" "yeah, I think so") Have you appeared, or been reported by name on TV ? When, where and by whom ? No. Never. Not directly. >>> ##: Also, in summer 1992 I went on a trip abroad to Europe by coach, What was the name of the coach company and your date of departure ? It was a national express coach. At dover we boarded a ferry for Holland somewhere. The company that organized the trip went out of business some time ago, so they won't have records of passengers - so we can't get any corroboration from anyone else that way. We tried all that last summer, ran into a brick wall. The other thing is in summer 1992 I was visibly ill, so other people in the party might remember that more than anyone getting at me on the coach trip. >>> ##: >>Yes, this gets me. I think the answer is that I was set up by >>> ##: >>someone. I was very aware when this started back in 1990 that I >>> ##: >>was being painted as a "threat" to which people had to "react" Why were you being painted as a "threat"; is this related to a "deep,dark, secret" ? Aaaarrrrgh. I think I should make clear that that's their created justification rather than the real reason. They started harassing first and then came up with the reasons for it. >>> >>> ##: I think I know who set me up. Who ? Someone who knew me some time ago. Someone who would have been able to talk this little campaign into existence. >>> ##: The bloke can't even control his own mind without medicine. Is this true ? What is the medication and dosage ? Yes, I'm afraid so. Sulpiride, 200mg a day. It's designed to stop people coming up with the sort of ideas you've heard here for the last few weeks. Give him a higher dose!! In the long term it causes tardive dyskinesia, tardive dementia and general nasty stuff to your brain. So it's three years of sulpiride talking to you here. >-- >john heelan 2550 Tag: Simple Time function (for you, maybe) Tag: 206839
      • 8
        • MI5 Persecution: Options 21/9/95 (1036) From: john heelan <john@lorca.demon.co.uk> Newsgroups: uk.misc,alt.current-events.net-abuse,alt.journalism Subject: Re: CENSORHSIP IS IMMORAL, UNJUST AND WRONG Date: Thu, 21 Sep 95 19:17:30 GMT Organization: (Private) Lines: 65 Message-ID: <811711050snz@lorca.demon.co.uk> References: <DF8DMu.Dqu.0.bloor@torfree.net> <43qpdh$iki@news3.digex.net> Reply-To: john@lorca.demon.co.uk X-NNTP-Posting-Host: lorca.demon.co.uk X-Newsreader: Demon Internet Simple News v1.29 You have to admit that Mike is persistent and obviously feels deeply that he is being hounded by the "Security Services" and there is a Conspiracy out to get him personally. If that is true, then we should be concerned; if he is just paranoid, then we should empathise with his sickness. What we should not do is to invite censorship....that just could be implicitly joining in the putative Conspiracy. Let's look at Mike's potential options (and the alleged responses he has received): > 1. Complain to the Police: (their alleged response > "Don't be silly, Sir"; Mike's rationale "They are part > of the Conspiracy") > I don't think the police as an organisation are part of it. They're certainly not the source. The officer I spoke to at Easter clearly didn't know anything about it. And that was at my local police station in London - if anyone in the police knew you would think the people at your local cop shop would. A couple of years ago I had to go into the station after a motoring infraction, the guy I spoke to then said something about "brain like a computer sir" which my suspicions latched on to - (I'm alleged to be a programmer as some people reading this know) - but as per the usual "can';t prove nuthin" and you ask yourself if you're just being stupid suspecting on the basis of a straw > 2. Complain to a Member of Parliament (Mike's rationale: "Can't > because they are part of the Conspiracy") > I could do that actually. But he would probably tell me to go see the police, for which see above. > 3. Make it visible through the UK Press. (Mike's rationale: > "Can't because they are part of the Conspiracy") > They are actually. There's a difference though in the way journalists react to this stuff when they're "got to" by the security service. This is completely giving the game away, but the trouble originally started with my reading into stuff that was being written by Times columnists, in particular our antagonistic friend Mr Levin. But you see that some journalists are taking part in the conspiracy and others are only doing it because their puppet masters have been feeding them information which they can't allow themselves to ignore. The security services have their hooks into the UK media, this case shows that very explicitly. You also see how things get gradualkly wqorse with a particular journalist; a couple of weeks ago Peter Tory in the Express was writing about "nerds seeking their revenge on him through the Net", guess what that was about. > 4. Complain to the UK Security Services. (Mike's rationale: "Can't > because they ARE the Cnspiracy") > Quis custodiet ipsos custodes? If the fascist Gestapo bastards plot to see you dead then who's going to deal with it? Not the security services, that's for sure. > 5. Make it visible through Internet: (Mike has done this > suvccessfully; but any gainsayers are "part of the Conspiracy". > I don;t think you';re part of the consipracy if you refuse to believe or email the postmaster. Those who do know are keeping their silence. > 6. Complain to the Canadian National and State Governments. (Has > Mike done this yet ?) > No. It's a UK problem so that's where it should be dealt with. The perpetrators are UK residents, are unidentified, and would be difficult to deal with through the Canadian courts. Ditto the police in Canada, ditto the press - it isn't their problem, it's caused by UK people against someone from the UK. Of course Canadian laws are being broken relating to harassment and "stalking" which do not exist in the UK, but the Canadian police do not have a very good record of enforcing those laws anyway. > 7. Complain to the Canadian Security Services (Has Mike done this > yet ?) > > 8. Complain to the Canadian Press. (Has Mike done this yet ?) > I think if they didn't knoiw, they'd just think you were having delusions; and if they did, then they would side with the people with the power, the smiling English people with their knives out. Remember, nobody uis going to side with the person who has less power in a copfrontation. The team over here in Canada have the resources of their organization behind them, other broadcasters etc in the UK would have influence with their counterparts in Canada; after all, this was once a British colony, there is still a feeling of "looking up to" the UK among many Canadians, so if a team of security services arrives from the UK with apparently limitless resources to pursue their target, people over here will forget anything they ever knew about basic human rights and go along with what they are told to do and how they are told to behave. > 9. Complain to non-UK TV Watchdogs (Does Canada have an "Oprah > Winfrey ? Has Mike done this yet ?) > > 10. Complain to the EC Court of Human Rights. (Has Mike done > this yet ?) > > ........or...are 6,7,8,9,10 also all part of > the Conspiracy ? > > > > -- > john heelan 1036 Tag: Simple Time function (for you, maybe) Tag: 206836
      • 9
        • How do I add error control to this script? How do I add error control to this script, "If Err.number <> 0 Then" doesnt seem to work! I also want to log that "The user was removed" or "The user doesnt exist" in a log file Plz help I've spent 6 hours trying to this Const ForReading = 1 ' Open the csv file for reading Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile _ ("C:\Documents and Settings\All Users\Desktop\admin\VBScript\APM.csv", ForReading) ' Read the file one line at the time Do Until objFile.AtEndOfStream strLine = objFile.ReadLine arrFields = Split(strLine, ",") For i=0 To UBound (arrFields) strName = arrFields(i) ' Bind the locale administrator group Set objGroup = GetObject("WinNT://" & strName & "/Administrators") ' Add the name of the user / group who should be removed For Each objUser In objGroup.Members If objUser.Name = "xxxxx" OR objUser.Name = "yyyyyy" Then objGroup.Remove(objUser.AdsPath) End If Next Next Loop ' Close the csv file objFile.Close WScript.Echo "The users have been removed!" /Mikael Tag: Simple Time function (for you, maybe) Tag: 206834
      • 10
        • VBS to Create an NT4 User in an NT4 Domain Urgent assistance required. Can anyone help with code for creating a new user on an NT4 Domain. I have a script which creates users on the 2003 AD Domain but am struggling to find code which will allow a user to be created on an NT4 Domain. We have an old NT4 domain which still requires new users created hence the reason for the code request. I need urgent help and appreciate any given. Many Thanks Tag: Simple Time function (for you, maybe) Tag: 206833
      • 11
        • Take ownership of directory... Hi, I'm trying to take ownership of a users profile-directory(after the user has been deleted from the AD)... Normally i would take ownership of a file like: Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objFile = objWMI.Get("CIM_DataFile.Name='c:\boot.ini'") objFile.TakeOwnership but if i try to change that to a directory: Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objFile = objWMI.Get("CIM_DataFile.Name='c:\windows'") objFile.TakeOwnership i get an error: "SWbemServicesEx: Not found" on the objWMI.get-line? I've tried everything(except for the right thing;-)): C:\windows C:\windows\ C:\windows\. and doubleslashes... Any hints on how to do this? (or maybe another way to make sure that the profiles directory is "up-to-date") Thanks in advance... Kind Regards Thomas Tag: Simple Time function (for you, maybe) Tag: 206829
      • 12
        • Any VBScript editor/IDE? Hi, Is there any IDE for VBScript? For example, we have a built in IDE in Excel for Visual Basic For Java we have NetBeans or Eclipse or BlueJ For C we have Dev C++ or Quincy. But what about VBScript? Please provide freeware VBSCript IDE websites. Thanks a lot. Tag: Simple Time function (for you, maybe) Tag: 206828
      • 13
        • WMI method for single property Hi all, Could someone tell me, is there a way to directly retrieve 1 property from a namespace, e.g., i want "IdentifyingNumber" from "Win32_ComputerSystemProduct". So far, all the code example I found on the internet always return a collection then I would need to do a "For Each" [ Set colSWbemObjectSet = objSWbemServices.InstancesOf("Win32_ComputerSystemProduct") For Each objSWbemObject In colSWbemObjectSet fDellServiceTag2 = objSWbemObject.IdentifyingNumber Next ] Thanks. Tag: Simple Time function (for you, maybe) Tag: 206827
      • 14
        • TargetPath Problem Hi all - I'm writing a script that updates a shortcut to one of the App we use when we are upgrading versions. Code Snippets sDesktop = "c:\Documents and Settings\trader\desktop" 'sDesktop = oShell.SpecialFolders("Desktop") sPathToOrc = "O:\Orc5.2.15.app\Contents\Windows\Orc.exe" wscript.echo sPathToOrc sShortCutDescription = "Shortcut to Orc" sShortcutPath = sDesktop & "\Shortcut to Orc.lnk" sShortcutBackupDir = "Orc Shortcuts" 'logic to backup old shortcut cut.... wscript.echo ("Creating New Orc Shortcut...") Set oNewSC = oShell.CreateShortcut(sShortcutPath) wscript.echo "Path to Orc " & sPathToOrc oNewSC.TargetPath = sPathToOrc wscript.echo "Target Path " & oNewSC.TargetPath oNewSC.Description = sShortcutDescription oNewSC.Save Now the problem is that the new shortcut Target Path is getting mangled for some reason - you can see it in the output below. O:\Orc5.2.15.app\Contents\Windows\Orc.exe Found Orc Shortcut: Shortcut to Orc.lnk Copying Shortcut to Orc.lnk to c:\Documents and Settings\trader\desktop \Orc Shortcuts\2007-06-08_085515-Shortcut to Orc.lnk Deleting Shortcut to Orc.lnk Creating New Orc Shortcut... Path to Orc O:\Orc5.2.15.app\Contents\Windows\Orc.exe Target Path O:\Orc5.app\Contents\Windows\Orc.exe c:\windows\system32\cscript exited on desk15-big with error code 0. Its dropping the 2.15 - why is this happening? It works fine on my local machine, but when I run it from my machine on the remote PC it gives me problem. I'm running it on a remote machine via psexec. Thanks, Tag: Simple Time function (for you, maybe) Tag: 206819
      • 15
        • Recordset.GetRows() returning nothing? I'm trying to load an Active Directory users list into an array (for data manipulation), but it seem that the GetRows() function have some limitation? I'm saying that, since when I'm doing aUsers = RecordSet.Getrows(), aUsers array stay empty, even if the recordset have more than 2000 fields. Does I'm asking too much memory? Thanks. Claude Lachapelle Systems Administrator, MCSE Tag: Simple Time function (for you, maybe) Tag: 206814
      • 16
        • Can't delete folders/subfolders Howdy- I'm aware of the post-SP2 changes for the Win32_Directory (or Win32_Subdirectory) Delete methods (where you can't delete a directory if a subdirectory exists), but still can't seem to successfully do what I want - which is delete user profiles from remote machines using WMI & VBScript. Even if I copy/paste the code in: http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0405.mspx and run it against a strFolderName like "c:\documents and settings\joeuser", I usually end up with a (null): 0x80041017 error in the line reading: For Each objFolder in colSubfolders (or For Each objFolder2 in colSubFolders2) and the colSubFolders is set to: Set colSubfolders = objWMIService.ExecQuery _ ("Associators of {Win32_Directory.Name='" & strFolderName & "'} " _ & "Where AssocClass = Win32_Subdirectory " _ & "ResultRole = PartComponent") Has anyone found success in using this newer method (enumerating the entire folder tree & then deleting them from the bottom up)? Or found any problems/better ways to do it? Thanks, Brian Tag: Simple Time function (for you, maybe) Tag: 206813
      • 17
        • Renaming Scheduled Tasks and WMI I am creating a scheduled task using WMI. It works fine, creating a task called AT1, with the digit being incremented for the next digit if it already exists. I am able to retrieve the Job ID for the task. My question is, can I rename this scheduled task using VBScript? I only want to schedule the task through a login script if it has not already been scheduled. I know how to check the names but if AT2 is created on one workstation and AT5 on another, how do I know not to schedule the task? TIA Tag: Simple Time function (for you, maybe) Tag: 206811
      • 18
        • set registry value for custom label I'm trying to set a registry value for a custom label which I've exported to a file. This doesn't work: Dim sFilename, wshShell sFilename = "G:\some\path\to\MagLabel.reg" Set wshShell = CreateObject("WScript.Shell") wshShell.Run "regedit /s sFilename", 1, True It also doesn't work if I use the entire path name instead of sFilename. If I manually import the file from regedit, it works beautifully, but not from script. Any suggestions as to how to accomplish my goal is much appreciated. TIA Tag: Simple Time function (for you, maybe) Tag: 206810
      • 19
        • Parameters Hi all, I need to make a script to change CDROM letter and I need to change the pause when windows start (by default 30 seconds). How can do it by script ? Does someone can help me ? Thank you, Olivier Tag: Simple Time function (for you, maybe) Tag: 206803
      • 20
        • Acessing AutoSys global variable via VBScript. Hi everybody, I am very new at both VBScript and just got introduced to AutoSys along with JIL (Job interface language). Following is the problem I am facing: The AutoSys is being run on Windows only. When my VBScript (not Visual Basics) script is run, I will calculate the system time and format the date as required and update a global variable of the AutoSys with the formatted date. Now, the problem is, when I update the global variable of AutoSys (i.e. GLOB_VAR), this is the scenario: The global variable (GLOB_VAR) resides on a table belonging to AutoSys which holds only global variables. I was told that I have to use JIL (Job Information Language) commands in order to run commands from my script to update the global variable BUT... the JIL is only run from command prompt. In specific: How can you issue commands from your VBScript to get value of a global variable or to update the value of a global variable given the above scenario? NOTE: We are using SQL Databases. I apologize if I provided too much or too little detail. If more information is required, please let me know. Tag: Simple Time function (for you, maybe) Tag: 206801
      • 21
        • Scheduled task Ok I have a sheduled task that runs from a script as long as I do not specfiy the user name. But due to some restrictions in security I have to run this task from a script with the user name built in. Set ws= CreateObject("WScript.Shell") ws.Run ("SCHTASKS /Run /S Comp1 /U username /P password /TN task") But if I remove the switches /S /U and /P it works perfect, does any one have any ideas on how to make this run? And yes I know that it's never a good idea to put this stuff in a script but thats the way the boss wants it. maybe from a batch file, maybe from thin air, I am going nutts trying to figure it out. Thanks for the help. -- Thanks TimM Tag: Simple Time function (for you, maybe) Tag: 206799
      • 22
        • Simple Date Script returning Wrong Day of Week I am puzzled, a simple date script to return the present date and the day of week is returning the wrong day of week. ##################SCRIPT-START################ Wscript.Echo Month(Now) & "/" & Year(Now) Wscript.Echo WeekDayName(Day("6/7/2007")) ##################SCRIPT-END################## When I run this script I get the following info back: #################SCRIPT-OUTPUT################ D:\Scripts\>cscript time.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. 6/2007 Saturday D:\Scripts\> #################SCRIPT-OUTPUT-END################ Has anyone seen this before? Tag: Simple Time function (for you, maybe) Tag: 206798
      • 23
        • Iterating through the Child nodes of a Child Node Hello; I'm trying to iterate through the sub nodes of a child node, but I'm getting a compile error on the 2nd For...Next expression saying it is invalid. Using the below code, the HasChild() statement is "true" when the 3rd item is reached so I know there are child elements below it. A debug watch on the "SET oNodeList2 statement" shows that there is a list present at run-time. What is wrong with the code on the FOR..NEXT statement? Thanks, Gregg set oNodeList = root.childnodes i = 0 i2 = 0 For Each Item In oNodeList i = i + 1 if i < oNodeList.length then msgbox "Listing the EXISTING nodes" MsgBox oNodeList.item(i).nodename & " " & oNodeList.item(i).nodevalue & " " & oNodeList.item(i).nodetype If oNodeList.item(i).hasChildNodes() then MsgBox oNodeList.item(i).nodename & "has child nodes" 'set oNodeList2 = root.getelementsbytagname(oNodeList.item(i).nodename) set oNodeList2 = oNodeList.item(i).childnodes i2 = 0 For Each Item In oNodeList2 i2 = i2 + 1 MsgBox oNodeList2.item(i).nodename & " " & oNodeList2.item(i).nodevalue & " " & oNodeList2.item(i).nodetype If oNodeList2.item(i).hasChildNodes() then MsgBox oNodeList2.item(i).nodename & "has child nodes" end if Next end if end if Next *** Sent via Developersdex http://www.developersdex.com *** Tag: Simple Time function (for you, maybe) Tag: 206797
      • 24
        • Client printing to old print server I have an old print server named "x" I need any clients printing to the old server X to (1) Deleted their connections (2) Map to the new print server. (3) This applies to even printers mapped that are not default printers too. Script thus far: On Error Resume Next Dim strCaption, strComment, strName, strDeviceID, strComputer Dim strStatusAdd, strStatusDelete, strDefaultPrinter, strSetDefaultPrinter, strTempPrinter Const ForWriting = 2 Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 sComputer = "." Set WshShell = WScript.CreateObject("WScript.Shell") Set WshSysEnv = WshShell.Environment("PROCESS") Set ws = wscript.CreateObject("Scripting.FileSystemObject") logfile = WshSysEnv("TEMP") & "\" & "changeprt-status.log" arrComputers = Array(sComputer) strNewServer = "y" strOldServer = "x" blnDeleteNonExistentOldPrinter = true silent = 0 ' 0 = verbose, 1 = silent Set l = ws.OpenTextFile (logfile, ForWriting, True) If silent = 0 Then strResult = MsgBox("This will attempt to map printers from " & strOldServer _ & " to " & strNewServer & ". This process takes approximately 1 minute." & vbcrlf & vbcrlf _ & "You will not see any output during this time until the script has completed." & vbcrlf & vbcrlf _ & "Continue?",68,"Printer conversion script") If strResult = 7 Then l.writeline Now & " - User aborted printer conversion script." wscript.quit End If For Each strComputer In arrComputers l.writeline "---------------------------------------------------------------------------" l.writeline "Relocate printer script - " & vbcrlf & Now & vbcrlf & "Computer: " & strComputer l.writeline "---------------------------------------------------------------------------" l.writeline Now & " - Starting change printer script" l.writeline Now & " - Converting local printer queues from " & strOldServer _ & " to " & strNewServer l.writeline Now & " - Delete