Tuesday, December 9, 2014

Windows Server 2012: The parameter is incorrect

Problem

You attempt to change the properties of a Windows event log, but every time, after clicking OK, a prompt appears, stating, "The parameter is incorrect."  Though these settings are enabled and editable, they are controlled by GPO.

Solution
  1. On the problematic machine, launch an elevated command prompt.
  2. Execute the command Wevtutil using the appropriate parameters. For example, to set the System log to Overwrite events as needed, you would execute the following:
    wevtutil sl System /rt:false /ab:false
References
Notes
  • The change is implemented immediately.

No comments: