Monday, August 13, 2012

ADFS : Problems with wevtutil

 

When you are trying to turn on the debug logging for ADFS and you Google it, you will find some entries that tell you to run wevtutil as follows:

wevtutil.exe sl “AD FS 2.0 Tracing/Debug” /L:5

The problem is that you then get an error:

“Too many arguments are specified. The parameter is incorrect.”

To fix this, run:

wevtutil sl “AD FS 2.0 Tracing/Debug” /L:5

Enjoy!

2 comments:

Anonymous said...

For Windows Server 2008 that command needs to be executed in Power Shell since in Command Promt does not work

Anonymous said...

For Windows Server 2008, this command needs to be executed in Power Shell since in Command Promt does not work.