Automatically run UVK

Post tutorials and script examples in this forum.
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
FredJClaus
Posts: 323
Joined: Sat Dec 06, 2014 6:21 am

Automatically run UVK

Post 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?
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Re: Automatically run UVK

Post 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.
Jim

It is not "Can it be done?" but rather, "How can we do it?"
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: Automatically run UVK

Post by Fred »

Hi guys.

Can you please tell exactly what shows up?

Thanks.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Re: Automatically run UVK

Post 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.
Jim

It is not "Can it be done?" but rather, "How can we do it?"
FredJClaus
Posts: 323
Joined: Sat Dec 06, 2014 6:21 am

Re: Automatically run UVK

Post 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.
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: Automatically run UVK

Post 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.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
FredJClaus
Posts: 323
Joined: Sat Dec 06, 2014 6:21 am

Re: Automatically run UVK

Post 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
Charger440
Posts: 1529
Joined: Sun May 25, 2014 7:44 am
Location: Missouri

Re: Automatically run UVK

Post by Charger440 »

Add your ftp info :)
Jim

It is not "Can it be done?" but rather, "How can we do it?"
FredJClaus
Posts: 323
Joined: Sat Dec 06, 2014 6:21 am

Re: Automatically run UVK

Post 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.
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: Automatically run UVK

Post by Fred »

Glad that sorted it out for now, guys. I will make <SendReports> work properly in the next update.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
FredJClaus
Posts: 323
Joined: Sat Dec 06, 2014 6:21 am

Re: Automatically run UVK

Post by FredJClaus »

Thanks Fred.
Post Reply