Fixer Blog

Curtis Mohan's weblog.

Friday, August 21, 2009

SysInternals PortMon - "Error 6" Workaround

I was trying to use the SysInternals Portmon utility at work today, but it kept failing with the highly useful "Error 6" message. The error appeared when I tried to select a Windows XP PC for monitoring.

Searching around various forums, I noticed that some other people encountered this error, but I found no solution.

My own Workaround is this:
Run Portmon under an Administrator Account. Once.

I think that this tool needs to install some kind of 'hook' in the system so it can monitor the serial port. User accounts would not have the permissions to install this hook. After I ran this tool under the Administrator account one time, it ran under a less privileged account quite happily.

Hopefully this post will find its way through search engines to help some other techies. Please drop me a line if this helped you!

Labels: , ,

20 Comments:

Anonymous Anonymous said...

Thank you for the advice, which perfectly healed the problem. I had the same problem, but Google hit your helping hint.

12 October, 2009 05:09  
Anonymous Anonymous said...

Also most grateful, saved me some head scratching!

24 February, 2010 05:30  
Anonymous Anonymous said...

Thanx, this fixed things for me also!

27 February, 2010 07:14  
Anonymous Anonymous said...

Helped me, too.

14 May, 2010 18:44  
Anonymous chris said...

thanks soo much google found you and you answered my question

10 June, 2010 22:19  
Anonymous Anonymous said...

Me too, dank joe vely much!!

12 August, 2010 07:13  
Anonymous Anonymous said...

Well, no luck for me, now it says "error 0"

08 September, 2010 22:27  
Blogger Srinivas Muthadi said...

Thanks for the workaround. :)

Srini

18 November, 2010 07:26  
Blogger Srinivas Muthadi said...

Thank you for the useful post. :(

18 November, 2010 07:27  
Anonymous Anonymous said...

Awesome workaround.

29 January, 2011 00:56  
Anonymous Anonymous said...

Worked for me on W2K3 server. Thank you!

21 March, 2011 15:38  
Anonymous Laurana said...

google brought me here:
Also works for Win7 Pro 32bit for local connection

thx

11 April, 2011 10:48  
Blogger Unknown said...

Tried this, but instead error 6 got error 2.:) W7 home prem.-64bit

19 April, 2011 02:50  
Blogger John said...

Works on Windows Vista. Strange fix, but glad you found it. I never would have.

02 June, 2011 18:29  
Anonymous Anonymous said...

thx

05 June, 2011 10:53  
Anonymous Anonymous said...

thanks, solved the problem for me too!

03 October, 2011 05:31  
Blogger Juozas said...

Thank you. Your post was helpful.

08 January, 2012 10:56  
Anonymous Marcos V. said...

Worked for me Vista 32bit. Thanks

15 January, 2012 02:26  
Anonymous Wolfgang said...

If you are getting Error 2, then you are working a 64bit Window operating system. PortMon does not work on 64bit!

20 April, 2012 07:04  
Blogger Curtis Mohan said...

@Wolfgang, thanks for the good information on SysInternals Portmon Error 2!

23 April, 2012 23:54  

Post a Comment

<< Home