Page 1 of 1

Automatically run UVK

Posted: Sun Nov 22, 2015 3:53 pm
by FredJClaus
I'm playing around and learning. I have found -auto will run most things in my script without any interaction from the user. Some of the things show up on the screen however. Is there a -silent command I could use to stop that from happening?

Re: Automatically run UVK

Posted: Mon Nov 23, 2015 7:11 am
by Charger440
I noticed in your Huskyclean script that only the reports show up. They do go away on their own but it would be good if they didn't show at all.

Re: Automatically run UVK

Posted: Mon Nov 23, 2015 12:29 pm
by Fred
Hi guys.

Can you please tell exactly what shows up?

Thanks.

Re: Automatically run UVK

Posted: Mon Nov 23, 2015 6:55 pm
by Charger440
Fred

The Reports dialog shows up while it's sending the report then goes away when it's done. So, it is automatic but it's not hidden.

Re: Automatically run UVK

Posted: Tue Nov 24, 2015 11:13 pm
by FredJClaus
I have a task scheduled that runs UVK and then does a -readfile "HuskyClean.uvk" -auto. When I do that everything is runs in the background except a couple things.

1. When it's cleaning the Internet Explorer browser, I see the little box that shows it's cleaning (no big deal).
2. When the "Send Reports" part happens, it opens UVK to the reporting screen. When the reports are generated and sent, it closes.

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 11:08 am
by Fred
FredJClaus, the IE cleanup dialogs showing up is controled by the system, can't be changed.

As for sending the reports silently, try replacing

Code: Select all

<SendReports>
with

Code: Select all

<RunWait>
%UVKExe% -SendReports -Auto
That should do the trick.

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 5:30 pm
by FredJClaus
Well the good news is I didn't get the reporting part on the screen when I did a test run of the script. Bad news is I didn't get a report in my email. Did I do something wrong here?

<UVKCommandsScript>
<CreateRestorePoint>
<ResetGroupPolicy>
<ResetNumLockOn>
<ResetPrintSpool>
<ResetCDBurnQueue>
<ResetWLAN>
<CleanAllUsersTemp>
<EmptyBrowsersCache>
<DeleteBrowsersCookies>
<ClearIEHistory>
<ClearEventLogs>
<ClearErrorReports>
<ClearShellCache>
<CleanMSIOrphanFiles>
<CleanupRegistry>
<CleanupJunkFiles>
<RunWait>
%UVKExe% -SendReports -Auto

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 5:36 pm
by Charger440
Add your ftp info :)

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 5:54 pm
by FredJClaus
That was it Jim. I didn't set up in the UVK reporting section how I wanted to report and where to send it.

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 6:39 pm
by Fred
Glad that sorted it out for now, guys. I will make <SendReports> work properly in the next update.

Re: Automatically run UVK

Posted: Wed Nov 25, 2015 7:26 pm
by FredJClaus
Thanks Fred.