Jump to content


  • 0
slater7607

Allow HTA to write a line to smsts.log?

Question

I'm working on an HTA frontend for our task sequences, starting with a basic computer information one. I had previously used a .vbs that did a wscript.echo command that wrote a line in the log file. However, wscript commands inside of an HTA aren't allowed (https://blogs.technet.com/b/heyscriptingguy/archive/2005/10/31/how-can-i-start-an-application-from-an-hta.aspx?Redirected=true)

 

Is there any other way to pass a line into the smsts.log file from the HTA?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Thanks for the info, I made a small function with some ideas I got from here: https://blogs.technet.com/b/deploymentguys/archive/2010/04/26/exporting-all-sccm-variables-to-a-log-file-for-debugging.aspx?Redirected=true

 

I'm using the _SMSTSLogPath to determine where the TS is writing smsts.log to, do you happen to know if it will take any logs in that folder back to the CCM\Logs folder after everything is done?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.