Survive reboot
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.
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.
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Survive reboot
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
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
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"
Re: Survive reboot
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.
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.
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
Fred
Re: Survive reboot
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.
If you want to give the new beta a shot, just go ahead.
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
Fred
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Re: Survive reboot
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
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
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"
Re: Survive reboot
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.
Let's see what the future brings out. Thanks again.
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
Fred
Re: Survive reboot
Damn Fred, you’re fast. I was just about to nip that one. Darn spammers 

Play stupid games….win stupid prizes
Re: Survive reboot
Yeah Bill, they are stubborn.
Have you noticed they are all from Pakistan?
Have you noticed they are all from Pakistan?
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
Fred
Re: Survive reboot
I did notice that. I wonder why so many are.
Play stupid games….win stupid prizes
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Re: Survive reboot
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

By the way Bill, glad to see you back!
Jim
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"
Re: Survive reboot
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

Bill
Play stupid games….win stupid prizes
Re: Survive reboot
Aren't you overreacting a bit, over there? We all know you're gonna see your grand children get married too...
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
Fred
Re: Survive reboot
In case you haven't figure it out, I was just kidding. Congrats, Bill. 

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
Fred
Re: Survive reboot
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


Bill
Play stupid games….win stupid prizes
Re: Survive reboot
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.

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
Fred
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Re: Survive reboot
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
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
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"
Re: Survive reboot
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
Bill
Play stupid games….win stupid prizes
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Re: Survive reboot
Bill
ROFLMAO!!
That's funny
Jim
ROFLMAO!!
That's funny

Jim
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"
Re: Survive reboot
Fred,
Maybe you should close this thread as solved or maybe to crazy.
Maybe you should close this thread as solved or maybe to crazy.
Play stupid games….win stupid prizes
Re: Survive reboot
If I closed it, it would be with the [HILARIOUS] tag.
You're the moderator, not me.


You're the moderator, not me.


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
Fred
-
- Posts: 1529
- Joined: Sun May 25, 2014 7:44 am
- Location: Missouri
Re: Survive reboot
Yea Bill....
Your the Moderator
Jim
Your the Moderator

Jim
Jim
It is not "Can it be done?" but rather, "How can we do it?"
It is not "Can it be done?" but rather, "How can we do it?"