PAL not working with restricted account

Listen with webReader
Published 10 September 08 04:29 PM | Johan Hedberg

Just thought I'd post this since I couldn't find a concise hit myself when searching for it. I'm using the PAL (Performance Analysis of Logs) tool in a restricted environment where my default user isn't an administrator. In certain scenarios this will cause PAL to fail. The definition of certain in my case is when the LogParser CSVInMaxRowSize registry key is too low, causing PAL to want to write a new value, on line 173: WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Log Parser\CSVInMaxRowSize", iRowSize, "REG_DWORD". The error message that PAL will display in its Command window is: C:\Program Files\PAL\PAL v1.3.3\PAL.vbs(173, 9) WshShell.RegWrite: Invalid root in registry key "HKLM\SOFTWARE\Microsoft\Log Parser\CSVInMaxRowSize".

I "solved" this by running PAL (the call to CScript that is) as an administrative user, since I had that option. I guess smaller (less counters collected) logfiles than mine would not get this error, as would situations where the LogParser maximum row size is already set to a large enough value.

Filed under: , ,

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

This Blog

News

    Messenger

    Twitter Updates

      Follow me on twitter

      Visitors

      Feedburner Subscribers

      Locations of visitors to this page

      Disclaimer

      All material is provided AS IS voiding any thinkable or unthinkable effect it might have for any use whatsoever. There... is that clear enough ;)

      Pages

    Syndication