How can we trigger runonce key and run key with command manually?

Avinash Mundhe 21 Reputation points
2021-03-25T11:26:02.873+00:00

Just like, we can manually trigger Active Setup by executing the following command within the session, e.g. from a logon script: %systemroot%\system32\runonce.exe /AlternateShellStartup , So how can we trigger run and runonce keys manually?

Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
480 questions
0 comments No comments
{count} votes

Accepted answer
  1. Carl Fan 6,851 Reputation points
    2021-03-26T08:36:14.613+00:00

    Hi,
    Have you try to modify the Registry below:
    https://video2.skills-academy.com/en-us/windows/win32/setupapi/run-and-runonce-registry-keys
    https://www.raymond.cc/blog/run-program-only-once-when-windows-is-booted-up/
    Hope this helps and please help to accept as Answer if the response is useful.
    Best Regards,
    Carl

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.