Run: command runs every time
Runonce: command runs one time and the registry is then removed
Active setup: runs one time per user logging in, can be configured to run once again by increasing the version value
Run and RunOnce Registry Keys
https://learn.microsoft.com/en-us/windows/win32/setupapi/run-and-runonce-registry-keys
We cannot run RunOnce / active setup in windows two times.
Check this case for more information
Need Active Setup to run on every logon
https://www.itninja.com/question/need-active-setup-to-run-on-every-logon
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.