Page 1 of 2
Survive reboot
Posted: Tue Nov 18, 2014 6:33 am
by Charger440
Fred
It seems like pretty regularly UVK does not survive the reboot, I have to go manually launch it. Also when I go to the repair section I have to find the, is it continuerepair file? I forget the name and when I open it it has all the items I wanted to do still checked and I have to go back uncheck the already completed ones.
I thought this issue was address all ready but I can't remember for sure...
I have not tried roguekiller on the newest beta yet but I will get back to you on that and let you know how it works...
Jim
Re: Survive reboot
Posted: Tue Nov 18, 2014 9:22 am
by Fred
Hi Jim.
Yes, this has already been reported, and I thought it was fixed, as it was reported as fixed.
I can tell you exactly how it works, maybe it will help you determine the origin of the issue.
Firstly, UVK exports the current settings to the ContinueRepair.uvksr file in the UVK's directory. This is done only once, before running the selected fixes, and it's only done if more than one fix/app was selected. That is why all the items were still checked when you load that file. It's perfectly normal. See below.
Then, before running each fix/app, UVK checks if it is a third party app, or a fix that's about to be executed. If it is a third party app, then UVK creates a runonce registry entry for the current user as follows:
Key: HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce
Value: *Continue system repair (* means the command should be executed in safe mode).
Data: %ProgramFiles%\UVK - Ultra Virus Killer\UVK_en.exe -ContinueRepair "%ProgramFiles%\UVK - Ultra Virus Killer\ContinueRepair.uvksr" [index]
index is the 1 based index of the currently processed app. UVK will continue the repair operation in the next selected item.
If the repair operation completes successfully, the runonce entry is deleted, and also the ContinueRepair.uvksr file.
This method is pretty straightforward, and should work fine, except for one thing:
RunOnce entries are executed by the windows explorer. When the shell is loaded at user login, explorer.exe reads the pending runonce entries, executes the commands and deletes the entries. The problem is that, if the windows shell process is restarted, explorer.exe will execute any pending runonce entries immediately, and delete those entries. This will not be a problem for UVK, as in this case it just closes before doing anything, but still, the runonce entry was deleted, so UVK would no longer survive reboot.
So, you could check if any of your third party apps restarts the Windows Explorer, and reboots immediately afterwards.
If you are really willing to debug, you can also check out if the whole procedure described above is being correctly executed.
I will test on my side too, and let you know if I find anything unusual.
Re: Survive reboot
Posted: Tue Nov 18, 2014 8:11 pm
by Fred
Jim, I worked all day in the "continue repair after reboot" feature, and it seems to be working fine now. I'm now using a different method: a shortcut in the startup folder. This way, even if the Windows explorer is restarted, there's nothing to worry about.
If you want to give the new beta a shot, just go ahead.
Re: Survive reboot
Posted: Tue Nov 18, 2014 8:21 pm
by Charger440
OK Fred I will try it out.
I was really serious about debugging... I HATE going to a developer and saying "um, your app don't work." Being on that side of the fence the first thing you think is "Well, I'd like to fix it but, what don't work?" Then you start going through stuff and hoping to run across the thing it was that didn't work since that's all the info you got. When ever possible ti like to give as much info as possible
Jim
Re: Survive reboot
Posted: Tue Nov 18, 2014 9:14 pm
by Fred
Well, thanks for being so helpful. Actually I would rather keep the runonce method. It was perfect, if it wasn't for that shell restarting issue. It even worked for safe mode reboots.
Let's see what the future brings out. Thanks again.
Re: Survive reboot
Posted: Fri Apr 17, 2015 12:36 pm
by wmmiller
Damn Fred, you’re fast. I was just about to nip that one. Darn spammers

Re: Survive reboot
Posted: Fri Apr 17, 2015 2:01 pm
by Fred
Yeah Bill, they are stubborn.
Have you noticed they are all from Pakistan?
Re: Survive reboot
Posted: Fri Apr 17, 2015 2:24 pm
by wmmiller
I did notice that. I wonder why so many are.
Re: Survive reboot
Posted: Fri Apr 17, 2015 2:42 pm
by Charger440
Maybe they are all bored over there and this is the way they amuse themselves
By the way Bill, glad to see you back!
Jim
Re: Survive reboot
Posted: Fri Apr 17, 2015 3:11 pm
by wmmiller
Thanks Jim, I appreciate that. I’m doing pretty darn well now. It’s warmer outside here in Minnesota and I'm looking forward to enjoying the summer. It’s going to be busy. Two of our five daughters are getting married in June so there is much to do. I will be wearing the first tuxedo of my life. It’s really weird. I’m a blue jean meat and potatoes common guy so I’m kind of freaked out by the whole thing. But I’m really happy for them and the men they have chosen are great guys. I’m just glad to be alive to see my kids start their own lives and be happy.
Bill
Re: Survive reboot
Posted: Fri Apr 17, 2015 3:26 pm
by Fred
Aren't you overreacting a bit, over there? We all know you're gonna see your grand children get married too...
Re: Survive reboot
Posted: Fri Apr 17, 2015 4:01 pm
by Fred
In case you haven't figure it out, I was just kidding. Congrats, Bill.

Re: Survive reboot
Posted: Fri Apr 17, 2015 4:30 pm
by wmmiller
I knew you were just pulling my leg a bit. Your right though. I plan to be around for some time still. Sometimes the pessimist in me takes over my though process and I analyze things to death. I get it from my father. My wife Jamie always gives me a hard time because I’m a pessimist while she’s an optimist. I think that’s part of why she we get along and were able to raise five girls. When it comes to our girls, if she says “you don’t want to know” I take her word for it and trust she right and shut my mouth.
Bill
Re: Survive reboot
Posted: Fri Apr 17, 2015 4:45 pm
by Fred
Right.

I guess the best would be to find the right point between optimistic and pessimistic. I consider myself optimist, for the most, but I have to confess some things stress me out to the deepest, and then I become pessimist, sometimes.
Re: Survive reboot
Posted: Fri Apr 17, 2015 5:32 pm
by Charger440
Bill
My mother was a pessimist AND "everyone is out to get her." I have spent most of my adult life trying not to be who she "taught" me to be. For the Most part I am a pessimist even though I try really hard not to be. Facebook is really hard on me because I am naturally negative and when I see all the negativity on there it just drags me even lower.... I don't want to be on Facebook but it's like a moth to flame... I just keep getting drug back in and for the most part I hate the comments "people" have on there as it just fuels my already negative attitude that I have struggled with most of my life...
Jim
Re: Survive reboot
Posted: Fri Apr 17, 2015 6:14 pm
by wmmiller
I get it Jim. I don’t do social media. I get drug into political stuff so easy and have strong opinions and find it hard to be civil at times so I just don’t do it. That being said, my girls put Snapchat on my phone when I was in the hospital last week. I do kind of enjoy some of the crazy little things they send me, especially when I get cute ones of my grandchildren. As far as Snapchat goes though I’m a receiver of them but doubt I would ever send one. I’m glad this came up guys; it helps me remember to look for positive things. Thanks for that. Just for fun, here’s a Snapchat of me my youngest daughter sent me when I was in the hospital.
Bill

- Screenshot_2015-04-09-18-35-11.jpg (30.61 KiB) Viewed 12352 times
Re: Survive reboot
Posted: Fri Apr 17, 2015 6:22 pm
by Charger440
Bill
ROFLMAO!!
That's funny
Jim
Re: Survive reboot
Posted: Fri Apr 17, 2015 6:35 pm
by wmmiller
Fred,
Maybe you should close this thread as solved or maybe to crazy.
Re: Survive reboot
Posted: Fri Apr 17, 2015 6:39 pm
by Fred
If I closed it, it would be with the [HILARIOUS] tag.
You're the moderator, not me.

Re: Survive reboot
Posted: Fri Apr 17, 2015 7:21 pm
by Charger440
Yea Bill....
Your the Moderator
Jim