How to use RUNOnce
Hi
I have an application that needs a reboot and a script needs to run after the Reboot.I need to know how to use the Run Once to execute the same?
I have an application that needs a reboot and a script needs to run after the Reboot.I need to know how to use the Run Once to execute the same?
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
MSIPackager
15 years ago
It's pretty self explanitory.. have a look at exsiting examples in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run on your day to day workstation.
Only difference with RunOnce is that the entry is automatically deleted after it's been executed.
Not sure if you can have RunOnce per-user but depending on what your script is doing - ActiveSetup might be a better solution.
Regards,
Rob.
Only difference with RunOnce is that the entry is automatically deleted after it's been executed.
Not sure if you can have RunOnce per-user but depending on what your script is doing - ActiveSetup might be a better solution.
Regards,
Rob.
Posted by:
Star
15 years ago
Posted by:
Star
15 years ago
Posted by:
Star
15 years ago
Posted by:
turbokitty
15 years ago
Posted by:
anonymous_9363
15 years ago
Posted by:
Ksuekihlman
12 years ago
ORIGINAL: VBScab
how? can you quote an example?Can you use Google? Come on....
Did it ever occur to you that Google might be how he ended up here?
Some people are still trying to learn this stuff. "Can you use Google? Come on..." doesn't answer anything. If you don't want to help someone...say nothing. Basically what you did, but with less typing.
I know, the post is ancient...but it still came up in Google.
Did you get the point yet? Or will you have to Google it?
Posted by:
kardock
12 years ago
ORIGINAL: Ksuekihlman
ORIGINAL: VBScab
how? can you quote an example?Can you use Google? Come on....
Did it ever occur to you that Google might be how he ended up here?
Some people are still trying to learn this stuff. "Can you use Google? Come on..." doesn't answer anything. If you don't want to help someone...say nothing. Basically what you did, but with less typing.
I know, the post is ancient...but it still came up in Google.
Did you get the point yet? Or will you have to Google it?
wow, a new member who is giving a lesson to VBScab, who has 8454 posts...
priceless!
Posted by:
anonymous_9363
12 years ago
Did it ever occur to you that Google might be how he ended up here?Actually, he wouldn't have ended here, in this forum, but in the rather good article on Active Setup which has been the top hit on Google for the search term 'active setup' for as long as I can remember. If that article didn't provide the answer then, frankly, the OP should give up.
As to the time lag, to my mind, you were probably searching for the answer yourself. Did you ignore the top hit? Any of the next 4 or 5 hits would have provided what you (and the OP) needed.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.