Unable to write to wsh.log. Please check with your administrator. 

On Windows 95/98 and Windows Millennium Editions, you are calling the method LogEvent(), but it fails because the wsh.log file is locked.

To correct this error

  • Unlock the wsh.log file if you the proper permissions or consult your system administrator.

See Also

Reference

LogEvent Method