Jump to content

Writing to event logs


Recommended Posts

I don't know if i or anyone else has mentioned this, but one idea for your unattended install could be to write to the event logs. You could add an event log when setup is done, or you could write event logs as software, registry hacks, etc are installed.

write to event log:

eventcreate /t information /id 12 /SO Gosh /l application /d "gosh golly"

That'll write to the appications event log with title Gosh and message gosh golly.

You could add this in your scripts. For example if there's any errors running a script you could put the error in the body of an event log.

-gosh

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...