Sysmon ActiveX "Relog()" method not working properly

The "Relog()" method of the Sysmon ActiveX seems not to be working properly. Windows 7 + IE 11 + Sysmon.ocx v. 6.1.7601.17514
I have a (local) HTML document with an embedded Sysmon (System Monitor Control) ActiveX that has 1 counter added + a log file in TSV format located in a local network SMB Share. When I try to use the "Relog()" method, nothing happens and it
does not throw an error. However when you pass an invalid parameter to the "FileType" parameter of the method it throws an "unspecified" error. So, below is the code:
--------------------------------sysmon.htm-------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//BR"><HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft System Monitor">
</HEAD><BODY onload="myf()">
<OBJECT ID="x" WIDTH="100%" HEIGHT="100%"
CLASSID="CLSID:C4D2D8E0-D1DD-11CE-940F-008029004347">
<PARAM NAME="_Version" VALUE="393219">
<PARAM NAME="_ExtentX" VALUE="11430">
<PARAM NAME="_ExtentY" VALUE="8996">
<PARAM NAME="DisplayType" VALUE="1">
<PARAM NAME="ReportValueType" VALUE="0">
<PARAM NAME="MaximumScale" VALUE="100">
<PARAM NAME="MinimumScale" VALUE="0">
<PARAM NAME="ShowLegend" VALUE="-1">
<PARAM NAME="ShowToolbar" VALUE="-1">
<PARAM NAME="ShowScaleLabels" VALUE="-1">
<PARAM NAME="ShowHorizontalGrid" VALUE="0">
<PARAM NAME="ShowVerticalGrid" VALUE="0">
<PARAM NAME="ShowValueBar" VALUE="-1">
<PARAM NAME="ManualUpdate" VALUE="0">
<PARAM NAME="Highlight" VALUE="0">
<PARAM NAME="ReadOnly" VALUE="0">
<PARAM NAME="MonitorDuplicateInstances" VALUE="-1">
<PARAM NAME="UpdateInterval" VALUE="1">
<PARAM NAME="DisplayFilter" VALUE="1">
<PARAM NAME="BackColorCtl" VALUE="-2147483633">
<PARAM NAME="ForeColor" VALUE="-1">
<PARAM NAME="BackColor" VALUE="-2147483633">
<PARAM NAME="GridColor" VALUE="8421504">
<PARAM NAME="TimeBarColor" VALUE="255">
<PARAM NAME="Appearance" VALUE="-1">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="NextCounterColor" VALUE="2">
<PARAM NAME="NextCounterWidth" VALUE="0">
<PARAM NAME="NextCounterLineStyle" VALUE="0">
<PARAM NAME="GraphTitle" VALUE="">
<PARAM NAME="YAxisLabel" VALUE="">
<PARAM NAME="DataSourceType" VALUE="1">
<PARAM NAME="SqlDsnName" VALUE="">
<PARAM NAME="SqlLogSetName" VALUE="">
<PARAM NAME="LogFileCount" VALUE="1">
<param name="LogFileName001" Value="\\computer2\sharedf\test6_000010.tsv">
<PARAM NAME="AmbientFont" VALUE="-1">
<PARAM NAME="LegendColumnWidths" VALUE="0.110294117647059 0.110294117647059 0.355392156862745 0.149509803921569 0.127450980392157 0.127450980392157 0.186274509803922">
<PARAM NAME="LegendSortDirection" VALUE="0">
<PARAM NAME="LegendSortColumn" VALUE="2097272">
<PARAM NAME="CounterCount" VALUE="1">
<PARAM NAME="MaximumSamples" VALUE="100">
<PARAM NAME="SampleCount" VALUE="100">
<PARAM NAME="SampleIndex" VALUE="16">
<PARAM NAME="StepNumber" VALUE="15">
<PARAM NAME="Counter00001.Path" VALUE="\Thread(_Total/_Total)\Elapsed Time">
<PARAM NAME="Counter00001.Color" VALUE="32768">
<PARAM NAME="Counter00001.Width" VALUE="1">
<PARAM NAME="Counter00001.LineStyle" VALUE="0">
<PARAM NAME="Counter00001.ScaleFactor" VALUE="0">
<PARAM NAME="Counter00001.Minimum" VALUE="0">
<PARAM NAME="Counter00001.Maximum" VALUE="45.3125">
<PARAM NAME="Counter00001.Average" VALUE="3.2354797979798">
<PARAM NAME="Counter00001.StatisticStatus" VALUE="0">
<PARAM NAME="Counter00001.Data" VALUE="4.6875 0 0 1.5625 6.25 29.6875 0 1.5625 0 0 31.25 0 0 0 0 0 0 3.125 4.6875 4.6875 0 0 0 0 0 0 0 3.125 45.3125 7.8125 0 1.5625 1.5625 0 0 0 1.5625 28.125 43.75 0 0 0 0 4.6875 0 3.125 3.125 37.5 3.125
0 1.5625 0 0 0 3.125 3.125 3.125 4.6875 0 0 0 0 0 0 1.5625 3.125 4.6875 0 0 0 0 0 0 0 3.125 3.125 1.5625 0 0 0 0 0 0 3.125 6.25 3.125 0 0 1.5625 0 0 0 1.5625 0 0 0 0 0 0 -1">
<PARAM NAME="Selected" VALUE="\Thread(_Total/_Total)\Elapsed Time">
</OBJECT>
<script>
function myf()
x.Relog("c:\\programdata\\test.tsv",5,1);
</script>
</BODY>
</HTML>
---------------------------------------------------------end--------------------------------------------------------------
* The valid values for the sysmon file type parameter are 3,4 and 5. I tried all of them and no error is thrown, but the new log file is also not created, not in the local disk nor in the SMB share which I have full access (including create files of course).
The TSV log file:
-----------------------------------6_000010.tsv----------------------------------------------
"(PDH-TSV 4.0) (Hora oficial do Brasil)(180)" "\Thread(_Total/_Total)\Elapsed Time" "comment"
"05/16/2014 07:47:57.375" "0" "comment"
"05/16/2014 07:47:58.390" "0" "comment"
"05/16/2014 07:47:59.390" "0" "comment"
The TSV log file is loaded successfully. So, what am I doing incorrectly here?
How should I use the "Relog()" method ? Sample needed, if possible, please.
PS: I have also tried renaming the local HTML document to '.hta' just in case a security measure was blocking the method from being executed, but the exact same thing happens.
PS2: I have already read the MSDN article on the Sysmon ActiveX and the "Relog()" method.
Thanks.

I know SysMonFileType for TSV is 4, I just tested the other ones because nothing was happening. When I mean nothing is that the new log file was not being created and no error was being thrown. I got the TSV log code and the HTML document code from Perfmon.
The script code I created myself learning from MSDN. Sorry, but I didnt fail anywhere, I told I read the documentation :
http://msdn.microsoft.com/en-us/library/windows/desktop/aa379757(v=vs.85).aspx sorry for not posting the link.
I just need to know what is wrong with the script portion code, because everything else is doing fine. The log file is read and loaded successfully, but when I try the "Relog()" method passing valid arguments, nothing happens. It is like there was no script
code in there. Maybe a bug
Thank you anyway jrv.

Similar Messages

  • UserPrincipal.IsMember method not working properly

    Hi, I'm using vs2012
    if (!(newAccount.IsMemberOf(group)))
    add newAccount to group;
    newAccount is UserPrincipal and group is GroupPrincipal
    It would evaluate to be false on the first group that the newAccont is already a member of.  If I continue executing and gets Exception error that the object already exsit when it tried to add the newAccount to the group.
    Appreciate some help on how to fix this, thank you.
    Thank you

    Hello laJasmine,
    Based on your error message I found someone has the same error:
    http://stackoverflow.com/questions/12063950/principalexistsexception-is-thrown-but-the-principal-doesnt-actually-exist
    And the problem is the same account exist.
    See the solution from that thread OP:
    "The SamAccountName was what was causing the exception to be thrown (thank you Microsoft for the ever helpful error messages). Anyway, it was the issue because it was trying to set it to a name that already exists. I modified it by tossing in a middle
    initial and it's working fine, or at-least until I get people with the same first initial, middle initial and last name."
    Please consider check whether you have the same name exist and notify when this exception occurs.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • TS1702 When I update to IOS6 on my 4S Facebook does not work properly, the news feed never updates it only says no new storeys and shows a picture of an antenna. When I reset my phone and go back to IOS5 Facebook works fine. What's up with IOS6 ????

    When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my phone back to iOS 5 then it works just fine and I don't have any issues so there must be something wrong with iOS six that isn't letting Facebook load properly

    No I did not use any unauthorized methods for anything, I simply reset my phone back to factory.
    <Edited By Host>

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • ITunes 10.6.3 home sharing not working properly

    iTunes 10.6.3 home sharing not working properly.  I can access with my three ATV2's watch a movie later that same day it tries to access and ATV2 just keeps trying and never gets through to the library.  If I restart iTunes its fine then later can't access.  I am running iTunes 10.6.3 on a i7 Mac Mini with 10.7.4.  Sole job is to be iTunes server and an occasional HTPC with remote buddy running.  I disabled remote buddy ajax remote feature, and file sharing is on so I can load new tracks form other macs Thats it, a vanilla install with all updates.. No problem prior but not sure if problem free period was with 10.6 earler versions or 10.5 versions.  I update as warnings to do so come up.  The remote app has same problem accessing the Home Share.  I disabled home sharing on my iPhone and set to access the old method with 4 digit code and sees all the time and will play to my express base stations so seems to be home sharing issue because iPhone apps with home sharing on and ATV2s have issue accessing.
    I'm never home but when I am I use this equipment loads and this weekend not reliable at all.  I have firewall disabled, and setup is as before and is working fine.  I am using Mini by ethernet and using AEBS 1st generation gigabit as router only wired to cable modem and whole house ethernet attached, latest version AEBS gigabit as a wireless bridge and 2 prior version 11n expresses and a 11g express, all expresses are set to wireless off and are connected to ethernet and then to a stereo in 3 different rooms.
    I can't be only one.  Considering downgrading to last version of 10.5 but not sure how to do this.
    How many of you are having trouble?
    Any resolutions?
    How to report to Apple?
    How to downgrade safely? Or is it 10.7.4?

    I ran into the specific problem in another thread.  There are more than 100 connections from the apple TV's to iTunes.  You can do a netstat -a (windows or Mac), and verify the problem.  iTunes is smart enough to stop allowing more than 100 connections but stupid to allow the ATV to create so many connections.
    Now for what you really want!  Set all of your ATVs to wifi only.  Even setting the iTunes host to wifi might help also.  I think that wifi is more unreliable, and forces connections to drop, keeping the count under 100. 
    I also turned off ip v6.  That could help you also.  I originally had problems on a Mac mini, and built a windows 7 box to try to fix the problem.  The wifi trick worked on both platforms.  Several of us have bug reports into apple.  I have a wired house also, and am very angry to NEED to use slow wifi to overcome this problem.  The ATV gen 3 has been able to keep up with 1080p over wifi, so it doesn't hurt too much.  What really hurts is spending over 40 hours troubleshooting this bug.

  • Browser is not working properly

    default browser is not working properly .....
    closed on few second !!!!!!!
    what the solution?

    Hi and Welcome to the Community!
    Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4?

    I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4? Mac OS X 10.6.8.  17" MacBook Pro

    Use your Software Update under the Apple menu, it SHOULD bring Safari up to 5.1.9 on OS X 10.6.8.
    Apple IS issuing security and other updates for Snow Leopard users.
    OS X 10.4/10.5 need to upgrade, 10.6.8 ok still
    Safari 6+ is only for 10.7+ users as OS X is morphing into iOS.
    10.7 and 10.8 will not run your PPC based apps of 10.5/10.6
    If Software Update is not working, then you have other issues, backup your users folders off the machine to a external storage drive (not TimeMachine!) and run through this list of fixes.
    Most commonly used backup methods
    ..Step by Step to fix your Mac

  • Container Operation not working properly

    Hi,
    In my workflow,  container operation is not working properly sometime.
    I am assigning agents from class attribute to workflow container . sometime the value is not correct.
    scenario: class attribute - WFAGENT - value USABC
    workflow container: WFAGENT_VAR.
    assigning class attribute - WFAGENT to workflow container: WFAGENT_VAR.
    instead of USABC, workflow container WFAGENT_VAR is having value as USWF-BATCH.
    Please suggest.
    Thank you.
    Regards.
    SG

    Hi,
    It is fairly logical to exclude the option that the container operation doesnt not only work but also that it passes on different information all of a sudden.
    In your situation, either the class attribute has the incorrect information at the time of the containeroperation.
    That, or your workflow container gets overwritten with another container operation,or with a binding from method-->container element in some step in your workflow.
    Kind regards, Rob Dielemans

  • One of the key on my macbook pro is not working properly, can it be fixed by a cleaning spray or something. there is lot of dust in where I live and thought that might be the culprit. thanks Jason

    one of the key on my macbook pro is not working properly, can it be fixed by a cleaning spray or something. there is lot of dust in where I live and thought that might be the culprit. thanks Jason

    Don't use any cleaning spray. Wipe with a moist but not wet microfiber cloth.
    1. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own"
    2.Reset PRAM. http://support.apple.com/kb/PH4405

  • My trackpad is not working properly and my battery won't charge

    Hi guys, yesterday my macbook probably suffered electrical shock and now my trackpad is not working properly, it's a bit slow and my battery won't charge. and also ethernet port is not working but wi-fi is , can you help me please ?

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, you may have to take the computer to the Apple store to have the computer and battery checked out.
    Best.

  • Filter and navigation not working properly

    Hi Gurus,
    I have two reports - report1(source) and report2(target) report.
    In report1, it shows two columns - Market_ID, Amount_sold
    In report2, it shows two columns - Market_ID, Reasons(where Market_ID is made prompted)
    In report1, I have made the Value Interaction as 'Navigate' and the target as 'path of report2' in Column properties ->Column Format
    But, when I click on Market_ID(report1), it is NOT showing the details of that particulat Market_ID(report2).
    It is showing the details of whole Market_ID in report2. That means, the filter is not working properly.
    Is there any method in which the report2 shows the details of particular Market_ID which is selected from report1(market_ID)?
    Best Regards,
    J

    yes you can,
    in your source add a master_name column and in that make the navigation.
    in the master_id column go to column format and style options and check the Use Custom CSS style option and type,
    display: none
    now in your source the master_id column will get hidden. in your target make the master_id prompted.
    now click on the master_name in your source, your target will get filtered by the corresponding msater_id
    thanks,
    Karthick
    Edited by: kart on Jun 7, 2010 11:52 AM

  • Flash players not working properly

    hi there, since i have reinstalled my laptop, i am having
    problem watching online videos properly, its like sounds comes
    perfect, the video slows down and even stuck, cant watch whats
    going on in the video. Could you please guide me how to rectify
    this problem. The video streaming is not working properly as the
    sound streaming is fine. Our internet is fine as its been check on
    another Laptop and a Desktop Machine. Kindly reply me back asap.
    Many thanks.
    Regards,

    Hi Harvardbothun-
    I still don't know what "reinstalled my laptop means". Put it
    back on your lap? Humor...arr-arr.
    Anyway, you have Firefox with the latest FP10 plug-in. Have
    you verified this with the "Version Tester"
    http://www.adobe.com/software/flash/about/
    and checked the support pages at
    http://www.adobe.com/support/flashplayer/
    I ask these questions not to be mean, but to verify your
    version and make you aware of the differences between IE FP
    (ActiveX) and FF FP (plug-in). Also... the version checker will act
    funky if you have 2 different FP versions installed, such as your
    XP's OE IE and your added FF. Look in Control Panel, Add/Remove
    Programs. Do you see a previous version of FP there? You may need
    to update your IE's FP as well, it could be conflicting with your
    FFFP.
    Another thing to check.... AVG8's Linkscanner has caused some
    issues, mostly by slowing down site-loading. To test this, turn
    off/diable that feature. Yes, it'll whine about it. (end of part 1)

  • Swipe between pages in Safari not working properly

    Lion works perfectly so far, the only known issue I have is that Gesture in Safari to go Back or Forward does not work properly: Swipe between pages (Scroll left or right with two fingers).
    it means I see the previous page under the actual page, but the task would not complete and it's like something blocking it to turn the pages. I hope you understand what I am saying. Anyone with the same bug? Any solution?
    I've restored safari, cleaned the history and Reset it, restart computer, unselected the gesture option in Preference and activate it again, with no luck.

    I've had the same problem as feri.  Dylanksf described the behaviour best - when two-finger swiping forward and back in Safari, the page moves slightly to the side, then acts as if it "catches" on something before moving further.  The result is it's nearly impossible to swipe back and forward (although the 3-finger swipe still works).  I don't have Flexiglass installed.
    Usually I'm able to solve the problem by doing the following:  (1) open system preferences and select "Trackpad"; (2) go to the "More Gestures" pane; (3) toggle the "Swipe between pages" checkmark and settings; (4) put the settings back to how you want them.
    On some occasions, however, this doesn't seem to work.  In that case, go back to the main System Preferences panel, choose "Universal Access", select the "Mouse & Trackpad" pane, and click on "Trackpad Options...".  Then toggle the checkmark beside "Scrolling" off and back on, and make sure scrolling is set to "with inertia".  This managed to solve my problem when the method above didn't work, and also resolved an issue I was having where the scroll bars were failing to automatically disappear when using the magic trackpad.

  • Replacement battery not working properly

    Hello,
    I have a G72 Notebook and I just recently bought a replacement battery that is not working properly.
    I think that the laptop is just not able to communicate with the battery to find out how much power it has left.
    I'm pretty sure that the battery is taking charge just fine (although the icon says, "plugged in, not charging" because I used it for a couple hours today and it never changed from "41%".
    Right now it says "0%" but continues to power my computer if I unplug it.
    I've tried cleaning the connectors and I've tried uninstalling and reinstalling the battery driver.
    My old battery still charges just fine and works perfectly it just doesn't last more than an hour or so.
    I ordered the replacement battery that it listed on my old battery, but it seems to not snap in quite right.
    It fits in my computer, it just isn't as smooth to snap in as my old one is.  As far as I can tell it's exactly the same except I think some of the little plastic parts have slightly different sizes.
    Thanks for any help!

    Hi
    Try this:
    Disconnect AC
    Shutdown
    Remove battery
    Connect AC
    Startup
    Open Device Manager
    Click the plus (+) sign next to Batteries category, right-click All of the "Microsoft ACPI Compliant Control Method Battery" listings, and select Uninstall In the "Confirm Device Uninstall" dialog box, click OK. (it’s ok if you only have 1 of these listings).
    Click the plus (+) sign next to System Devices.
    Right-click the “ACPI Fixed Features Button" and select Uninstall. In the "Confirm Device Uninstall" dialog box, click OK.
    Shutdown
    Disconnect AC
    Insert battery
    Connect AC
    Startup
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Play/Pause Button Captivate 3 not working properly

    I am using Captivate 3, but my play/pause button is not working properly. I can publish and upload to my LMS, but when I click the pause button the first time the mode changes but the project keeps playing. I have to click two more times and then it works. Can anyone offer any assistance? Thanks so much!

    Hello @Unit_27 ,
    Welcome to the HP Forums!
    Thank you for the information about your keyboard! I'll see what I can do to help
    I think it would be a good idea to take apart the keyboard, or some of it, to determine if the keys are obstructed somehow. Some information on the supported method of cleaning the keyboard is mentioned in this document: Cleaning your Notebook PC
    If this does not resolve the issue, I would reinstall Windows on the computer. The issue at this point would be software related, to some unknown extent. A recovery will address any software issue. First, make sure you backup everything you need to. Here is some information on how to do this: Backing Up Your Files
    Once this is done, it is safe to reinstall the computer. Here is some additional information on how to do this properly: Performing an HP System Recovery
    Please let me know if you have any other questions. Thanks and have a great day!
    Mario
    I worked on behalf of HP.

Maybe you are looking for